cleanup: remove old processed data from a receiver database.

Description Usage Arguments Author(s)

View source: R/cleanup.R

Description

This deletes all output and record of processing. Original raw data is not affected.

Usage

1
cleanup(src, dropTables = FALSE, vacuum = dropFiles, dropFiles = FALSE)

Arguments

src

dplyr src_sqlite to receiver database

dropTables

boolean; if TRUE, erase all output tables, rather than just emptying them. This makes sense if their schema has changed, but is usually not required, so the default is FALSE.

vacuum

boolean; if TRUE, free unused storage from the database. This can be slow, as the entire database is rewritten. Default: dropFiles, so normally FALSE.

dropFiles

boolean; if TRUE, also delete all raw data files and information about them which are stored in the DB. WARNING: do not do this unless you have copies of the files stored elsewhere, e.g. in MOTUS_PATH$file_repo. Default: FALSE.

Author(s)

John Brzustowski jbrzusto@REMOVE_THIS_PART_fastmail.fm


jbrzusto/motusServer documentation built on May 19, 2019, 8:19 a.m.