addgps: Add GPS data to the AnitaGPS collection in the PLMResearch...

Description Usage Arguments Value Author(s)

View source: R/addmlresults.R View source: R/addgps.R

Description

This function adds GPS data from Anita's Belmont trial to the MongoDB database.

This function adds GPS data from Anita's Belmont trial to the MongoDB database.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
addgps(
  RFID,
  mtag,
  date,
  time,
  svm,
  cart,
  calvingdate,
  username = user,
  password = pass
)

addgps(
  RFID,
  mtag,
  date,
  time,
  svm,
  cart,
  calvingdate,
  username = user,
  password = pass
)

Arguments

RFID

a list of cattle RFID number/s

mtag

a list of cattle management tag number/s

date

the date of the coordinate point

username

username for use with Anita's App

password

password for use with Anita's App

hour

the hour of the coordinate point

roundedtime

the timestamp of the coordinate point, rounded to the closest 5 minutes

timestamp

the timestamp of the coordinate point

latitude

the latitude of the coordinate point

longitude

the longitude of the coorindate point

status

the calving status of the cow

Value

a message that indicates the data has been successfully added

a message that indicates the data has been successfully added

Author(s)

Anita Chang a.chang@cqu.edu.au

Anita Chang a.chang@cqu.edu.au


PrecisionLivestockManagement/AppAnita documentation built on Oct. 2, 2020, 12:29 p.m.