Description Usage Arguments Value Examples
View source: R/nhl_draft_prospects.R
Retrieve metadata on NHL draft prospects from the API
1 | nhl_draft_prospects(prospectIds = NULL)
|
prospectIds |
|
data.frame
, with information on draft prospects, one row
per draft prospect.
1 2 3 4 5 | ## Not run:
# Get information on current draft prospects
nhl_draft_prospects()
## End(Not run)
|
09:32:25 | 6 | W | nhl_from_json https://statsapi.web.nhl.com/api/v1/draft/prospects error for attempt no: 0 Could not resolve host: statsapi.web.nhl.com
09:32:26 | 6 | W | nhl_from_json https://statsapi.web.nhl.com/api/v1/draft/prospects error for attempt no: 1 Could not resolve host: statsapi.web.nhl.com
09:32:27 | 6 | W | nhl_from_json https://statsapi.web.nhl.com/api/v1/draft/prospects error for attempt no: 2 Could not resolve host: statsapi.web.nhl.com
09:32:27 | 4 | E | The following 1 of 1 url retrievals errored:$ https://statsapi.web.nhl.com/api/v1/draft/prospects
data frame with 0 columns and 0 rows
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.