The History of Baseball

  • by user1
  • 28 February, 2022

A complete history of major league baseball stats from 1871 to 2015

LicenseCC BY-SA 3.0


Baffled why your team traded for that 34-year-old pitcher? Convinced you can create a new and improved version of WAR? Wondering what made the 1907 Cubs great and if can they do it again?

The History of Baseball is a reformatted version of the famous Lahman’s Baseball Database. It contains Major League Baseball’s complete batting and pitching statistics from 1871 to 2015, plus fielding statistics, standings, team stats, park stats, player demographics, managerial records, awards, post-season data, and more.

Scripts, Kaggle’s free, in-browser analytics tool, makes it easy to share detailed sabermetrics, predict the next hall of fame inductee, illustrate how speed scores runs, or publish a definitive analysis on why the Los Angeles Dodgers will never win another World Series.

We have more ideas for analysis than games in a season, but here are a few we’d really love to see:

  • Is there a most error-prone position?
  • When do players at different positions peak?
  • Are the best performers selected for all-star game?
  • How many walks does it take for a starting pitcher to get pulled?
  • Do players with a high ground into double play (GIDP) have a lower batting average?
  • Which players are the most likely to choke during the post-season?
  • Why should or shouldn’t the National League adopt the designated hitter rule?

See the full SQLite schema.

Size: 20960 KB Price: Free Author: SeanLahman Data source: