powered by
MLB Team Leaders
mlb_team_leaders( team_id = NULL, leader_categories = NULL, leader_game_types = NULL, season = NULL, limit = 1000 )
Returns a tibble with the following columns
Team ID to return team leader information for.
Team leader category to return information and ranking for a particular statistic.
Game type to return information and ranking for a particular statistic in a particular game type.
Season to return team leader information for.
A limit to limit return to a particular number of records.
# \donttest{ try(mlb_team_leaders(team_id = 137, leader_categories = "homeRuns", season = 2021)) # }
Run the code above in your browser using DataLab