Download tract-level ACS data with the standard redistricting variables used throughout the package.
create_tract_table(
state,
county,
geometry = TRUE,
year = 2019,
mem = FALSE,
epsg = 3857
)Two-letter state postal code.
Optional county name or code. If omitted, returns tracts for the entire state.
Logical. If TRUE, include geometry.
ACS year, currently intended for 2009 through 2019.
Logical. If TRUE, use the memoized censable backend.
numeric EPSG code to planarize to. Default is 3857.
dataframe or sf object with one row per tract. Includes population,
voting-age population, and citizen voting-age population summaries by race
and ethnicity.
if (FALSE) { # \dontrun{
# Relies on Census Bureau API
tract <- create_tract_table('NY', 'Rockland', year = 2018)
} # }