Description Usage Arguments Details Value Examples
Query the top 100 player's stats (sorted by total points) from the player's summary report endpoint on the NHL.com API.
1 | player_stats(start_date = NULL, end_date = NULL)
|
start_date |
string: the start date |
end_date |
string: the end data |
The stats are queried on an aggregated game-by-game basis for a range of dates. If no date is specified the function will return the player's stats for the current season. The stats to be returned are restricted to the regular season.
The function will return the current season's stats if the arguments are blank (i.e. left as None).
data.frame
1 | player_stats(start_date = "2019-10-02", end_date = "2020-02-28")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.