AwardsManagers {Lahman} | R Documentation |
AwardsManagers table
Description
Award information for managers awards
Usage
data(AwardsManagers)
Format
A data frame with 179 observations on the following 6 variables.
playerID
Manager (player) ID code
awardID
Name of award won
yearID
Year
lgID
League; a factor with levels
AL
NL
tie
Award was a tie (Y or N)
notes
Notes about the award
Source
Lahman, S. (2023) Lahman's Baseball Database, 1871-2022, 2022 version, https://www.seanlahman.com/baseball-archive/statistics/
Examples
# Post-season managerial awards
# Number of recipients of each award by year
with(AwardsManagers, table(yearID, awardID))
# 1996 award winners
subset(AwardsManagers, yearID == 1996)
# AL winners of the BBWAA managerial award
subset(AwardsManagers, awardID == "BBWAA Manager of the year" &
lgID == "AL")
# Tony LaRussa's manager of the year awards
subset(AwardsManagers, playerID == "larusto01")
[Package Lahman version 11.0-0 Index]