Skip to content

Releases: pdil/usmapdata

usmapdata 0.3.0

17 May 19:19
af13ccd
Compare
Choose a tag to compare

Full Changelog: v0.2.2...v0.3.0

usmapdata 0.2.2

08 Mar 19:08
0ba63b9
Compare
Choose a tag to compare

Improvements

  • Improve language in DESCRIPTION and minor documentation, see Issue #19.

Bug Fixes

  • alaska_bbox() and hawaii_bbox() now output correct sf type (sfc polygon).

Full Changelog: v0.2.1...v0.2.2

usmapdata 0.2.1

05 Feb 02:28
c6f09d9
Compare
Choose a tag to compare

This update continues the sf migration by setting the as_sf parameter to default to the behavior of TRUE. This parameter no longer has any effect, as explained below. The next phase will involve updating usmap to no longer make use of this parameter, in which case it can be completely removed.

Removed

  • The as_sf parameter is now deprecated and no longer has any effect.
    • As part of this removal, the default behavior for us_map(), centroid_labels(), and fips_data() is equivalent to as_sf = TRUE which is to return their data as an sf object (see 0.2.0 release notes for more details).
    • This parameter will be completely removed in a future version but continues to exist for compatibility reasons.
  • Legacy .csv files containing mapping and FIPS data have been removed, greatly reducing package size.

Full Changelog: v0.2.0...v0.2.1

usmapdata 0.2.0

12 Jan 18:59
0cd51b7
Compare
Choose a tag to compare

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

usmapdata 0.1.2

11 Dec 17:01
d069a4a
Compare
Choose a tag to compare
  • Add fips_data function to load raw FIPS data from included csv files.
    • fips_data(), fips_data("state"), or fips_data("states") load state FIPS codes
    • fips_data("county") or fips_data("counties") load county FIPS codes

Full Changelog: v0.1.1...v0.1.2

usmapdata 0.1.1

22 Oct 01:03
bb8d28a
Compare
Choose a tag to compare
  • Update package author email and website.

Full Changelog: v0.1.0...v0.1.1

usmapdata 0.1.0

09 Feb 14:20
8dcfdfb
Compare
Choose a tag to compare
  • First release

Main features

  • Contains the us_map function and associated data extracted from the usmap package
  • Will allow future removal of data from usmap package so file size can be reduced greatly.