Learn R Programming

Stat2Data (version 2.0.0)

Election16: 2016 U.S. Presidential Election

Description

2016 presidential election and state demographic data

Arguments

Format

A data frame with 50 observations on the following 8 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)

Details

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.