getMotusDBSrc: Get the src_sqlite for a receiver or tag database

Description Usage Arguments Value Author(s)

Description

Receiver database files have names like "SG-1234BBBK06EA.motus" or "Lotek-12345.motus", and project database files have names like "project-52.motus".

Usage

1
2
getMotusDBSrc(recv = NULL, proj = NULL, create = FALSE,
  dbDir = Motus$dbDir)

Arguments

recv

receiver serial number

proj

integer motus project number exactly one of 'proj' or 'recv' must be specified.

create

Is this a new database? Default: FALSE. Same semantics as for src_sqlite()'s parameter of the same name: the DB must already exist unless you specify create=TRUE

dbDir

path to folder with existing receiver databases Default: Motus$dbDir, which is set to the current folder by getwd() when this library is loaded.

Value

a src_sqlite for the receiver; if the receiver is new, this database will be empty, but have the correct schema.

Author(s)

John Brzustowski jbrzusto@REMOVE_THIS_PART_fastmail.fm


jbrzusto/motusClient documentation built on May 30, 2019, 4:33 p.m.