getRecvSrc: Get the src_sqlite for a receiver database given its serial...

Description Usage Arguments Value Author(s)

Description

receiver database files are stored in a single directory, and have names like "SG-XXXXBBBKYYYY.motus" or "Lotek-NNNNN.motus"

Usage

1
getRecvSrc(serno, dbdir = MOTUS_PATH$RECV, create = TRUE)

Arguments

serno

receiver serial number

dbdir

path to folder with existing receiver databases Default: MOTUS_PATH$RECV

create

logical scalar; if TRUE, create the database if it doesn't already exist.

Value

a src_sqlite for the receiver; if the receiver is new, and create==TRUE this database will be empty, but have the correct schema. If the receiver is new and create==FALSE, return NULL. If serno does not have the form of a valid serial number, raise an 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.