Query the top 100 player's stats (sorted by total points) from the player's summary report endpoint on the NHL.com API.

player_stats(start_date = NULL, end_date = NULL)

Arguments

start_date

string: the start date

end_date

string: the end data

Value

data.frame

Details

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).

Examples

player_stats(start_date = "2019-10-02", end_date = "2020-02-28")