Retrieve US map data
Retrieve US map data
us_map( regions = c("states", "state", "counties", "county"), include = c(), exclude = c() )
regions |
The region breakdown for the map, can be one of
( |
include |
The regions to include in the resulting map. If |
exclude |
The regions to exclude in the resulting map. If |
A data frame of US map coordinates divided by the desired regions
.
str(us_map()) df <- us_map(regions = "counties") west_coast <- us_map(include = c("CA", "OR", "WA")) south_atl_excl_FL <- us_map(include = .south_atlantic, exclude = "FL")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.