Sean 'Lahman' Baseball Database

Provides the tables from the 'Sean Lahman Baseball Database' as a set of R data.frames. It uses the data on pitching, hitting and fielding performance and other tables from 1871 through 2024, as recorded in the 2025 version of the database. Documentation examples show how many baseball questions can be investigated.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("Lahman")

14.0-0 by Chris Dalzell, 8 months ago


https://cdalzell.github.io/Lahman/, https://CRAN.R-project.org/package=Lahman


Report a bug at https://github.com/cdalzell/Lahman/issues


Browse source code at https://github.com/cran/Lahman


Authors: Michael Friendly [aut] , Chris Dalzell [cre, aut] , Martin Monkman [aut] , Dennis Murphy [aut] , Vanessa Foot [ctb] , Justeena Zaki-Azat [ctb] , Daniel J Eck [ctb] , Sean Lahman [cph]


Documentation:   PDF Manual  


GPL license


Imports dplyr

Suggests lattice, ggplot2, googleVis, data.table, vcd, reshape2, tidyr, knitr, rmarkdown, car, plyr, tidyverse


Imported by dados, datos.

Suggested by broom, dbplyr, dplyr, implyr, mdsr, pinnacle.data, raw, sparklyr, teamcolors.


See at CRAN