usmap 0.3.0
Improvements
- Update shape files to 2017 versions.
- Improvements to
fips
and fips_info
:
- Vectorization support (e.g. enter multiple states in
fips
to receive a vector of corresponding FIPS codes)
- e.g.
fips(c("AK", "AL"))
or fips(c("Alaska", "Alabama"))
- Mixed abbreviations and full names are also supported:
fips(c("AK", "Alabama"))
- Improved warning and error messages.
- Allow data to be specified by state abbreviation or full name in
plot_usmap
and map_with_data
(instead of just by FIPS code).
- The data frame passed to
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”.
usmap 0.2.1
Improvements
- Standardize documentation language.
- Improve descriptiveness of error messages and warnings. ### Bug Fixes
- Allow data passed to
map_with_data
and plot_usmap
to contain FIPS codes with missing leading zeros.
- This usually occurs when the codes are read as
numeric
from a .csv
file.
usmap 0.2.0
- Add
map_with_data
function for adding user-defined data to map data.
- Add ability to plot map with data automatically (utilizes new
map_with_data
function).
usmap 0.1.0
Main features
- Retrieve US map data frame for merging with data and plotting
- Lookup FIPS codes for states and counties (reverse-lookup as well)
- Map plotting convenience method (uses
ggplot2
)