Skip to content

usmap 0.7.1

Latest
Compare
Choose a tag to compare
@pdil pdil released this 21 Mar 23:06
a46949a

Improvements

  • Add citation information to README, see Issue #86.
  • Update map theme to work with new legend behavior in ggplot2 3.5.0.
  • Update provided population and poverty (county & state) data sets, see Issue #88.
    • Previous data sets from 2015 and 2014, respectively have been updated to 2022 and 2021 versions, respectively.
    • The main change (besides numerical values) is that Connecticut now has the correct FIPS codes in the 2022 county population data set. See this Federal Register document for more information. The 2021 county data does not include CT updates yet since the new FIPS codes were not made effective until 2022. Poverty data for 2022 is not available yet so the most recently available data from 2021 is included for now.

Documentation

  • Replace size with linewidth in plot_usmap() documentation, see Issue #89.

Technical Changes

  • Internal usmapdata functions are used for data transformation (i.e. usmap_transform()) values for consistency.
    • This allows the same values used to create the map to be used when transforming external data.
    • Values will now only have to be updated in one place.
    • usmapdata 0.2.2 is now a required dependency because of this change.
  • Continue sf-based map data file migration.
    • Usage of the as_sf parameter in usmapdata function calls has been removed.
    • The parameter will be removed from usmapdata functions in the future.

Full Changelog: v0.7.0...v0.7.1