Get ESPN men's college basketball PBP data

espn_mbb_pbp(game_id)

Arguments

game_id

Game ID

Value

A play-by-play data frame.

Author

Saiem Gilani

Examples

# \donttest{
  try(espn_mbb_pbp(game_id = 401256760))
#> # A tibble: 353 × 17
#>    shooting_play sequence_number home_score scoring_play away_score id     text 
#>    <lgl>         <chr>                <int> <lgl>             <int> <chr>  <chr>
#>  1 TRUE          101805901                0 FALSE                 0 40125… M.J.…
#>  2 FALSE         101806301                0 FALSE                 0 40125… RaiQ…
#>  3 TRUE          101806302                2 TRUE                  0 40125… RaiQ…
#>  4 TRUE          101808801                2 FALSE                 0 40125… Scot…
#>  5 FALSE         101809001                2 FALSE                 0 40125… Bals…
#>  6 TRUE          101814501                2 FALSE                 0 40125… Bals…
#>  7 FALSE         101814502                2 FALSE                 0 40125… Flor…
#>  8 TRUE          101817001                2 TRUE                  3 40125… Tre …
#>  9 FALSE         101818201                2 FALSE                 3 40125… RaiQ…
#> 10 FALSE         101818202                2 FALSE                 3 40125… Tre …
#> # … with 343 more rows, and 10 more variables: score_value <int>,
#> #   period_display_value <chr>, period_number <int>, clock_display_value <chr>,
#> #   team_id <chr>, type_id <chr>, type_text <chr>, play_id <chr>,
#> #   athlete_id_1 <chr>, athlete_id_2 <chr>
# }