Downloads processed CVAP data for a state. CVAP data is rounded to the nearest 5 so totals may not sum properly, but will be close.
cvap_get(
state,
year = 2023,
geography = "block group",
out_file = NULL,
moe = FALSE,
clean = TRUE
)tibble of data
character. The state to get data for or nation for the nation file.
numeric. Year for the data in 2009 to 2023.
character. Level of geography. Default is 'block group'. See Details.
file to save downloaded rds to
Include margin of error? Default is FALSE.
Should variable names be standardized? Default is TRUE.
Geography options are
'block group': block group level data
'cd': congressional district data (years 2016+)
'county': county-level data
'place': place-level data
shd': state house district data (years 2016+)
'ssd': state senate district data (years 2016+)
'state': state-level data
'tract': tract-level data
'nation': nation-wide data