Download block-level decennial census data with the standard redistricting variables used throughout the package.
Usage
create_block_table(
state,
county = NULL,
geometry = TRUE,
year = 2020,
mem = FALSE,
epsg = 3857
)Arguments
- state
Two-letter state postal code.
- county
Optional county name or code. If omitted, returns blocks for the entire state.
- geometry
Logical. If
TRUE, include geometry.- year
Census year. Intended for decennial years, especially
2010and2020.- mem
Logical. If
TRUE, use the memoizedcensablebackend.- epsg
numeric EPSG code to planarize to. Default is 3857.
