Skip to content

Lahman

14.0-0Package record

Sean 'Lahman' Baseball Database

2packages dependsuggested by 9
1.2Mdownloads / year
–test coverage
13/13flavors OK

Overview

About

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.

Changes in 14.0-0
  • Updated with data for the 2025 season

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 5.1 min · r-oldrel-macos-x86_64
Status changes
  • 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
Advisories

none known

Documentation

In release 14.0-0
README· In the repository, left out of the releaseVignettesYes · 6 · dynamicNEWSYes · 100% structured · mentions 14.0-0Citation fileNoWebsiteYes · pkgdown
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

1.2M
CRAN downloads in the past year
Rank #333 · ~3.2K/day · ~96.9K/mo
Daily download trend is not available in this view yet.
90.4K30 days
301.1K90 days
1.2M1 year
Compare downloads with other packages →
Also on1.8K r2u234 autocran2.6K conda_forge234 c2d4u

Repository

82Stars
41Forks
14Open issues
3Open PRs
0Releases
418Commits
7Commit identities
418 commits · Last activity 2026-02-14 · -1.2% stars, 30d
Responsiveness
How these are sampled
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

2025-08-26 · 802026-10-12 · 82
PracticesBeta

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.

Continuous integration (1)
Travis CI (config file)
Docs source (2)
pkgdown

GitHub Pages site last deployed 2026-02-14

pkgdown site last built 2025-09-09, before release 14.0-0 (2026-02-12)

CRAN release process (2)
cran-comments.mdrevdep/
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 3.5.0
Imports (1)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
2direct
0indirect
Imports 2
Suggested by 9
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (8)
Maintainer since 4.0-1 (2015), Author · added in 3.0-1
Author · added in 2.0-3
Contributor · added in 13.0-0
Contributor · added in 7.0-1
Contributor · added in 7.0-1
Copyright holder · added in 10.0-1

Previously maintained by Michael Friendly (1.0-7 to 3.0-1).

Releases (18)

Pick two releases to compare their code metrics.

Show 19 earlier eventsHide 19 earlier events
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • 6.0-0
    record
    2017-08-15 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 5.0-0
    record
    2016-08-27 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 4.0-1
    record
    2015-09-15 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • 3.0-1
    record
    2014-09-13 · diff ↗
  • R
    R 3.1.0 released · 2014-04-10
  • 2.0-3
    record
    2013-06-01 · diff ↗
  • 2.0-1
    record
    2013-04-25 · diff ↗ ·
    added 3 exports
    playerInfo, teamInfo, Label
  • R
    R 3.0.0 released · 2013-04-03
  • 1.0-10
    record
    2012-10-05 · diff ↗ ·
    added 1 export
    battingStats
  • R
    R 2.15.0 released · 2012-03-30
  • R
    R 2.14.0 released · 2011-10-31
  • 1.0-8
    record
    2011-10-08 · diff ↗
  • 1.0-7
    record
    2011-09-30
  • R
    R 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
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("Lahman")
Dalzell, C., Eck, D. J., Foot, V., Friendly, M., Lahman, S., Monkman, M., Murphy, D., & Zaki-Azat, J. (2026). Lahman: Sean 'Lahman' Baseball Database (Version 14.0-0) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for Lahman version 14.0-0 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy