powered by
Create an NHL API URL for divisions
nhl_url_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
character(), of same length as teamIds or length 1 if teamIds is NULL.
character()
teamIds
1
# NOT RUN { nhlapi:::nhl_url_divisions() nhlapi:::nhl_url_divisions(1:3) # }
Run the code above in your browser using DataLab