1
2
3
4
5
#

Name:

Description:

2016 presidential election and state demographic data

Variables:

A data frame with 50 observations on the following 9 variables.

State

State name

Abr

Abbreviation for state name

Income

Per capita income in the state

HS

Percent high school grads

BA

Percent college grads

Adv

Percent with advanced degrees

Dem.Rep

Democratic lean - Republican lean in 2015 Gallup poll

TrumpWin

Trump won the state? (1=yes or 0=no)

Link To Google Sheets:

Rows:

Columns:

Files:

License Type:

References/Notes/Attributions:

Source

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

R Dataset Upload:

Use the following R code to directly access this dataset in R.

d <- read.csv("https://www.key2stats.com/2016_U_S.csv")

R Coding Interface:


Datasets Tag Questions & Instructional Blocks

NumberContentType
No results found.