nhl_seasons {nhlapi} | R Documentation |
Retrieve metadata on NHL seasons from the API
Description
Retrieve metadata on NHL seasons from the API
Usage
nhl_seasons(seasons = NULL)
Arguments
seasons |
Alternatively, also accepts Some API endpoints, notably |
Value
data.frame
, with information on seasons, one row
per year.
Examples
## Not run:
# Get information on all seasons
nhl_seasons()
# Get information on 3 historical seasons
nhl_seasons(2015:2017)
## End(Not run)
[Package nhlapi version 0.1.4 Index]