get_player_game_log {nhlscraper} | R Documentation |
Get game-log by player, season, and game-type
Description
get_player_game_log()
retrieves information on each game for a given set of player
, season
, and game_type
, including but not limited to their ID, date, and statistics. Access get_players()
for player
and get_seasons()
for season
references.
Usage
get_player_game_log(
player = 8480039,
season = get_season_now()$seasonId,
game_type = 2
)
Arguments
player |
integer Player ID |
season |
integer in YYYYYYYY |
game_type |
integer where 2=regular and 3=playoffs |
Value
tibble with one row per game
Examples
playoff_Mikko_Rantanen_gl_20242025 <- get_player_game_log(
player=8478420,
season=20242025,
game_type=3
)
[Package nhlscraper version 0.2.0 Index]