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.).include now takes precedence over exclude
in us_map().
include and
exclude vectors will be included.as_sf parameter has been completely removed from
us_map(), centroid_labels(), and
fips_data().
usmap nor did it have any
effect if set.usmapdata function calls.Released Saturday, June 14, 2025.
us_map() and
centroid_labels() to data frame instead of tibble.
tibble format is required use
tibble::as_tibble() on the output.Released Thursday, May 22, 2025.
Released Thursday, March 6, 2025.
data_year parameter to us_map(), see
Issue #34.
data_year is not available,
the package will select the next year for which data exists.
us_map(data_year = 2019), 2022 will be used.data_year feature listed above.centroid_labels() now accepts "state" and
"county" as inputs for the regions parameter
like us_map() and fips_data().Released Friday, May 15, 2024.
Released Friday, March 8, 2024.
DESCRIPTION and minor
documentation, see Issue #19.alaska_bbox() and hawaii_bbox() now output
correct sf type (sfc_POLYGON).Released Sunday, February 4, 2024.
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.
as_sf parameter is now deprecated and no longer has
any effect.
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)..csv files containing mapping and FIPS data have
been removed, greatly reducing package size.Released Friday, January 12, 2024.
rgdal, rgeos, and maptools.as_sf = TRUE
to the us_map() and fips_data()
functions.sf package.usmapdata release will be
created.Released Monday, December 11, 2023.
fips_data function to load raw FIPS data from
included csv files.
fips_data(), fips_data("state"), or
fips_data("states") load state FIPS codesfips_data("county") or
fips_data("counties") load county FIPS codesReleased Saturday, October 21, 2023.
Released Wednesday, February 2, 2022.
us_map function and associated data
extracted from the usmap packageusmap package so
file size can be reduced greatly.