This is a replica to the awesome data.fivethirtyeight.com website. Read more here

FiveThirtyEightFiveThirtyEight replica

/election-forecasts-2022

election-forecasts-2022

Links to Files
senate_national_toplines_2022.csv
house_national_toplines_2022.csv
senate_state_toplines_2022.csv
house_district_toplines_2022.csv
governor_state_toplines_2022.csv
senate_seat_distribution_2022.csv
house_seat_distribution_2022.csv
senate_steps_2022.csv
house_steps_2022.csv
governor_steps_2022.csv
joint_probabilities_2022.csv

election-forecasts-2022

This file contains links to the data behind our 2022 Midterms Election Forecast.

senate_national_toplines_2022.csv contains the final national Senate topline on each day. This sheet contains the following columns:

ColumnDescription
cycleCycle this forecast pertains to (2022)
branchKind of race this forecast pertains to (senate)
expressionModel type (lite, classic, or deluxe)
forecastdateDate the model was run
chamber_Dparty, chamber_RpartyChance that each party (D or R) win control of the Senate
mean_seats_Dparty, mean_seats_RpartyAverage forecasted number of seats that each party (D or R) hold in the Senate
median_seats_Dparty, median_seats_RpartyMedian forecasted number of seats that each party (D or R) hold in the Senate
p90_seats_Dparty,p90_seats_Rparty,p10_seats_Dparty,p10_seats_Rparty90th and 10th percentile for the number of seats for each party (D or R)
total_national_turnout, p90_total_national_turnout, p10_total_national_turnoutAverage, 90th percentile, and 10th percentile of national turnout in states with Senate races
popvote_margin, p90_popvote_margin, p10_popvote_marginAverage, 90th percentile, and 10th percentile of popular vote margin (with positive being more Democratic and negative more Republican) in Senate races
simulationsNumber of simulations run
timestampDate and time the simulations were run

house_national_toplines_2022.csv contains the final national House topline on each day. This sheet contains the following additional columns:

ColumnDescription
statesmajority_Dparty, statesmajority_Rparty, statesmajority_nopartyForecasted chances that each party, or no party, controls a majority of state delegations in the house
delegations_Dparty, delegations_Rparty, delegations_nomajorityHow many state delegations each party is expected to control in the house

senate_state_toplines_2022.csv, house_district_toplines_2022.csv and governor_state_toplines_2022.csv contain the final state-level Senate toplines and district-level House toplines on each day. These sheets contain the following additional columns:

ColumnDescription
districtSenate seat corresponding to this row, in the format XX-B#, where XX is the state postal code, B is the branch ("S" for Senate, "G" for Governor and blank for House) and # is the class of the seat being contested
name_D1, name_D2,name_D3,name_D4,name_R1, name_R2,name_R3,name_R4Name of the top four Democrats (D) and Republicans (R) in contention for the seat. Blanks indicate that there are no Democrats or Republicans other than those listed in contention for the seat.
name_I1Name of the top candidate on the ballot that is neither a Democrat nor a Republican.
name_O1Placeholder for model chances for all candidates other than those named in the previous columns.
winner_XX, where XX is one of D1,D2,D3,D4,R1,R2,R3,R4,I1,O1Chance that the correspondingly named candidate wins the seat
winner_Dparty, winner_RpartyChance that the corresponding party, regardless of candidate, wins the seat
tippingChance that this seat is the tipping point for control of the Senate
vpiVoter power index: the relative likelihood that an individual vote in the state will determine control of the Senate chamber
mean_predicted_turnout, p90_simmed_turnout_gross,p10_simmed_turnout_grossAverage, 90th percentile, and 10th percentile of state turnout in this Senate race
voteshare_mean_XX, where XX is one of D1,D2,D3,D4,R1,R2,R3,R4,I1,O1Average voteshare for the correspondingly named candidate
p90_voteshare_simmed_XX, p10_voteshare_simmed_XX, where XX is one of D1,D2,D3,D4,R1,R2,R3,R4,I1,O190th and 10th percentile for voteshare for the correspondingly named candidate
pvi_538Partisan voter index for the state, as calculated by 538
vepTotal voting eligible population in the state
mean_netpartymargin, p90_netpartymargin, p10_netpartymarginMean, 90th, and 10th percentiles of the margin between Democrats and Republicans, where positive numbers are more Democratic and negative numbers are more Republican
won_runoff_XX, lost_runoff_XX, where XX is one of D1,D2,D3,D4,R1,R2,R3,R4,I1,O1Where applicable, chance the the correspondingly named candidate wins in a runoff for the seat

senate_seat_distribution_2022.csv and house_seat_distribution_2022.csv contain the probablity of each distribution of seats for each day's forecast run. These sheets contain the following additional columns:

ColumnDescription
seatsheldnumber of seats held by each party
seatprob_Dpartyprobability that Democrats will hold seatsheld number of seats
seatprob_Rpartyprobability that Republicans will hold seatsheld number of seats

senate_steps.csv, house_steps.csv and governor_steps.csv contain intermediate calculation steps performed in calculating the chance of winning from the polling average in a particular state.

ColumnDescription
candidateA, candidateBFull names of the first and second candidates in the race
displaystepA value from 1-4 indicating the order in which each calculation step is performed
descriptionA description of each step
marginForecasted margin in this step for candidateA - candidateB
lite_weight, classic_weight, deluxe_weightRelatively how much of each forecast that is derived from each component during the calculation of this step

joint_probabilities.csv contains the probabilities of each possible combination of Democratic or Republican control of the Senate and House. This sheets contains the following additional columns:

ColumnDescription
expression_lite, _classic or _deluxe
DsenateDhouse, DsenateRhouse, RsenateDhouse, RsenateRhouseProbability of each possible outcome for Democratic or Republican control of the Senate and House

Files

Data Previews

senate_national_toplines_2022.csv

Loading...

house_national_toplines_2022.csv

Loading...

senate_state_toplines_2022.csv

Loading...

house_district_toplines_2022.csv

Loading...

governor_state_toplines_2022.csv

Loading...

senate_seat_distribution_2022.csv

Loading...

house_seat_distribution_2022.csv

Loading...

senate_steps_2022.csv

Loading...

house_steps_2022.csv

Loading...

governor_steps_2022.csv

Loading...

joint_probabilities_2022.csv

Loading...