Skip to contents

Returns information on NHL divisions derived from standings data.

The original NHL Stats API divisions endpoint is no longer available. This function now extracts division information from the standings endpoint at api-web.nhle.com.

Usage

nhl_divisions(date = NULL)

Arguments

date

Character date in "YYYY-MM-DD" format. If NULL, returns current divisions.

Value

Returns a data frame with columns:

  • division_name - division name (e.g. "Atlantic", "Metropolitan")

  • division_abbrev - division abbreviation

  • conference_name - parent conference name

Examples

# \donttest{
   try(nhl_divisions())
#> ── NHL Divisions from NHL.com ───────────────────────────── fastRhockey 1.0.0 ──
#>  Data updated: 2026-04-08 07:40:09 UTC
#> # A tibble: 4 × 3
#>   division_name division_abbrev conference_name
#>   <chr>         <chr>           <chr>          
#> 1 Central       C               Western        
#> 2 Metropolitan  M               Eastern        
#> 3 Atlantic      A               Eastern        
#> 4 Pacific       P               Western        
# }