voter_count | R Documentation |
State-level data on federal elections held in November between 1980 and 2014.
voter_count
A data frame with 936 rows and 7 variables.
Year election was held.
Specifies if data is state or national total.
Number of citizens eligible to vote; does not count felons.
Number of ballots cast.
Number of ballots that contained a vote for the highest office of that election.
Overall voter turnout percentage.
Highest office voter turnout percentage.
United States Election Project
library(ggplot2) ggplot(voter_count, aes(percent_highest_office, percent_total_ballots_counted))+ geom_point()+ labs(title = "Total Ballots V Highest Office", x = "Highest Office", y = "Total Ballots")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.