# 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")
Run the code above in your browser using DataLab