New Features
- Puerto Rico has been added!
- Finally, after years of procrastinating, Puerto Rico has finally been added to the map, see Issue #48.
- All included map files have been retroactively updated to include Puerto Rico, so any valid value of
data_yearwill include Puerto Rico if desired. us_map()andfips_data()both return Puerto Rico in their data sets and it can be included or excluded just like any state (using FIPS, full name, abbreviation, etc.).- Special thanks @dcaud who started this work years ago.
Enhancements
includenow takes precedence overexcludeinus_map().- Any items that are in both the
includeandexcludevectors will be included.
- Any items that are in both the
Removed
- The
as_sfparameter has been completely removed fromus_map(),centroid_labels(), andfips_data().- It was no longer used by
usmapnor did it have any effect if set. - Any existing code that sets it can safely delete it from
usmapdatafunction calls.
- It was no longer used by
Full Changelog: v0.6.0...v1.0.0