Learn R Programming

nhlapi (version 0.1.4)

nhl_url_awards: Create an NHL API URL for awards

Description

Create an NHL API URL for awards

Usage

nhl_url_awards(awardIds = NULL)

Arguments

awardIds

integer(), vector of one or more award ids or NULL (default) for all awards. The current set of valid ids seems to be 1:24.

Value

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

Examples

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

# }

Run the code above in your browser using DataLab