nhl_url_conferences: Create an NHL API URL for conferences

Description Usage Arguments Value Examples

View source: R/nhl_conferences.R

Description

Create an NHL API URL for conferences

Usage

1
nhl_url_conferences(conferenceIds = NULL)

Arguments

conferenceIds

integer(), ids of the conferences or NULL (default) for all conferences As of end of 2019, the valid conference ids seem to be in the 1:7 range.

Value

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

Examples

1
2
  nhlapi:::nhl_url_conferences()
  nhlapi:::nhl_url_conferences(1:3)

jozefhajnala/nhlapi documentation built on March 11, 2021, 3:57 p.m.