View all PCL conferences
Arguments
- conference_id
Conference ID to return information for.
- season
Year to return to return conference information for.
Value
Returns a tibble with the following columns
col_name | types |
conference_id | integer |
conference_name | character |
link | character |
conference_abbreviation | character |
has_wildcard | logical |
name_short | character |
league_id | integer |
league_link | character |
sport_id | integer |
sport_link | character |
Examples
# \donttest{
try(mlb_conferences())
#> ── MLB Conferences data from MLB.com ──────────────── baseballr 1.2.0 ──
#> ℹ Data updated: 2022-04-30 07:15:45 UTC
#> # A tibble: 8 × 10
#> conference_id conference_name link conference_abbr… has_wildcard
#> <int> <chr> <chr> <chr> <lgl>
#> 1 301 PCL American Confer… /api… PCLA FALSE
#> 2 302 PCL Pacific Confere… /api… PCLP FALSE
#> 3 5153 Metropolitan Divisi… /api… NHLM FALSE
#> 4 5154 Atlantic Division /api… NHLA FALSE
#> 5 5156 Central Division /api… NHLC FALSE
#> 6 5157 Pacific Division /api… NHLP FALSE
#> 7 5189 Southeast Division /api… NHLSE FALSE
#> 8 5190 Northwest Division /api… NHLNW FALSE
#> # … with 5 more variables: conference_name_short <chr>,
#> # league_id <int>, league_link <chr>, sport_id <int>,
#> # sport_link <chr>
try(mlb_conferences(conference_id = 301, season = 2020))
#> ── MLB Conferences data from MLB.com ──────────────── baseballr 1.2.0 ──
#> ℹ Data updated: 2022-04-30 07:15:45 UTC
#> # A tibble: 1 × 10
#> conference_id conference_name link conference_abbr… has_wildcard
#> <int> <chr> <chr> <chr> <lgl>
#> 1 301 PCL American Confer… /api… PCLA FALSE
#> # … with 5 more variables: conference_name_short <chr>,
#> # league_id <int>, league_link <chr>, sport_id <int>,
#> # sport_link <chr>
# }