p_gamelogs | R Documentation |
Get NBA Stats API Player Game Logs
Get NBA Stats API Player Game Logs
nba_playergamelogs( date_from = "", date_to = "", game_segment = "", last_n_games = 0, league_id = "00", location = "", measure_type = "Base", month = 0, opponent_team_id = 0, outcome = "", po_round = "", per_mode = "Totals", period = 0, player_id = "2544", season = "2020-21", season_segment = "", season_type = "Regular Season", team_id = "", vs_conference = "", vs_division = "" )
date_from |
date_from |
date_to |
date_to |
game_segment |
game_segment |
last_n_games |
last_n_games |
league_id |
League - default: '00'. Other options include '10': WNBA, '20': G-League |
location |
location |
measure_type |
measure_type |
month |
month |
opponent_team_id |
opponent_team_id |
outcome |
outcome |
po_round |
po_round |
per_mode |
per_mode |
period |
period |
player_id |
Player ID |
season |
Season - format 2020-21 |
season_segment |
season_segment |
season_type |
Season Type - Regular Season, Playoffs, All-Star |
team_id |
team_id |
vs_conference |
vs_conference |
vs_division |
vs_division |
Return a named list of data frames: PlayerGameLogs
Saiem Gilani
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.