nhl_teams {nhlapi} | R Documentation |
Retrieves team metadata such as the teams names, abbreviations, locations, conferences, venues, etc.
nhl_teams(teamIds = NULL, params = NULL)
teamIds |
|
params |
|
The API allows to retrieve data on all teams at once,
which is achieved by the default NULL
value for the team id.
data.frame
, with data on teams, one row per team.
## Not run:
nhl_teams()
nhl_teams(1:3)
## End(Not run)