Learn R Programming

Lahman (version 1.0-7)

Appearances: Appearances table

Description

Data on player appearances

Usage

data(Appearances)

Arguments

source

Lahman, S. (2010) Lahman's Baseball Database, 1871-2010, v.5.8, http://baseball1.com/statistics/

Details

The Appearances table in the original version has some incorrect variable names. In particular, the 5th column is career_year.

Examples

Run this code
data(Appearances)

# some test cases
# Henry Aaron spent the last two years of his career as DH in Milwaukee
subset(Appearances, playerID == 'aaronha01')
# Herb Washington, strictly a pinch runner for Oakland in 1974-5
subset(Appearances, playerID == 'washihe01')
subset(Appearances, playerID == 'thomeji01')
subset(Appearances, playerID == 'hairsje02')

Run the code above in your browser using DataLab