nhl_standings {nhlapi} | R Documentation |
Retrieve metadata on NHL standings from the API
nhl_standings(seasons = NULL, standingsTypes = NULL, expand = NULL)
seasons |
Alternatively, also accepts Some API endpoints, notably |
standingsTypes |
|
expand |
|
list
, with information on standings
depending on provided arguments.
## Not run:
# Get current standings
nhl_standings()
# Get standings for historical seasons
nhl_standings(seasons = 2015:2016)
# Get standings for historical seasons
nhl_standings(
seasons = 2015:2016,
standingsType = "byDivision",
expand = "standings.record"
)
## End(Not run)