powered by
Retrieve metadata on NHL divisions from the API
nhl_divisions(divisionIds = NULL)
integer(), ids of the divisions or NULL (default) for all divisions. As of end of 2019, the valid division ids seem to be in the 1:25 range.
integer()
NULL
1:25
data.frame, with information on divisions, one row per division.
data.frame
# NOT RUN { # Get information on all divisions nhl_divisions() # Get information on 2 selected divisions nhl_divisions(15:16) # }
Run the code above in your browser using DataLab