nhl_url_divisions: Create an NHL API URL for divisions

Description Usage Arguments Value Examples

View source: R/nhl_divisions.R

Description

Create an NHL API URL for divisions

Usage

1
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

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

nhlapi documentation built on Feb. 20, 2021, 9:06 a.m.