The raw data behind the story 'How FiveThirtyEight's 2018 Midterm Forecasts Did' https://fivethirtyeight.com/features/how-fivethirtyeights-2018-midterm-forecasts-did/

forecast_results_2018

Format

A dataframe with 1518 rows representing forecast results (as of December 3, 2018) and 11 variables:

cycle

cycle of the election

branch

branch of the election

race

election forecast for the gubernatorial race

forecastdate

the date of the forecast

version

version of the election forecast

dem_win_prob

the probability of winning for the Democrat

rep_win_prob

the probability of winning for the Republican

category

the predicted political affiliation of the forecast

democrat_won

whether the Democrat won

republican_won

whether the Republican won

uncalled

if a race was uncalled

Source

FiveThirtyEight's 2018 House Forecast https://projects.fivethirtyeight.com/2018-midterm-election-forecast/house/