Learn R Programming

fastRhockey (version 0.4.0)

nhl_teams_roster: NHL Teams Roster

Description

Returns NHL Teams roster information for a given team ID

Usage

nhl_teams_roster(team_id, season = most_recent_nhl_season_api_param())

Value

Returns a tibble

Arguments

team_id

A unique team ID

season

season in format XXXXYYYY

Examples

Run this code
# \donttest{
  try(nhl_teams_roster(team_id = 14, season = 20202021))
# }

Run the code above in your browser using DataLab