Learn R Programming

baseballr (version 1.3.0)

ncaa_baseball_pbp: Get Play-By-Play Data for NCAA Baseball Games

Description

Get Play-By-Play Data for NCAA Baseball Games

Usage

ncaa_baseball_pbp(game_info_url)

Value

A data frame with play-by-play data for an individual game.

col_nametypes
datecharacter
locationcharacter
attendancelogical
inningcharacter
inning_top_botcharacter
scorecharacter
battingcharacter
fieldingcharacter
descriptioncharacter

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.

Examples

Run this code
# \donttest{
  x <- ncaa_schedule_info(736, 2021)$game_info_url[2]
  try(ncaa_baseball_pbp(game_info_url = x))
# }

Run the code above in your browser using DataLab