mlb_divisions {baseballr} | R Documentation |
MLB Divisions
Description
MLB Divisions
Usage
mlb_divisions(division_id = NULL, league_id = NULL, sport_id = NULL)
Arguments
division_id |
Return division(s) data for a specific division |
league_id |
Return division(s) data for all divisions in a specific league |
sport_id |
Return division(s) for all divisions in a specific sport. |
Value
Returns a tibble with the following columns
col_name | types |
division_id | integer |
division_name | character |
season | character |
division_name_short | character |
division_link | character |
division_abbreviation | character |
has_wildcard | logical |
sort_order | integer |
num_playoff_teams | integer |
active | logical |
league_id | integer |
league_link | character |
sport_id | integer |
sport_link | character |
Examples
try(mlb_divisions(sport_id = 1))
[Package baseballr version 1.6.0 Index]