
FieldingOFsplit table
FieldingOFsplit.RdOutfield position data: information about positions played in the outfield
Usage
data(FieldingOFsplit)Format
A data frame with 36677 observations on the following 18 variables.
playerIDPlayer ID code
yearIDYear
stintplayer's stint (order of appearances within a season)
teamIDTeam; a factor
lgIDLeague; a factor with levels
AAALFLNLPLUAPOSPosition
GGames
GSGames Started
InnOutsTime played in the field expressed as outs
POPutouts
AAssists
EErrors
DPDouble Plays
PBPassed Balls (by catchers)
WPWild Pitches (by catchers)
SBOpponent Stolen Bases (by catchers)
CSOpponents Caught Stealing (by catchers)
ZRZone Rating
Source
Lahman, S. (2025) Lahman's Baseball Database, 1871-2024, 2025 version, https://sabr.org/lahman-database/
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")
#> [1] playerID yearID stint Glf Gcf Grf
#> <0 rows> (or 0-length row.names)