nhl_awards: Retrieve metadata on NHL awards from the API

Description Usage Arguments Value Examples

View source: R/nhl_awards.R

Description

Retrieve metadata on NHL awards from the API

Usage

1
nhl_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

data.frame, with information on awards, one row per award.

Examples

1
2
3
4
5
6
7
8
## Not run: 
  # Get information on all awards
  nhl_awards()

  # Get information on 3 historical awards
  nhl_awards(1:3)

## End(Not run)

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