API Access
Access dataset files directly from scripts, code, or AI agents.
Browse dataset files
API Access
Access dataset files directly from scripts, code, or AI agents.
Dataset Files
Each file has a stable URL (r-link) that you can use directly in scripts, apps, or AI agents. These URLs are permanent and safe to hardcode.
/fivethirtyeight/forecast-methodology/
https://datahub.io/fivethirtyeight/forecast-methodology/_r/-/README.md
https://datahub.io/fivethirtyeight/forecast-methodology/_r/-/data/historical-senate-predictions.csv
https://datahub.io/fivethirtyeight/forecast-methodology/_r/-/datapackage.json
Key Files
Start with these files — they give you everything you need to understand and access the dataset.
datapackage.json— metadata & schema
https://datahub.io/fivethirtyeight/forecast-methodology/_r/-/datapackage.json
README.md— documentation
https://datahub.io/fivethirtyeight/forecast-methodology/_r/-/README.md
Typical Usage
- 1. Fetch datapackage.json to inspect schema and resources
- 2. Download data resources listed in datapackage.json
- 3. Read README.md for full context
Data Files
Explore with AIhistorical-senate-predictions
| Field | Type | Format |
|---|---|---|
| state | string | default |
| year | integer | default |
| candidate | string | default |
| forecast_prob | number | default |
| result | string | default |
| winflag | integer | default |
Download
Download CSVAbout
- Last updated
- 12 March 2026
- Total rows
- ...
- Format
- CSV
- File size
- 7.08 kB
About this dataset
Historical FiveThirtyEight Senate Forecasts
This folder contains the data behind the story How The FiveThirtyEight Senate Forecast Model Works.
| Header | Definition |
|---|---|
state | Election |
year | Year of election |
candidate | Last name |
forecast_prob | Probability of winning election per FiveThirtyEight Election Day forecast |
result | Win or Loss |
For archived results, see:
- 2008 https://web.archive.org/web/20081106113055/http://www.fivethirtyeight.com/
- 2010 http://elections.nytimes.com/2010/forecasts/senate
- 2012 http://fivethirtyeight.blogs.nytimes.com/fivethirtyeights-2012-forecast/
This dataset was scraped from FiveThirtyEight - forecast-methodology