Description Usage Arguments Value Examples
fetch all games stats for a specific player from the nhl api
1 | fetch_player_games_stats(player_id, season = "")
|
player_id |
a number or string that represent the id of an nhl player |
season |
a number of string, if you want to specify a specific season , example 20182019 |
data.table that contains all stats for the requested player
1 2 | fetch_player_games_stats(8470642)
fetch_player_games_stats(8470642, 20162017)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.