Creates a block level dataset, using the decennial census information, with the standard redistricting variables.

create_block_table(state, county, geography = TRUE, year = 2010)

Arguments

state

Required. Two letter state postal code.

county

Optional. Name of county. If not provided, returns blocks for the entire state.

geography

Defaults to TRUE. Whether to return the geography or not.

year

year, must be 2010 at the moment. 2020 to be added once available. 2000 if rereleased.

Value

dataframe with data for each block in the selected region

Examples

if (FALSE) { create_block_table(state = 'NY', county = 'Rockland', geography = F) }