get_staterep_map_data: Get the spatial data to map party vote percentages by county...

Description Usage Arguments Value Examples

View source: R/data-manipulation.R

Description

Get the spatial data to map party vote percentages by county for state legislative elections

Usage

1
get_staterep_map_data(map_id, state = NULL, election_date = NULL)

Arguments

map_id

The ID of the map from meae_maps.

state

The state that the map should display.

election_date

The date to be used when getting the county boundaries.

Value

An sf spatial data frame joined to the election data.

Examples

1
2
get_staterep_map_data("meae.staterepresentative.1796.de.county", state = "DE",
                      election_date = "1796-10-01")

mapping-elections/mappingelections documentation built on July 24, 2019, 9:42 a.m.