scrape_inning_all: Scrape MLB Gameday Data

Description Usage Arguments Value Examples

View source: R/scrape_inning_all.R

Description

Function for obtaining PITCHf/x and other related Gameday Data. inning/inning_all.xml

Usage

1
scrape_inning_all(gids, db_name = "database")

Arguments

db_name

generating sqlite3 file name.

gid

character vector. vector of gameday_links.

Value

Nothing

Examples

1
2
3
data(game_ids, package = "pitchRx2")
gid <- str_subset(game_ids, "^gid_2017_04_05_")
scrape_inning_all(gid, "Gameday")

pontsuyu/pitchRx2 documentation built on Dec. 27, 2019, 8:09 a.m.