Get ESPN NBA player box scores
Value
A player boxscore data frame
Player
col_name | types |
game_id | integer |
season | integer |
season_type | integer |
game_date | Date |
game_date_time | POSIXct |
athlete_id | integer |
athlete_display_name | character |
team_id | integer |
team_name | character |
team_location | character |
team_short_display_name | character |
minutes | numeric |
field_goals_made | integer |
field_goals_attempted | integer |
three_point_field_goals_made | integer |
three_point_field_goals_attempted | integer |
free_throws_made | integer |
free_throws_attempted | integer |
offensive_rebounds | integer |
defensive_rebounds | integer |
rebounds | integer |
assists | integer |
steals | integer |
blocks | integer |
turnovers | integer |
fouls | integer |
plus_minus | character |
points | integer |
starter | logical |
ejected | logical |
did_not_play | logical |
reason | character |
active | logical |
athlete_jersey | character |
athlete_short_name | character |
athlete_headshot_href | character |
athlete_position_name | character |
athlete_position_abbreviation | character |
team_display_name | character |
team_uid | character |
team_slug | character |
team_logo | character |
team_abbreviation | character |
team_color | character |
team_alternate_color | character |
home_away | character |
team_winner | logical |
team_score | integer |
opponent_team_id | integer |
opponent_team_name | character |
opponent_team_location | character |
opponent_team_display_name | character |
opponent_team_abbreviation | character |
opponent_team_logo | character |
opponent_team_color | character |
opponent_team_alternate_color | character |
opponent_team_score | integer |
See also
Other ESPN NBA Functions:
espn_nba_betting()
,
espn_nba_game_all()
,
espn_nba_game_rosters()
,
espn_nba_pbp()
,
espn_nba_player_stats()
,
espn_nba_scoreboard()
,
espn_nba_standings()
,
espn_nba_team_box()
,
espn_nba_team_stats()
,
espn_nba_teams()
,
espn_nba_wp()
Examples
# \donttest{
try(espn_nba_player_box(game_id = 401071880))
#> ── ESPN NBA Player Box Information from ESPN.com ──────────────── hoopR 2.1.0 ──
#> ℹ Data updated: 2023-11-28 22:10:04 UTC
#> # A tibble: 26 × 57
#> game_id season season_type game_date game_date_time athlete_id
#> <int> <int> <int> <date> <dttm> <int>
#> 1 401071880 2019 2 2019-04-07 2019-04-07 21:00:00 3058254
#> 2 401071880 2019 2 2019-04-07 2019-04-07 21:00:00 3133626
#> 3 401071880 2019 2 2019-04-07 2019-04-07 21:00:00 3135048
#> 4 401071880 2019 2 2019-04-07 2019-04-07 21:00:00 2489785
#> 5 401071880 2019 2 2019-04-07 2019-04-07 21:00:00 2583639
#> 6 401071880 2019 2 2019-04-07 2019-04-07 21:00:00 3919335
#> 7 401071880 2019 2 2019-04-07 2019-04-07 21:00:00 2488958
#> 8 401071880 2019 2 2019-04-07 2019-04-07 21:00:00 2585637
#> 9 401071880 2019 2 2019-04-07 2019-04-07 21:00:00 6583
#> 10 401071880 2019 2 2019-04-07 2019-04-07 21:00:00 3064514
#> # ℹ 16 more rows
#> # ℹ 51 more variables: athlete_display_name <chr>, team_id <int>,
#> # team_name <chr>, team_location <chr>, team_short_display_name <chr>,
#> # minutes <dbl>, field_goals_made <int>, field_goals_attempted <int>,
#> # three_point_field_goals_made <int>,
#> # three_point_field_goals_attempted <int>, free_throws_made <int>,
#> # free_throws_attempted <int>, offensive_rebounds <int>, …
# }