Get NFL boxscore for players for a specific game from ESPN's API

get_nfl_boxscore_players(game_id)

Arguments

game_id

character

Value

Returns a tibble

Examples

# Get NFL play-by-play for a specific game get_nfl_boxscore_players(game_id = "300912027")
#> # A tibble: 87 × 84 #> game_id game_uid season season_type date week home_away winner team_id #> <chr> <chr> <int> <int> <chr> <int> <chr> <int> <chr> #> 1 300912027 s:20~l:28… 2010 2 2010-… 1 away 0 5 #> 2 300912027 s:20~l:28… 2010 2 2010-… 1 away 0 5 #> 3 300912027 s:20~l:28… 2010 2 2010-… 1 away 0 5 #> 4 300912027 s:20~l:28… 2010 2 2010-… 1 away 0 5 #> 5 300912027 s:20~l:28… 2010 2 2010-… 1 away 0 5 #> 6 300912027 s:20~l:28… 2010 2 2010-… 1 away 0 5 #> 7 300912027 s:20~l:28… 2010 2 2010-… 1 away 0 5 #> 8 300912027 s:20~l:28… 2010 2 2010-… 1 away 0 5 #> 9 300912027 s:20~l:28… 2010 2 2010-… 1 away 0 5 #> 10 300912027 s:20~l:28… 2010 2 2010-… 1 away 0 5 #> # … with 77 more rows, and 75 more variables: team_uid <chr>, team_city <chr>, #> # team_name <chr>, team_abb <chr>, team_full <chr>, team_color <chr>, #> # team_color_alt <chr>, team_logo <chr>, team_order <int>, team_score <int>, #> # team_record <chr>, text <chr>, player_id <chr>, player_uid <chr>, #> # player_guid <chr>, first_name <chr>, last_name <chr>, full_name <chr>, #> # pass_att <int>, pass_cmp <int>, pass_yds <dbl>, pass_avg <dbl>, #> # pass_td <dbl>, pass_int <dbl>, pass_sacks <dbl>, pass_sack_yds <dbl>, …