228,326 comparisons among 89 agents.
| Description | MLB from 1870s through 2023 |
|---|---|
| Licence | MIT |
| Source data | https://github.com/sportstensor/MLB/tree/main/data_and_models |
| Comparisons | 228,326 |
|---|---|
| Agents | 89 |
agent_aagent_bdatehomefieldscore_ascore_bseasonwinner
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)
@misc{MLBData2023,
title = {MLB Data and Models},
howpublished = {\url{https://github.com/sportstensor/MLB/tree/main/data_and_models}},
note = {Accessed: 2023-10-01}
}
| IRW version | v712 |
|---|---|
| Redivis dataset | irw_competitions v7.1 |
| Redivis dataset DOI | 10.57761/3r1w-t660 |
| Manifest pin for this IRW version | v7.1 |
| Metadata source | irw_meta v68.0 |