Learn R Programming

baseballr (version 1.5.0)

get_ncaa_baseball_pbp: (legacy) Get Play-By-Play Data for NCAA Baseball Games

Description

(legacy) Get Play-By-Play Data for NCAA Baseball Games

(legacy) Get Play-By-Play Data for NCAA Baseball Games

Usage

get_ncaa_baseball_pbp(
  game_info_url = NA_character_,
  game_pbp_url = NA_character_,
  raw_html_to_disk = FALSE,
  raw_html_path = "/",
  read_from_file = FALSE,
  file = NA_character_,
  ...
)

ncaa_baseball_pbp( game_info_url = NA_character_, game_pbp_url = NA_character_, raw_html_to_disk = FALSE, raw_html_path = "/", read_from_file = FALSE, file = NA_character_, ... )

Value

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

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

Arguments

game_info_url

The url for the game's boxscore data. This can be found using the ncaa_schedule_info function.

game_pbp_url

The url for the game's play-by-play data. This can be found using the ncaa_schedule_info function.

raw_html_to_disk

Write raw html to disk (saves as game_pbp_id.html in raw_html_path directory)

raw_html_path

Directory path to write raw html

read_from_file

Read from raw html on disk

file

File with full path to read raw html

...

Additional arguments passed to an underlying function like httr.