Skip to contents

Get NBA G-League Stats API Live Boxscore

Get NBA G-League Stats API Live Boxscore

Usage

nbagl_live_boxscore(game_id, ...)

Arguments

game_id

Game ID

...

Additional arguments passed to an underlying function like httr.

Value

Returns a named list of data frames: game_details, arena, officials, home_team_boxscore, away_team_boxscore, home_team_player_boxscore, away_team_player_boxscore, home_team_linescores, away_team_linescores

game_details

Columns as documented in the shared nba_live_boxscore_game_details_schema table.

arena

Columns as documented in the shared nba_live_boxscore_arena_schema table.

officials

Columns as documented in the shared nba_live_boxscore_officials_schema table.

home_team_boxscore

Columns as documented in the shared nba_live_boxscore_home_team_boxscore_schema table.

away_team_boxscore

Columns as documented in the shared nba_live_boxscore_home_team_boxscore_schema table.

home_team_player_boxscore

Columns as documented in the shared nba_live_boxscore_home_team_player_boxscore_schema table.

away_team_player_boxscore

Columns as documented in the shared nba_live_boxscore_home_team_player_boxscore_schema table.

home_team_linescores

col_nametypesdescription
periodintegerPeriod of the game (1-4 quarters; 5+ for OT).
period_typecharacterPeriod type.
scoreintegerFinal score.

away_team_linescores

col_nametypesdescription
periodintegerPeriod of the game (1-4 quarters; 5+ for OT).
period_typecharacterPeriod type.
scoreintegerFinal score.

Details

 nbagl_live_boxscore(game_id = "2052500034")

Author

Saiem Gilani