Learn R Programming

⚠️There's a newer version (12.0-0) of this package.Take me there.

Lahman (version 2.0-1)

Sean Lahman's Baseball Database

Description

This package provides the tables from Sean Lahman's 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 2012, as recorded in the 2012 version of the database.

Copy Link

Version

Install

install.packages('Lahman')

Monthly Downloads

33,296

Version

2.0-1

License

GPL

Maintainer

Michael Friendly

Last Published

April 25th, 2013

Functions in Lahman (2.0-1)

Label

Extract the Label for a Variable
AwardsSharePlayers

AwardsSharePlayers table
AwardsManagers

AwardsManagers table
FieldingOF

FieldingOF table
ManagersHalf

ManagersHalf table
LahmanData

Lahman Datasets
FieldingPost

FieldingPost data
Master

Master table
BattingPost

BattingPost table
SeriesPost

SeriesPost table
playerInfo

Lookup Information for Players and Teams
Lahman-package

Sean Lahman's Baseball Database
PitchingPost

PitchingPost table
Pitching

Pitching table
TeamsHalf

TeamsHalf table
AwardsShareManagers

AwardsShareManagers table
Managers

Managers table
AllstarFull

AllstarFull table
Fielding

Fielding table
Appearances

Appearances table
battingLabels

Variable Labels
Salaries

Salaries table
HallOfFame

Hall of Fame Voting Data
SchoolsPlayers

SchoolsPlayers table
TeamsFranchises

TeamFranchises table
AwardsPlayers

AwardsPlayers table
battingStats

Calculcate additional batting statistics
Batting

Batting table
Schools

Schools table
Teams

Teams table - Yearly Stats and Standings