Lahman: 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 2022, as recorded in the 2023 version of the database. Documentation examples show how many baseball questions can be investigated.

Version: 11.0-0
Depends: R (≥ 3.5.0)
Imports: dplyr
Suggests: lattice, ggplot2, googleVis, data.table, vcd, reshape2, tidyr, knitr, rmarkdown, car
Published: 2023-05-04
DOI: 10.32614/CRAN.package.Lahman
Author: Michael Friendly [aut], Chris Dalzell [cre, aut], Martin Monkman [aut], Dennis Murphy [aut], Vanessa Foot [ctb], Justeena Zaki-Azat [ctb], Sean Lahman [cph]
Maintainer: Chris Dalzell <cdalzell at>
License: GPL-2 | GPL-3 [expanded from: GPL]
NeedsCompilation: no
Language: en-US
Materials: NEWS
In views: SportsAnalytics
CRAN checks: Lahman results


Reference manual: Lahman.pdf
Vignettes: Graphs of Hits By Type in MLB
Team Payroll and the World Series
Run Scoring Trends
Relationship Between Strikeouts and Home Runs
Vignette Introduction


Package source: Lahman_11.0-0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): Lahman_11.0-0.tgz, r-oldrel (arm64): Lahman_11.0-0.tgz, r-release (x86_64): Lahman_11.0-0.tgz, r-oldrel (x86_64): Lahman_11.0-0.tgz
Old sources: Lahman archive

Reverse dependencies:

Reverse imports: dados, datos
Reverse suggests: broom, dbplyr, dplyr, ibawds, implyr, mdsr,, r4ds.tutorials, raw, sparklyr, teamcolors


Please use the canonical form to link to this page.