Get Play-By-Play Data for NCAA Baseball Games
Arguments
- game_info_url
The url for the game's play-by-play data. This can be found using the get_ncaa_schedule_info function.
Value
A data frame with play-by-play data for an individual game.
col_name | types |
date | character |
location | character |
attendance | logical |
inning | character |
inning_top_bot | character |
score | character |
batting | character |
fielding | character |
description | character |
Examples
# \donttest{
x <- ncaa_schedule_info(736, 2021)$game_info_url[2]
try(ncaa_baseball_pbp(game_info_url = x))
#> ── NCAA Baseball Play-by-Play data from stats.ncaa.org ─────────────────
#> ℹ Data updated: 2022-04-30 07:16:53 UTC
#> # A tibble: 83 × 9
#> date location attendance inning inning_top_bot score batting
#> <chr> <chr> <lgl> <chr> <chr> <chr> <chr>
#> 1 02/22/2021 Nashville,… NA 1 top 0-0 Wright…
#> 2 02/22/2021 Nashville,… NA 1 top 0-0 Wright…
#> 3 02/22/2021 Nashville,… NA 1 top 0-0 Wright…
#> 4 02/22/2021 Nashville,… NA 1 bot 0-0 Vander…
#> 5 02/22/2021 Nashville,… NA 1 bot 0-0 Vander…
#> 6 02/22/2021 Nashville,… NA 1 bot 0-0 Vander…
#> 7 02/22/2021 Nashville,… NA 1 bot 0-0 Vander…
#> 8 02/22/2021 Nashville,… NA 1 bot 0-0 Vander…
#> 9 02/22/2021 Nashville,… NA 2 top 0-0 Wright…
#> 10 02/22/2021 Nashville,… NA 2 top 0-0 Wright…
#> # … with 73 more rows, and 2 more variables: fielding <chr>,
#> # description <chr>
# }