Description Usage Arguments Value Examples
Retrieves information on players from the NHL API based on
playerNames
or playerIds
. If playerNames
are provided,
they take precedence over playerIds
.
1 | nhl_players(playerNames, playerIds = NULL)
|
playerNames |
|
playerIds |
|
data.frame
, with information on selected players.
1 2 3 4 5 6 7 8 | ## Not run:
# With player names
nhl_players(c("joe SAKIC", "patrick roy"))
# With playerIds
nhl_players(playerIds = c(8451101, 8458554))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.