-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Two AK counties not mapped correctly!? #72
Comments
In 2019 the Valdez-Cordova Census Area in Alaska split into two separate areas (Chugach Census Area and Copper River Census Area) which is what you're seeing there as gray in the map. The population dataset included in the package is from 2015 which is why it doesn't account for those. The map itself should be correct since the shape files were updated in 2020 but I can double-check to make sure. Thanks for bringing this to my attention though, it's probably worth updating the included sample data 😅 |
Yes, so the library appears to handle the latest census counties then correctly, thx. Here's the updated sample code, it seems that
|
Good point, looks like they are missing from |
After some investigation it appears I already added these counties to |
* Added `fips_data` function to load FIPS data from included csv files * Provides cleaner way to load FIPS data in `usmap` package without loading `extdata` file See [pdil/usmap#58](pdil/usmap#72 (comment))
See pdil/usmapdata#4 |
* Added support for `usmapdata 0.1.2` which includes `fips_data()` function for retrieving state and county FIPS codes. * Deleted state and county FIPS files contained in `usmap`. * Files were outdated and now come from single source of truth in `usmapdata`. resolves #72
* Added `fips_data` function to load FIPS data from included csv files * Provides cleaner way to load FIPS data in `usmap` package without loading `extdata` file See [pdil/usmap#58](pdil/usmap#72 (comment))
Describe the bug
Using the built-in county list, and the provided sample population file, I can see that two Alaska counties are not mapped correctly.
Any idea?
To Reproduce
Same happens with:
countypop <- readxl::read_excel("https://raw.githubusercontent.com/pdil/usmap/master/data-raw/countypop.xlsx")
The text was updated successfully, but these errors were encountered: