nhl_url_divisions {nhlapi}R Documentation

Create an NHL API URL for divisions

Description

Create an NHL API URL for divisions

Usage

nhl_url_divisions(divisionIds = NULL)

Arguments

divisionIds

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.

Value

character(), of same length as teamIds or length 1 if teamIds is NULL.

Examples

  nhlapi:::nhl_url_divisions()
  nhlapi:::nhl_url_divisions(1:3)


[Package nhlapi version 0.1.4 Index]