Skip to content

usmapdata 0.2.0

Compare
Choose a tag to compare
@pdil pdil released this 12 Jan 18:59
0cd51b7

Improvements

  • Update map data to use 2022 shape files.
  • Begin process of upgrading map data to use GeoPackage files instead of csv.
    • Previously the files were created using now-retired packages rgdal, rgeos, and maptools.
    • The new files can be accessed by passing as_sf = TRUE to the us_map() and fips_data() functions.
    • Once the upgrade is complete, this parameter will be removed and the new functionality will be the default.
    • The new map files are smaller in size while maintaining the same resolution.
    • The format of the data also allows for easier manipulation in the future using the sf package.
  • Add scripts to perform automated map data updates, see Issue #5.
    • The scripts will check for new shapefiles from the US Census Bureau twice a year and automatically update the data.
    • The scripts can also be run manually as needed.
    • Once data is updated a new usmapdata release will be created.

Full Changelog: v0.1.2...v0.2.0