Skip to contents

Outfield position data: information about positions played in the outfield

Usage

data(FieldingOFsplit)

Format

A data frame with 35995 observations on the following 18 variables.

playerID

Player ID code

yearID

Year

stint

player's stint (order of appearances within a season)

teamID

Team; a factor

lgID

League; a factor with levels AA AL FL NL PL UA

POS

Position

G

Games

GS

Games Started

InnOuts

Time played in the field expressed as outs

PO

Putouts

A

Assists

E

Errors

DP

Double Plays

PB

Passed Balls (by catchers)

WP

Wild Pitches (by catchers)

SB

Opponent Stolen Bases (by catchers)

CS

Opponents Caught Stealing (by catchers)

ZR

Zone Rating

Source

Lahman, S. (2024) Lahman's Baseball Database, 1871-2023, 2024 version, http://www.seanlahman.com/

Examples

require("dplyr")
require("tidyr")

## Data set starts in 1954
## Can get a more complete record from the Fielding data frame
## or from the Appearances data (see below)

## Output directly from the FieldingOFsplit data

## Joe DiMaggio (no records: pre-1954 player)
FieldingOFsplit %>% 
   filter(playerID == "dimagjo01") 
#>  [1] playerID yearID   stint    teamID   lgID     POS      G        GS      
#>  [9] InnOuts  PO       A        E        DP       PB       WP       SB      
#> [17] CS       ZR      
#> <0 rows> (or 0-length row.names)

## Willie Mays (all but his first few years)
FieldingOF %>% 
  filter(playerID == "mayswi01") 
#>   playerID yearID stint Glf Gcf Grf
#> 1 mayswi01   1951     1   0 121   0
#> 2 mayswi01   1952     1   0  34   0
#> 3 mayswi01   1954     1   0 151   0
#> 4 mayswi01   1955     1   0 152   0

## Mike Trout (complete)
FieldingOF %>% 
  filter(playerID == "troutmi01")
#>    playerID yearID stint Glf Gcf Grf
#> 1 troutmi01   2023     1   0  79   0