Skip to contents

Returns information on a division by division ID

Usage

nhl_divisions_info(division_id)

Arguments

division_id

Division ID

Value

Returns a data frame

  • division_id -

  • name -

  • name_short -

  • link -

  • abbreviation -

  • active -

  • conference_id -

  • conference_name -

  • conference_link -

Examples

# \donttest{
  try(nhl_divisions_info(division_id=17))
#> ── NHL Divisions Information from NHL.com ───────────────── fastRhockey 0.6.0 ──
#>  Data updated: 2023-03-08 07:46:45 UTC
#> # A tibble: 1 × 9
#>   division_id name     name_short link    abbre…¹ active confe…² confe…³ confe…⁴
#>         <int> <chr>    <chr>      <chr>   <chr>   <lgl>    <int> <chr>   <chr>  
#> 1          17 Atlantic ATL        /api/v… A       TRUE         6 Eastern /api/v…
#> # … with abbreviated variable names ¹​abbreviation, ²​conference_id,
#> #   ³​conference_name, ⁴​conference_link
# }