Re:The New York Times Releases Its Dataset of U.S. Confirmed...
by llimllib on Friday March 27, 2020 @03:11PM
(#22705850)
zip codes span counties and also states. A few are actually in three different states.
(I have suffered at the hands of zip-codes-as-geographic-entities)
Re:The New York Times Releases Its Dataset of U.S. Confirmed...
by pj_mukh on Friday March 27, 2020 @04:02PM
(#22706275)
Right, so a simple mapping I'd want is given a Zip Code, what is the corresponding FIPS Code.
Re:The New York Times Releases Its Dataset of U.S. Confirmed...
by tomrod on Friday March 27, 2020 @05:34PM
(#22707113)
Pick a lat/long, and you can map between. Or find the centroid of the zip code and map accordingly. Or you might consider unions between the geometry objects. Qgis3 has a lot of great packages for this.
ZIP/postal codes are generally smaller (in the county I live in there are almost a hundred ZIP codes). I'm not sure they're even guaranteed to be entirely within one county either. We tend to think of ZIP codes as boundaries but they're actually delivery routes (which if you squint can be converted into boundaries by joining the properties that those routes serve together).
You might be interested in this article: https://carto.com/blog/zip-codes-spatial-analysis/