update_db Updates a RSQLite database with nflfastR data of all completed games since 1999.

update_db(
  dbdir = ".",
  dbname = "pbp_db",
  tblname = "nflfastR_pbp",
  force_rebuild = FALSE
)

Arguments

dbdir

Directory in which the database is or shall be located

dbname

File name of an existing or desired database within dbdir

tblname

The name of the play by play data table within the database

force_rebuild

Logical parameter to rebuild the play by play data table within the database from scratch in case the cleaned data were updated