Get ESPN NBA team box scores

espn_nba_team_box(game_id)

Arguments

game_id

Game ID

Value

A team boxscore data frame

Author

Saiem Gilani

Examples

# \donttest{
  try(espn_nba_team_box(game_id = 401283399))
#>     game_id season season_type  game_date team_short_display_name
#> 1 401283399   2021           2 2021-02-18                 Thunder
#> 2 401283399   2021           2 2021-02-18               Grizzlies
#>         team_uid team_alternate_color team_color     team_display_name
#> 1 s:40~l:46~t:25               f05133     C67C03 Oklahoma City Thunder
#> 2 s:40~l:46~t:29               7399c6     5D76A8     Memphis Grizzlies
#>   team_name                                         team_logo team_location
#> 1   Thunder https://a.espncdn.com/i/teamlogos/nba/500/okc.png Oklahoma City
#> 2 Grizzlies https://a.espncdn.com/i/teamlogos/nba/500/mem.png       Memphis
#>   team_id team_abbreviation             team_slug
#> 1      25               OKC oklahoma-city-thunder
#> 2      29               MEM     memphis-grizzlies
#>   field_goals_made_field_goals_attempted field_goal_pct
#> 1                                  35-78           44.9
#> 2                                  42-83           50.6
#>   three_point_field_goals_made_three_point_field_goals_attempted
#> 1                                                          19-41
#> 2                                                          12-26
#>   three_point_field_goal_pct free_throws_made_free_throws_attempted
#> 1                       46.3                                  24-28
#> 2                       46.2                                  26-33
#>   free_throw_pct total_rebounds offensive_rebounds defensive_rebounds assists
#> 1           85.7             43                  6                 33      25
#> 2           78.8             52                  7                 37      31
#>   steals blocks turnovers team_turnovers total_turnovers technical_fouls
#> 1      5      3        18              0              18               0
#> 2     14      4        12              1              13               3
#>   total_technical_fouls flagrant_fouls turnover_points fast_break_points
#> 1                     0              0              23                 5
#> 2                     3              0              17                16
#>   points_in_paint fouls largest_lead home_away opponent_id opponent_name
#> 1              24    25            4      HOME          29       Memphis
#> 2              52    18           15      AWAY          25 Oklahoma City
#>   opponent_mascot opponent_abbrev
#> 1       Grizzlies             MEM
#> 2         Thunder             OKC
# }