add_calfdata: Update cow calving information to DataMuster MongoDB...

View source: R/add_calfdata.R

add_calfdataR Documentation

Update cow calving information to DataMuster MongoDB database.

Description

This function adds individual or groups of cow calving information in the DataMuster MongoDB database. If you need assistance please email info@datamuster.net.au to seek help or suggest improvements.

Usage

add_calfdata(
  RFID = NULL,
  MTag = NULL,
  calfRFID = NULL,
  calfMTag,
  property,
  date,
  weight = NULL,
  multiples = NULL,
  sex = NULL,
  username = NULL,
  password = NULL
)

Arguments

RFID

a list of cattle RFID number/s

MTag

a list of cattle management tag number/s

calfRFID

the calf's RFID tag number

calfMTag

the calf's management tag number

property

the name of the property

date

the calving date in date format

multiples

if the calf is a twin or single, TRUE or FALSE. Default is FALSE

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

calfweight

the calf's birthweight

calfsex

the calf's sex

Value

a message that indicates that the calving information has been successfully updated

Author(s)

Dave Swain d.swain@cqu.edu.au, Lauren O'Connor l.r.oconnor@cqu.edu.au, and Anita Chang a.chang@cqu.edu.au


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