get_vest: Get Voting and Election Science Team ("VEST") Dataset

View source: R/vest.R

get_vestR Documentation

Get Voting and Election Science Team ("VEST") Dataset

Description

Get Voting and Election Science Team ("VEST") Dataset

Usage

get_vest(state, year, path = tempdir(), clean_names = TRUE, epsg = 3857, ...)

Arguments

state

two letter state abbreviation

year

year any in 2016-2021

path

folder to put shape in. Default is tempdir()

clean_names

Clean names. Default is TRUE. If FALSE, returns default names.

epsg

numeric EPSG code to planarize to. Default is 3857.

...

additional arguments passed to sf::read_sf()

Value

sf tibble

Examples

## Not run: 
# Requires Dataverse API
shp <- get_vest('CO', 2020)

## End(Not run)

christopherkenny/geomander documentation built on Feb. 18, 2024, 7:58 p.m.