Package: Lahman 14.0-0

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 2025, as recorded in the 2026 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], Daniel J Eck [ctb], Sean Lahman [cph]

Lahman_14.0-0.tar.gz
Lahman_14.0-0.zip(r-4.7-any)Lahman_14.0-0.zip(r-4.6-any)Lahman_14.0-0.zip(r-4.5-any)
Lahman_14.0-0.tgz(r-4.6-any)Lahman_14.0-0.tgz(r-4.5-any)
Lahman_14.0-0.tar.gz(r-4.7-any)Lahman_14.0-0.tar.gz(r-4.6-any)
Lahman_14.0-0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
Lahman/json (API)

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

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

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

Datasets:

On CRAN:

Conda:

12.76 score 84 stars 2 packages 2.5k scripts 103k downloads 4 exports 15 dependencies

Last updated from:af8aee24bf. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK208
source / vignettesOK276
linux-releaseOK205
macos-releaseOK161
macos-oldrelOK174
windows-develOK128
windows-releaseOK104
windows-oldrelOK119
wasm-releaseOK159

Exports:battingStatsLabelplayerInfoteamInfo

Dependencies:clidplyrgenericsgluelifecyclemagrittrpillarpkgconfigR6rlangtibbletidyselectutf8vctrswithr

Primer for Full House Modeling
Introduction | Ingredients for Full House Modeling | Probability Integral Transform | Order Statistics | The Core of Full House Modeling | Simple Setup: one source population and system | More General Setup: multiple source populations and systems | Example: Comparing Batting Averages Across Eras | Z-scores | Full House Modeling | Discussion | References

Last update: 2026-02-11
Started: 2025-04-28

Run Scoring Trends
Run scoring trends: Sub-titles and captions with ggplot2 | Read and summarize the data | A basic plot | Adding a subtitle: the function

Last update: 2026-02-11
Started: 2020-02-20

Graphs of Hits By Type in MLB
The Batting data | Data munging | Graphs | Add trend lines | Further analyses: Your turn

Last update: 2026-02-11
Started: 2020-02-20

Relationship Between Strikeouts and Home Runs
The data files | The Batting data

Last update: 2026-02-11
Started: 2020-02-20

Vignette Introduction
Introduction | Contents | Further reading | Books | Articles, blog entries, and course materials

Last update: 2025-09-09
Started: 2020-02-20

Team Payroll and the World Series
The data files | The Salaries data | The Teams data | The SeriesPost data | A first look at Salaries | Get team payrolls | Merge team names into payroll | Boxplots of payroll | Correcting for inflation | Salaries of World Series winning teams | Further analyses: Your turn

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