Learn R Programming

Lahman (version 14.0-0)

Sean 'Lahman' Baseball Database

Description

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.

Copy Link

Version

Install

install.packages('Lahman')

Monthly Downloads

33,296

Version

14.0-0

License

GPL

Maintainer

Chris Dalzell

Last Published

February 12th, 2026

Functions in Lahman (14.0-0)

CollegePlaying

CollegePlaying table
BattingPost

BattingPost table
AwardsPlayers

AwardsPlayers table
Batting

Batting table
HomeGames

HomeGames table
Label

Extract the Label for a Variable
AwardsManagers

AwardsManagers table
Lahman-package

Sean Lahman's Baseball Database
Managers

Managers table
People

People table
LahmanData

Lahman Datasets
Parks

Parks table
ManagersHalf

ManagersHalf table
AwardsSharePlayers

AwardsSharePlayers table
SeriesPost

SeriesPost table
AwardsShareManagers

AwardsShareManagers table
Appearances

Appearances table
AllstarFull

AllstarFull table
Pitching

Pitching table
FieldingOF

FieldingOF table
FieldingPost

FieldingPost data
Teams

Teams table
PitchingPost

PitchingPost table
playerInfo

Lookup Information for Players and Teams
HallOfFame

Hall of Fame Voting Data
FieldingOFsplit

FieldingOFsplit table
Salaries

Salaries table
TeamsHalf

TeamsHalf table
TeamsFranchises

TeamFranchises table
battingStats

Calculate additional batting statistics
battingLabels

Variable Labels
Schools

Schools table
Fielding

Fielding table