Description Usage Arguments Value Examples
Get the NHL standings, including historical standings. Or, get one single standing
1 | getStandings(standingsType = NULL, season = NULL, expand = FALSE)
|
standingsType |
Optional, get specific standing type. See |
season |
Get statndings for a specific season. If null, current season returned. Season should be in format 20172018. Overrides date specification. |
expand |
Whether to return detailed information from each team. |
The API output of standings
1 2 3 4 5 | # get standings
standings <- getStandings()
#Get standings from 20182009
standings <- getStandings(season = 20082009)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.