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

View source: R/getMotusDeviceID.R

getMotusDeviceIDR Documentation

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

Description

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

Usage

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


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