Learn R Programming

fivethirtyeight (version 0.6.2)

hist_senate_preds: How The FiveThirtyEight Senate Forecast Model Works

Description

The raw data behind the story "How The FiveThirtyEight Senate Forecast Model Works" https://fivethirtyeight.com/features/how-the-fivethirtyeight-senate-forecast-model-works/.

Usage

hist_senate_preds

Arguments

Format

A data frame with 207 rows representing US state elections and 5 variables:

state

Election

year

Year of election

candidate

Last name

forecast_prob

Probability of winning election per FiveThirtyEight Election Day forecast

result

`Win` or `Loss`