Gets a dataset from Dave's Redistricting App.
get_dra(state, year = 2020, geometry = TRUE, clean_names = TRUE, epsg = 3857)
two letter state abbreviation
year to get data for. Either 2020
or 2010
Default is TRUE. Add geometry to the data?
Clean names. Default is TRUE
. If FALSE
,
returns default names.
numeric EPSG code to planarize to. Default is 3857.
tibble with election data and optional geometry
See the full available data at https://github.com/dra2020/vtd_data.
ak <- get_dra('AK', geometry = FALSE)
#> Data sourced from Dave's Redistricting <https://github.com/dra2020/vtd_data>.
#> This message is displayed once per session.