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

Version: 12.0-0
Depends: R (≥ 3.5.0)
Imports: dplyr
Suggests: lattice, ggplot2, googleVis, data.table, vcd, reshape2, tidyr, knitr, rmarkdown, car
Published: 2024-09-26
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 gmail.com>
BugReports: https://github.com/cdalzell/Lahman/issues
License: GPL-2 | GPL-3 [expanded from: GPL]
URL: https://CRAN.R-project.org/package=Lahman
NeedsCompilation: no
Language: en-US
Materials: NEWS
In views: SportsAnalytics
CRAN checks: Lahman results

Documentation:

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

Downloads:

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

Reverse dependencies:

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

Linking:

Please use the canonical form https://CRAN.R-project.org/package=Lahman to link to this page.