Package: Lahman 12.0-0

Chris Dalzell

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.

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

Lahman_12.0-0.tar.gz
Lahman_12.0-0.zip(r-4.5)Lahman_12.0-0.zip(r-4.4)Lahman_12.0-0.zip(r-4.3)
Lahman_12.0-0.tgz(r-4.5-any)Lahman_12.0-0.tgz(r-4.4-any)Lahman_12.0-0.tgz(r-4.3-any)
Lahman_12.0-0.tar.gz(r-4.5-noble)Lahman_12.0-0.tar.gz(r-4.4-noble)
Lahman_12.0-0.tgz(r-4.4-emscripten)Lahman_12.0-0.tgz(r-4.3-emscripten)
Lahman.pdf |Lahman.html
Lahman/json (API)
NEWS

# Install 'Lahman' in R:
install.packages('Lahman', repos = c('https://friendly.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/cdalzell/lahman/issues

Pkgdown site:https://cdalzell.github.io

Datasets:

On CRAN:

Conda:

12.00 score 79 stars 2 packages 1.7k scripts 21k downloads 4 exports 16 dependencies

Last updated 4 months agofrom:47fb576dfa. Checks:1 OK, 8 NOTE. Indexed: no.

TargetResultLatest binary
Doc / VignettesOKMar 21 2025
R-4.5-winNOTEMar 21 2025
R-4.5-macNOTEMar 21 2025
R-4.5-linuxNOTEMar 21 2025
R-4.4-winNOTEMar 21 2025
R-4.4-macNOTEMar 21 2025
R-4.4-linuxNOTEMar 21 2025
R-4.3-winNOTEMar 21 2025
R-4.3-macNOTEMar 21 2025

Exports:battingStatsLabelplayerInfoteamInfo

Dependencies:clidplyrfansigenericsgluelifecyclemagrittrpillarpkgconfigR6rlangtibbletidyselectutf8vctrswithr

Graphs of Hits By Type in MLB

Rendered fromhits-by-type.Rmdusingknitr::rmarkdownon Mar 21 2025.

Last update: 2024-10-09
Started: 2020-02-20

Relationship Between Strikeouts and Home Runs

Rendered fromstrikeoutsandhr.Rmdusingknitr::rmarkdownon Mar 21 2025.

Last update: 2021-04-08
Started: 2020-02-20

Run Scoring Trends

Rendered fromrun-scoring-trends.Rmdusingknitr::rmarkdownon Mar 21 2025.

Last update: 2021-01-21
Started: 2020-02-20

Team Payroll and the World Series

Rendered frompayroll.Rmdusingknitr::rmarkdownon Mar 21 2025.

Last update: 2024-08-29
Started: 2020-02-20

Vignette Introduction

Rendered fromvignette-intro.Rmdusingknitr::rmarkdownon Mar 21 2025.

Last update: 2023-04-15
Started: 2020-02-20