addcattle: Add cattle data to the AnitaCattle collection in the...

Description Usage Arguments Value Author(s)

View source: R/addcattle.R

Description

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

Usage

1
2
3
4
5
6
7
8
9
addcattle(
  RFID,
  mtag,
  calvingdate,
  calvingtype,
  paddock,
  username = user,
  password = pass
)

Arguments

RFID

a list of cattle RFIDs

mtag

a list of cattle management tags

calvingdate

a list of cattle calving dates

paddock

a list of cattle paddocks

username

username for use with Anita's App

password

password for use with Anita's App

calving

a list of calving styles

date

a list of dates for the data

hour

a list of hours for the data

status

a list of cow statuses for the given timestamp

Value

a message that indicates the data has been successfully added

Author(s)

Anita Chang a.chang@cqu.edu.au


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