powered by
Percentages for the four major candidates by state in the US 2012 presidential elections. It includes congressional districts for Maine and Nebraska.
results_us_election_2012
An object of class "data.frame".
"data.frame"
state. State in which poll was taken. `U.S` is for national polls.
electoral_votes. Electoral votes for that state.
obama. Percent obtained by Barack Obama.
romney. Percent obtained by Mitt Romney.
johnson. Percent obtained by Gary Johnson.
stein. Percent obtained by Jill Stein.
head(results_us_election_2012)
Run the code above in your browser using DataLab