nhl_teams {nhlapi} | R Documentation |
Retrieve metadata on NHL teams from the API
Description
Retrieves team metadata such as the teams names, abbreviations, locations, conferences, venues, etc.
Usage
nhl_teams(teamIds = NULL, params = NULL)
Arguments
teamIds |
|
params |
|
Details
The API allows to retrieve data on all teams at once,
which is achieved by the default NULL
value for the team id.
Value
data.frame
, with data on teams, one row per team.
Examples
## Not run:
nhl_teams()
nhl_teams(1:3)
## End(Not run)
[Package nhlapi version 0.1.4 Index]