powered by
This function allows you to scrape a team's active payroll from Spotrac.
sptrc_team_active_payroll(team_abbr, year = most_recent_mlb_season())
A data frame of contract data.
Team abbreviation
Year to load
# \donttest{ try(sptrc_team_active_payroll(team_abbr = "BAL", year = most_recent_mlb_season())) # }
Run the code above in your browser using DataLab