I am attempting to create a map of the US showing the following zipcodes and to color it based on count. I have tried ggmaps and chloroplethr but keep getting errors. I think I need to link the zipcodes to geocodes but have not been able to do so. If anyone has any insights, much appreciated.
How to Plot ZipCodes onto a Map of USA using Counts in R
1.7k views Asked by hoodwench At
1
You should try to provide more reproducible code.
Here:
Then I googled for this https://catalog.data.gov/dataset/tiger-line-shapefile-2019-2010-nation-u-s-2010-census-5-digit-zip-code-tabulation-area-zcta5-na
I will recommand that your read: https://geocompr.robinlovelace.net/index.html
If you want to do better mapping check either the tmap or the cartography packages