![]() See -help merge- and -help substr()- if you want to puzzle it out yourself. ![]() Everything from there on depends crucially on the exact structure of your files, but it will involve at least one -merge- and likely the use of the -substr()- function to create 3 digit zip codes from the 5 digit codes. I'd suggest you download the crosswalk file there, import it to Stata (it's an Excel file: -help import excel-). I have not used this file, and I don't know how it handles the many-to-one feature of the county-zip relation. This purports to offer a zip to county "crosswalk," which is what you need. Further, 3-digit zip codes (have not heard of these before), as broader units, will presumably *commonly* have more than one county within them.Ī bit of ordinary searching on /"zip code" counties overlap/ revealed the following: zip code can include areas in more than one county, so I'm not sure how you would want to handle that. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |