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.6.0 ──
#> ℹ Data updated: 2024-04-13 21:56:06 UTC
#> # A tibble: 2 × 10
#> conference_id conference_name link conference_abbreviat…¹
#> <int> <chr> <chr> <chr>
#> 1 301 PCL American Conference /api/v1/… PCLA
#> 2 302 PCL Pacific Conference /api/v1/… PCLP
#> # ℹ abbreviated name: ¹conference_abbreviation
#> # ℹ 6 more variables: has_wildcard <lgl>, 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.6.0 ──
#> ℹ Data updated: 2024-04-13 21:56:06 UTC
#> # A tibble: 1 × 10
#> conference_id conference_name link conference_abbreviat…¹
#> <int> <chr> <chr> <chr>
#> 1 301 PCL American Conference /api/v1/… PCLA
#> # ℹ abbreviated name: ¹conference_abbreviation
#> # ℹ 6 more variables: has_wildcard <lgl>, conference_name_short <chr>,
#> # league_id <int>, league_link <chr>, sport_id <int>,
#> # sport_link <chr>
# }