Learn R Programming

nhlapi (version 0.1.4)

nhl_conferences: Retrieve metadata on NHL conferences from the API

Description

Retrieve metadata on NHL conferences from the API

Usage

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

Run this code
# NOT RUN {
  # Get information on all conferences
  nhl_conferences()

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

Run the code above in your browser using DataLab