mlb_through2023

228,326 comparisons among 89 agents.

About this table

DescriptionMLB from 1870s through 2023
LicenceMIT
Source datahttps://github.com/sportstensor/MLB/tree/main/data_and_models

Size and shape

Comparisons228,326
Agents89

Columns

agent_aagent_bdatehomefieldscore_ascore_bseasonwinner

Get the data

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

Or load it directly in R (no account needed with irw 1.4.0 or later) or Python (needs a free Redivis account; the first call opens a browser to sign in):

# R
install.packages("irw")
library(irw)
df <- irw_fetch("mlb_through2023", source = "comp")
# Python
pip install irw

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

Or in Stata, which reads the same no-account CSV as the button above:

* Stata
net install irw, from("https://raw.githubusercontent.com/itemresponsewarehouse/Stata-pkg/main/")

irw_fetch mlb_through2023, clear source(comp)

How to cite

@misc{MLBData2023,
  title = {MLB Data and Models},
  howpublished = {\url{https://github.com/sportstensor/MLB/tree/main/data_and_models}},
  note = {Accessed: 2023-10-01}
}

Version and provenance

IRW versionv712
Redivis datasetirw_competitions v7.1
Redivis dataset DOI10.57761/3r1w-t660
Manifest pin for this IRW versionv7.1
Metadata sourceirw_meta v68.0