county_winner: County Winner

Description Usage Arguments Value See Also Examples

View source: R/county_winner.R

Description

county_winner displays a chloropleth map of United States presidential election results by party on the county level for a given year.

Usage

1
county_winner(Year = 2016, states = c(), label = "candidate")

Arguments

Year

United States Presidential Election year starting in 2000.

states

region to plot.

label

legend labels.

Value

a ggplot map object.

See Also

state_winner()

Examples

1
2
county_winner(Year = 2008)
county_winner(Year = 2000, states=c("texas", "oklahoma"))

bnorthrop/USevolve documentation built on Dec. 31, 2020, 8:56 p.m.