Description Usage Arguments Value Examples
View source: R/nhl_standings.R
Retrieve metadata on NHL standings from the API
1 | 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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.