Last chance! 50% off unlimited learning
Sale ends in
MLB Leagues
mlb_league(seasons = NULL, sport_id = NULL, league_id = NULL)
Returns a tibble with the following columns
col_name | types |
leader_type | character |
Year(s) to return to return league information for.
The sport_id to return league information for.
The league_id(s) to return league information for.
# \donttest{
try(mlb_league(seasons = 2021, sport_id = 1))
# }
Run the code above in your browser using DataLab