getMotusDeviceID: Get the motus device ID for a receiver, given its database.

Description Usage Arguments Value Note Author(s)

Description

Get the motus device ID for a receiver, given its database.

Usage

1
getMotusDeviceID(src, useFirst = FALSE)

Arguments

src

dplyr src_sqlite to receiver database, or a character serial number

useFirst

if TRUE, the first receiver matching the given serial number is used. if FALSE and more than one receiver matches, fail with an error.

Value

the sensor ID, an integer

Note

As a side-effect, the motus device ID is also stored in the receiver database "meta" table, with key "deviceID"

Author(s)

John Brzustowski jbrzusto@REMOVE_THIS_PART_fastmail.fm


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