File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # ' US Voter Turnout Data.
2+ # '
3+ # ' State-level data on federal elections held in November
4+ # ' between 1980 and 2014.
5+ # '
6+ # ' @format A data frame with 936 rows and 7 variables.
7+ # ' \describe{
8+ # ' \item{year}{Year election was held.}
9+ # ' \item{region}{Specifies if data is state or national total.}
10+ # ' \item{voting_eligible_population}{Number of citizens eligible to vote; does not count felons.}
11+ # ' \item{total_ballots_counted}{Number of ballots cast.}
12+ # ' \item{highest_office}{Number of ballots that contained a vote for the highest office of that election.}
13+ # ' \item{percent_total_ballots_counted}{Overall voter turnout percentage.}
14+ # ' \item{percent_highest_office}{Highest office voter turnout percentage.}
15+ # ' }
16+ # '
17+ # ' @examples
18+ # '
19+ # ' library(ggplot2)
20+ # '
21+ # ' ggplot(voter_count,
22+ # ' aes(percent_highest_office, percent_total_ballots_counted))+
23+ # ' geom_point()+
24+ # ' labs(title = "Total Ballots V Highest Office",
25+ # ' x = "Highest Office",
26+ # ' y = "Total Ballots")
27+ # '
28+ # ' @source
29+ # ' \href{http://www.electproject.org/home/voter-turnout/voter-turnout-data}{United States Election Project}
30+ # '
31+ " voter_count"
You can’t perform that action at this time.
0 commit comments