powered by
Create an NHL API URL for drafts
nhl_url_drafts(draftYears = NULL)
integer(), vector of one or more years in YYYY format or NULL (default) for the current year's draft. Also accepts a character vector of years in YYYY format.
integer()
YYYY
NULL
character(), API URLs, same length as draftYears or length 1 if draftYears is NULL.
character()
draftYears
1
# NOT RUN { nhlapi:::nhl_url_drafts() nhlapi:::nhl_url_drafts(2015:2017) # }
Run the code above in your browser using DataLab