Skip to contents

Returns information on divisions

Usage

nhl_divisions()

Value

Returns a data frame

  • division_id -

  • name -

  • name_short -

  • link -

  • abbreviation -

  • active -

  • conference_id -

  • conference_name -

  • conference_link -

Examples

# \donttest{
   try(nhl_divisions())
#> ── NHL Divisions from NHL.com ───────────────────────────── fastRhockey 0.6.0 ──
#>  Data updated: 2023-03-08 07:46:44 UTC
#> # A tibble: 4 × 9
#>   division_id name         name_s…¹ link  abbre…² active confe…³ confe…⁴ confe…⁵
#>         <int> <chr>        <chr>    <chr> <chr>   <lgl>    <int> <chr>   <chr>  
#> 1          17 Atlantic     ATL      /api… A       TRUE         6 Eastern /api/v…
#> 2          16 Central      CEN      /api… C       TRUE         5 Western /api/v…
#> 3          18 Metropolitan Metro    /api… M       TRUE         6 Eastern /api/v…
#> 4          15 Pacific      PAC      /api… P       TRUE         5 Western /api/v…
#> # … with abbreviated variable names ¹​name_short, ²​abbreviation, ³​conference_id,
#> #   ⁴​conference_name, ⁵​conference_link
# }