| FieldingOFsplit | R Documentation |
Outfield position data: information about positions played in the outfield
data(FieldingOFsplit)
A data frame with 35995 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 AA AL FL NL PL UA
POSPosition
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
Lahman, S. (2024) Lahman's Baseball Database, 1871-2023, 2024 version, http://www.seanlahman.com/
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")
## Willie Mays (all but his first few years)
FieldingOF %>%
filter(playerID == "mayswi01")
## Mike Trout (complete)
FieldingOF %>%
filter(playerID == "troutmi01")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.