zipcode_shapes: Colorado shape files from census bureau

Description Usage Arguments Geographic level See Also Examples

View source: R/zipcode_shapes.R

Description

This function simply wraps tigris::zctas() to grab the zip code shape files for later plotting.

Usage

1
2
3
4
5
6
zipcode_shapes(
  state = "colorado",
  year = 2010,
  ...,
  progress_bar = interactive()
)

Arguments

state

character(1) default 'colorado', passed directly to tigris::zctas()

year

integer(1) default 2010, passed directly to tigris::zctas()

...

passed directly to tigris::zctas()

Geographic level

See Also

Other Data resources: cdc_places(), cdc_social_vulnerability_index(), cell_line_ancestry(), census_tract_zip_crosswalk(), rural_zips()

Examples

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")

seandavi/UCCCReporter documentation built on Dec. 22, 2021, 11:15 p.m.