Skip to contents

Returns information on a conference by conference ID

Usage

nhl_conferences_info(conference_id)

Arguments

conference_id

Conference ID

Value

Returns a data frame

  • conference_id - conference ID

  • name - conference name

  • link - link to conference information

  • abbreviation - conference abbreviation

  • short_name - conference short name

  • active - active conference flag

Examples

# \donttest{
  try(nhl_conferences_info(conference_id = 7))
#> ── NHL Conferences Information from NHL.com ─────────────── fastRhockey 0.6.0 ──
#>  Data updated: 2023-03-08 07:46:44 UTC
#> # A tibble: 1 × 6
#>   conference_id name                link                  abbre…¹ short…² active
#>           <int> <chr>               <chr>                 <chr>   <chr>   <lgl> 
#> 1             7 World Cup of Hockey /api/v1/conferences/7 WCH     WCup    FALSE 
#> # … with abbreviated variable names ¹​abbreviation, ²​short_name
# }