add_gps: Add GPS data to the DataMuster MongoDB database

View source: R/add_gps.R

add_gpsR Documentation

Add GPS data to the DataMuster MongoDB database

Description

This function adds GPS data to the DataMuster MongoDB database. If you need assistance please email info@datamuster.net.au to seek help or suggest improvements.

Usage

add_gps(
  RFID,
  mtag,
  DateTime,
  roundedtime,
  lat,
  long,
  proximity,
  neighbour,
  username,
  password
)

Arguments

RFID

a list of cattle RFID number/s

DateTime

a list of timestamps in POSIXct format

lat

the latitude of a coordinate point

long

the longitude of a coordinate point

username

if you don't have a username set up using the dmaccess function you can pass a username, if no value added then the function looks for a value from dmaccess via keyring

password

if you include a username you will also need to add a password contact Lauren O'Connor if you don't have access

Value

a message that indicates the data has been successfully added

Author(s)

Dave Swain d.swain@cqu.edu.au and Lauren O'Connor l.r.oconnor@cqu.edu.au


PrecisionLivestockManagement/DMMongoDB documentation built on Aug. 22, 2023, 10:57 a.m.