Download a US regions cartographic boundary shapefile into R
Download a US regions cartographic boundary shapefile into R
regions(resolution = "500k", year = NULL, ...)
resolution |
The resolution of the cartographic boundary file. Defaults to '500k'; options include '5m' (1:5 million) and '20m' (1:20 million). |
year |
the data year (defaults to 2019). |
... |
arguments to be passed to the underlying 'load_tiger' function, which is not exported.
Options include |
## Not run: library(tigris) library(leaflet) us_regions <- regions(resolution = '20m') leaflet(us_regions) %>% addTiles() %>% addPolygons() ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.