nhl_standings {nhlapi} | R Documentation |
Retrieve metadata on NHL standings from the API
Description
Retrieve metadata on NHL standings from the API
Usage
nhl_standings(seasons = NULL, standingsTypes = NULL, expand = NULL)
Arguments
seasons |
Alternatively, also accepts Some API endpoints, notably |
standingsTypes |
|
expand |
|
Value
list
, with information on standings
depending on provided arguments.
Examples
## 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)