nhl_conferences: Retrieve metadata on NHL conferences from the API

Description Usage Arguments Value Examples

View source: R/nhl_conferences.R

Description

Retrieve metadata on NHL conferences from the API

Usage

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

data.frame, with information on conferences, one row per conference.

Examples

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

  # Get information on 2 selected conferences
  nhl_conferences(5:6)

## End(Not run)

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