mlb-allstar-teams

91
0
Updated:
Files:2
Size:417 kB
Formats:csv

API Access

Access dataset files directly from scripts, code, or AI agents.

Browse dataset files
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/mlb-allstar-teams/
https://datahub.io/fivethirtyeight/mlb-allstar-teams/_r/-/README.md
https://datahub.io/fivethirtyeight/mlb-allstar-teams/_r/-/data/allstar_player_talent.csv
https://datahub.io/fivethirtyeight/mlb-allstar-teams/_r/-/data/allstar_team_talent.csv
https://datahub.io/fivethirtyeight/mlb-allstar-teams/_r/-/datapackage.json
Key Files

Start with these files — they give you everything you need to understand and access the dataset.

datapackage.jsonmetadata & schema
https://datahub.io/fivethirtyeight/mlb-allstar-teams/_r/-/datapackage.json
README.mddocumentation
https://datahub.io/fivethirtyeight/mlb-allstar-teams/_r/-/README.md
Typical Usage
  1. 1. Fetch datapackage.json to inspect schema and resources
  2. 2. Download data resources listed in datapackage.json
  3. 3. Read README.md for full context

Data Files

Explore with AI

allstar_player_talent

Download

Download CSV

About

Last updated
12 March 2026
Total rows
...
Format
CSV
File size
390 kB

allstar_team_talent

Download

Download CSV

About

Last updated
12 March 2026
Total rows
...
Format
CSV
File size
26.7 kB

About this dataset

MLB All-Star Teams

This folder contains data behind the story The Best MLB All-Star Teams Ever.

Estimates of most talented MLB All-Star teams, 1933-2015

allstar_team_talent.csv contains team talent estimates with the following headers:

HeaderDefinition
yearIDThe season in question
gameNumOrder of All-Star Game for the season (in years w/ multiple ASGs; set to 0 when only 1 per year)
gameIDGame ID at Baseball-Reference.com
lgIDLeague of All-Star team
tm_OFF_talentTotal runs of offensive talent above average per game (36 plate appearances)
tm_DEF_talentTotal runs of fielding talent above average per game (36 plate appearances)
tm_PIT_talentTotal runs of pitching talent above average per game (9 innings)
MLB_avg_RPGMLB average runs scored/game that season
talent_RSPGExpected runs scored per game based on talent (MLB R/G + team OFF talent)
talent_RAPGExpected runs allowed per game based on talent (MLB R/G - team DEF talent- team PIT talent)
unadj_PYTHUnadjusted pythagorean talent rating; PYTH =(RSPG^1.83)/(RSPG^1.83+RAPG^1.83)
timeline_adjEstimate of relative league quality where 2015 MLB = 1.00
SOSStrength of schedule faced; adjusts an assumed .500 SOS downward based on timeline adjustment
adj_PYTHAdjusted pythagorean record; =(SOSunadj_Pyth)/((2unadj_Pyth*SOS)-SOS-unadj_Pyth+1)
no_1_playerBest player according to combo of actual PA/IP and talent
no_2_player2nd-best player according to combo of actual PA/IP and talent

allstar_player_talent.csv contains team player estimates with the following headers:

HeaderDefinition
bbref_IDPlayer's ID at Baseball-Reference.com
yearIDThe season in question
gameNumOrder of All-Star Game for the season (in years w/ multiple ASGs; set to 0 when only 1 per year)
gameIDGame ID at Baseball-Reference.com
lgIDLeague of All-Star team
startingPosPostion (according to baseball convention; 1=pitcher, 2=catcher, etc.) if starter
OFF600Estimate of offensive talent, in runs above league average per 600 plate appearances
DEF600Estimate of fielding talent, in runs above league average per 600 plate appearances
PITCH200Estimate of pitching talent, in runs above league average per 200 innings pitched
asg_PANumber of plate appearances in the All-Star Game itself
asg_IPNumber of innings pitched in the All-Star Game itself
OFFper9innASGExpected offensive runs added above average (from talent) based on PA in ASG, scaled to a 9-inning game
DEFper9innASGExpected defensive runs added above average (from talent) based on PA in ASG, scaled to a 9-inning game
PITper9innASGExpected pitching runs added above average (from talent) based on IP in ASG, scaled to a 9-inning game
TOTper9innASGExpected runs added above average (from talent) based on PA/IP in ASG, scaled to a 9-inning game

This dataset was scraped from FiveThirtyEight - mlb-allstar-teams