Skip to content

usmapdata 1.0.0

Latest

Choose a tag to compare

@pdil pdil released this 22 Aug 15:22
· 12 commits to master since this release
8befacb

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_year will include Puerto Rico if desired.
    • us_map() and fips_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

  • include now takes precedence over exclude in us_map().
    • Any items that are in both the include and exclude vectors will be included.

Removed

  • The as_sf parameter has been completely removed from us_map(), centroid_labels(), and fips_data().
    • It was no longer used by usmap nor did it have any effect if set.
    • Any existing code that sets it can safely delete it from usmapdata function calls.

Full Changelog: v0.6.0...v1.0.0