Sean 'Lahman' Baseball Database
Overview
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.
- Updated with data for the 2025 season
From NEWS.md in the release
Install
Health
- OK13 OK2026-09-08
- ERROR12 OK, 1 ERROR2026-09-07
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
Show 3 earlier changesHide 3 earlier changes
- ERROR12 OK, 1 ERROR2026-06-08
- OK12 OK2026-04-25
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 33includes a package overview page
- Examples that run
- 100%32 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 73%
- Return-value docs
- 100%
- Help pages citing references
- 94%
Also includes 2 demo scripts (run with demo())
Downloads
Repository
- PRs merged (all time)
- 74%
- Median days to close, 50 most recently updated closed issues
- 137
- Median days to close, 50 most recently updated closed PRs
- 1
Stars over time
Forks over time
Issues over time
PRs over time
5 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/cdalzell/lahman on 2026-10-22.
GitHub Pages site last deployed 2026-02-14
pkgdown site last built 2025-09-09, before release 14.0-0 (2026-02-12)
Dependencies
Installing Lahman adds 15 packages (9 with compiled code, 5.2 MB of source tarballs). Heaviest: vctrs 1.0 MB, dplyr 902 KB, rlang 766 KB.
Code & Tests
Datasets
People & History
Previously maintained by Michael Friendly (1.0-7 to 3.0-1).
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 14.0-0Latest
- 13.0-02025-09-08 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 12.0-02024-09-27 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 11.0-02023-05-04 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 10.0-12022-04-26 · diff ↗
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 9.0-02021-04-09 · diff ↗
- 8.0-12021-01-21 · diff ↗
- 8.0-02020-06-09 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 7.0-12019-05-02 · diff ↗
Show 19 earlier eventsHide 19 earlier events
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- 6.0-02017-08-15 · diff ↗
- RR 3.4.0 released · 2017-04-21
- 5.0-02016-08-27 · diff ↗
- RR 3.3.0 released · 2016-05-03
- 4.0-12015-09-15 · diff ↗
- RR 3.2.0 released · 2015-04-16
- 3.0-12014-09-13 · diff ↗
- RR 3.1.0 released · 2014-04-10
- 2.0-32013-06-01 · diff ↗
- 2.0-1
- RR 3.0.0 released · 2013-04-03
- 1.0-10
- RR 2.15.0 released · 2012-03-30
- RR 2.14.0 released · 2011-10-31
- 1.0-82011-10-08 · diff ↗
- 1.0-72011-09-30
- RR 2.13.0 released · 2011-04-13
Package metadata
- First published
- 2011-09-30
- Total releases
- 18 / 15 yrs
- License
- GPL
- Minimum R
- ≥ 3.5.0
- Bundled data
- 6.0 MB / 31 files
- Download size
- 6.5 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("Lahman")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.