mlbgameday: Data Storage

Kris Eberwein

2018-04-30

library(mlbgameday)
library(RSQLite)

# Create an empty database instance.
con <- dbConnect(RSQLite::SQLite(), dbname = "mlbgameday.sqlite3")

get_payload(start = "2018-01-01", end = "2018-03-28", db_con = con)
## Gathering Gameday data, please be patient...
## Processing data chunk 1 of 2
## Processing data chunk 2 of 2
## Transaction complete, disconnecting from the database. 2018-04-30 15:10:28