| AwardsShareManagers | R Documentation |
AwardsShareManagers table
Description
Award voting for managers awards
Usage
data(AwardsShareManagers)
Format
A data frame with 526 observations on the following 7 variables.
awardIDname of award votes were received for
yearIDYear
lgIDLeague; a factor with levels
ALNLplayerIDManager (player) ID code
pointsWonNumber of points received
pointsMaxMaximum number of points possible
votesFirstNumber of first place votes
Source
Lahman, S. (2025) Lahman's Baseball Database, 1871-2024, 2025 version, https://sabr.org/lahman-database/
Examples
# Voting for the BBWAA Manager of the Year award by year and league
require("dplyr")
# Sort in decreasing order of points by year and league
AwardsShareManagers %>%
group_by(yearID, lgID) %>%
arrange(desc(pointsWon))
# Any unanimous winners?
AwardsShareManagers %>%
filter(pointsWon == pointsMax)
# Manager with highest proportion of possible points
AwardsShareManagers %>%
mutate(propWon = pointsWon/pointsMax) %>%
arrange(desc(propWon)) %>%
head(., 1)
# Bobby Cox's MOY vote tallies
AwardsShareManagers %>%
filter(playerID == "coxbo01")