Description Usage Arguments Value See Also Examples
View source: R/county_winner.R
county_winner displays a chloropleth map of United States presidential election results by party on the county level for a given year.
1 | county_winner(Year = 2016, states = c(), label = "candidate")
|
Year |
United States Presidential Election year starting in 2000. |
states |
region to plot. |
label |
legend labels. |
a ggplot map object.
1 2 | county_winner(Year = 2008)
county_winner(Year = 2000, states=c("texas", "oklahoma"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.