state can now be omitted when using fips(). In this case, all available FIPS codes are returned, sorted by state abbreviation, see Issue #28.fips can now be omitted when using fips_info(). In this case, all available states are returned, sorted by state abbreviation, see Issue #28.usmap_transform (if value columns differ), see Issue #32.ggplot2 v3.3.0, see Issue #35.rgdal package.Released Friday, September 13, 2019.
ggplot2::geom_polygon() parameters to plot_usmap(), see Issue #15.
lines parameter. The previous defaults of color="black", fill="white", and size=0.4 are maintained and will be used for any of those parameters that are omitted.ggplot2::geom_polygon() documentation for more information.alpha, colour/color, fill, linetype, sizeexclude parameter in us_map, map_with_data, and plot_usmap, see Issue #19.usmap_transform) to transform longitude/latitude point data frames into coordinate reference system that matches the plotted map, see Issue #21.
usmap_crs() to easily access the coordinate reference system used by the package.us_map(), long and lat have been renamed to x and y, respectively, see Issue #16.
plot_usmap() but will be a breaking change for any code that relies on us_map().Released Sunday, September 16, 2018.
plot_usmap(labels = TRUE)plot_usmap(include = .northeast_region)us_map("counties", include = "TX") or plot_usmap("counties", include = c("AZ", "NM"))fips, see Issue #10.
fips("NJ", c("Bergen", "Hudson"))map_with_data() or plot_usmap() to be preserved.Released Sunday, June 3, 2018.
fips and fips_info:
fips to receive a vector of corresponding FIPS codes)fips(c("AK", "AL")) or fips(c("Alaska", "Alabama"))fips(c("AK", "Alabama"))plot_usmap and map_with_data (instead of just by FIPS code).
plot_usmap or map_with_data (via the data = parameter), can now be a two column data frame with columns “fips” and “values” or “state” and “values”.Released Tuesday, August 15, 2017.
map_with_data and plot_usmap to contain FIPS codes with missing leading zeros.
numeric from a .csv file.Released Saturday, April 29, 2017.
map_with_data function for adding user-defined data to map data.map_with_data function).Released Sunday, January 29, 2017.
ggplot2)