Skip to content

usmap 1.0.0

Latest

Choose a tag to compare

@pdil pdil released this 29 Aug 17:11
· 2 commits to master since this release
946b2ee

Introducing usmap 1.0.0! This week we celebrated 10 years since the first commit to this project. It has been quite a ride and usmap has grown greatly over the years. To everyone who has supported the project in any way, either by reporting issues, contributing code, or just using the package in your work, thank you so much.

I'm happy to announce that with this version we have finally added Puerto Rico! This addition has been years in the making and its now available throughout usmap.

New Features

  • Add Puerto Rico support to all usmap functions (where relevant), see Issue #20.
    • All included map years have been retroactively updated to include Puerto Rico, so any valid value of data_year will include Puerto Rico if desired.
    • Functions now return Puerto Rico in their data sets and it can be included or excluded just like any state (using FIPS, full name, abbreviation, etc.).
    • Puerto Rican municipalities will be shown when using "county" map variants.
    • By default, Puerto Rico is not shown when using plot_usmap() unless it is specifically included with the include parameter. This default behavior can be changed by setting the environment variable USMAP_DEFAULT_EXCLUDE_PR = FALSE. Setting this parameter will include Puerto Rico by default when calling plot_usmap() unless specifically excluded with the exclude parameter.
    • Special thanks @dcaud who started this work years ago.

Improvements

  • Improve documentation and vignettes.

Full Changelog: v0.8.0...v1.0.0