Learn R Programming

nhlapi (version 0.1.4)

nhl_url_conferences: Create an NHL API URL for conferences

Description

Create an NHL API URL for conferences

Usage

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

Run this code
# NOT RUN {
  nhlapi:::nhl_url_conferences()
  nhlapi:::nhl_url_conferences(1:3)

# }

Run the code above in your browser using DataLab