Learn R Programming

fivethirtyeight (version 0.6.2)

partisan_lean_district: FiveThirtyEight's Partisan Lean

Description

This directory contains the data for FiveThirtyEight's partisan lean, which is used in our [House] https://projects.fivethirtyeight.com/2018-midterm-election-forecast/house [Senate] https://projects.fivethirtyeight.com/2018-midterm-election-forecast/senate and [Governor] https://projects.fivethirtyeight.com/2018-midterm-election-forecast/governor/ forecasts.

Usage

partisan_lean_district

Arguments

Format

A dataset with 435 rows representing votes and 4 variables

state

the state of the vote

district_number

the district_number of the vote

pvi_party

the party of the vote

pvi_amount

the Cook Partisan Voting Index of the vote

See Also

partisan_lean_state