retrosheet_mlb_1871_2025

235,512 comparisons among 152 agents.

About this table

DescriptionRetrosheet MLB game logs, 1871-2025: every major-league regular-season game (NA, NL, AA, UA, PL, AL, FL) plus wildcard, division, LCS and World Series games. One row per game; agent_a = home team, with scores, park, attendance, doubleheader number, forfeit and protest codes.
ReferenceRetrosheet. Game logs, 1871-2025 (gl1871_2025.zip, downloaded 2026-10-01). https://www.retrosheet.org
LicenceCustom
Source datahttps://www.retrosheet.org/gamelogs/index.html

Notes

These notes describe the source data, which the IRW reproduces as released. All notes are listed on the Data Notes page.

Size and shape

Comparisons235,512
Agents152

Columns

agent_aagent_battendancecompleteddateday_nightforfeitgame_numgame_typehomefieldleague_aleague_blength_outsminutesparkprotestscore_ascore_bseasonwinner

Get the data

Custom licence — check the terms before reuse: The information used here was obtained free of charge from and is copyrighted by Retrosheet. Interested parties may contact Retrosheet at www.retrosheet.org.

Download CSVno account neededBrowse on Redivisexplore and queryCroissant metadataHugging Face, Kaggle, OpenML

Or load it directly in R or Python (both need a free Redivis account; the first call opens a browser to sign in):

# R
install.packages("remotes")
remotes::install_github("itemresponsewarehouse/Rpkg")
library(irw)
df <- irw_fetch("retrosheet_mlb_1871_2025", source = "comp")
# Python
pip install irw

import irw
df = irw.fetch("retrosheet_mlb_1871_2025", source="comp")

How to cite

@misc{Retrosheet2026,
  author = {Retrosheet},
  title = {Game logs, 1871-2025},
  year = {2026},
  howpublished = {\url{https://www.retrosheet.org}},
  note = {Downloaded 2026-10-01}
}

Version and provenance

IRW versionv607
Redivis datasetirw_competitions v6.3
Redivis dataset DOI10.57761/7qpg-cj26
Manifest pin for this IRW versionv6.3
Metadata sourceirw_meta v47.0