recorddeath: Record a cattle death on the DataMuster MongoDB database.

View source: R/recorddeath.R

recorddeathR Documentation

Record a cattle death on the DataMuster MongoDB database.

Description

This function removes individual or groups of cattle from a station on the DataMuster MongoDB database. If you need assistance please email info@datamuster.net.au to seek help or suggest improvements.

Usage

recorddeath(
  RFID,
  MTag,
  property,
  date = NULL,
  cause = NULL,
  username = NULL,
  password = NULL
)

Arguments

RFID

a list of cattle RFID number/s

MTag

a list of cattle management tags

property

the name of the property to search for

date

the date that the animal died in date format, default is today's date

cause

the cause of death

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 that the cow has successfully been assigned a dead status

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.