Description Usage Arguments Geographic level See Also Examples
View source: R/zipcode_shapes.R
This function simply wraps tigris::zctas()
to grab the zip code shape
files for later plotting.
1 2 3 4 5 6 | zipcode_shapes(
state = "colorado",
year = 2010,
...,
progress_bar = interactive()
)
|
state |
character(1) default 'colorado', passed directly to |
year |
integer(1) default 2010, passed directly to |
... |
passed directly to |
zipcode
Other Data resources:
cdc_places()
,
cdc_social_vulnerability_index()
,
cell_line_ancestry()
,
census_tract_zip_crosswalk()
,
rural_zips()
1 2 3 4 5 6 7 8 | zipshapes = zipcode_shapes()
tmap::tmap_mode('plot')
tmap::tm_shape(zipshapes) +
tmap::tm_fill('ALAND10') +
tmap::tm_borders(col="gray",alpha=0.5) +
tmap::tm_basemap("Esri.WorldStreetMap")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.