Get Harvard Election Data Archive ("HEDA") Dataset

get_heda(state, path = tempdir(), epsg = 3857, ...)

Arguments

state

two letter state abbreviation

path

folder to put shape in. Default is tempdir()

epsg

numeric EPSG code to planarize to. Default is 3857.

...

additional arguments passed to sf::read_sf()

Value

sf tibble

Examples

if (FALSE) { # Sys.getenv("DATAVERSE_KEY") != ""
shp <- get_heda('ND')
}