August 12th, 2015

Acquiring PITCHf/x

library(pitchRx)
# returns a list of related tables (see diagram below)
dat <- scrape(start = "2008-01-01", end = Sys.Date())

Storing PITCHf/x

db <- dplyr::src_sqlite("pitchRx.sqlite3", create = TRUE)
pitchRx::scrape(start = "2008-01-01", end = Sys.Date(), connect = db$con)
  • Any database connection should work!
  • Writes data in streaming chunks to avoid exhausting memory.
  • Keeping your database up-to-date is also easy!
    update_db(db$con)

Animating PITCHf/x