Description Format Details Source
2016 presidential election and state demographic data
A data frame with 50 observations on the following 8 variables.
StateState name
AbrAbbreviation for state name
IncomePer capita income in the state
HSPercent high school grads
BAPercent college grads
AdvPercent with advanced degrees
Dem.RepDemocratic lean - Republican lean in 2015 Gallup poll
TrumpWinTrump won the state? (1=yes or 0=no)
This dataset contains information from all 50 states and the District of Columbia for the 2016 U.S. presidential election. It is similar to Election08 for the 2008 election.
Income data from
https://www.census.gov/search-results.html?q=per+capita+income+by+state&search.x=0 &search.y=0&search=submit&page=1&stateGeo=none&searchtype=web&cssp=SERP
2015 data via American Community Survey
https://en.wikipedia.org/wiki/List_of_U.S._states_by_educational_attainment
from Bureau, U.S. Census. "2011-2015 American Community Survey 5-Year Estimates. factfinder.census.gov. Retrieved 2017-01-19.
http://www.gallup.com/poll/188969/red-states-outnumber-blue-first-time-gallup-tracking.aspx
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.