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

Description Usage Arguments Value Author(s)

Description

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

Usage

1
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


jbrzusto/motus-R-package documentation built on May 18, 2019, 7:03 p.m.