nhl_drafts {nhlapi} | R Documentation |
Retrieve metadata on NHL drafts from the API
Description
Retrieve metadata on NHL drafts from the API
Usage
nhl_drafts(draftYears = NULL)
Arguments
draftYears |
|
Value
data.frame
, with information on drafts, one row
per draft year.
Examples
## Not run:
# Get information on current draft
nhl_drafts()
# Get information on 3 historical drafts
nhl_drafts(2015:2017)
## End(Not run)
[Package nhlapi version 0.1.4 Index]