get_dra | R Documentation |
Gets a dataset from Dave's Redistricting App.
get_dra(state, year = 2020, geometry = TRUE, clean_names = TRUE, epsg = 3857)
state |
two letter state abbreviation |
year |
year to get data for. Either |
geometry |
Default is TRUE. Add geometry to the data? |
clean_names |
Clean names. Default is |
epsg |
numeric EPSG code to planarize to. Default is 3857. |
See the full available data at https://github.com/dra2020/vtd_data.
tibble with election data and optional geometry
ak <- get_dra('AK', geometry = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.