ensureTagProjDB: make sure a tag project database has the required tables;...

View source: R/ensureTagProjDB.R

ensureTagProjDBR Documentation

make sure a tag project database has the required tables; also, load custom SQLite extensions on this DB connection.

Description

make sure a tag project database has the required tables; also, load custom SQLite extensions on this DB connection.

Usage

ensureTagProjDB(src, recreate = c(), projectID)

Arguments

src

dplyr sqlite src, as returned by dplyr::src_sqlite()

recreate

vector of table names which should be dropped then re-created, losing any existing data. Defaults to empty vector, meaning no tables are recreate. As a special case, TRUE causes all tables to be dropped then recreated.

projectID

motus project ID; this DB will hold tag detections from one motus project

Value

returns NULL (silently); fails on any error

Author(s)

John Brzustowski jbrzusto@REMOVE_THIS_PART_fastmail.fm


MotusWTS/motusServer documentation built on Oct. 13, 2024, 7:31 p.m.