addcattle: Add cattle to DataMuster database

Description Usage Arguments Value Author(s)

Description

This function adds individual or groups of cattle to the DataMuster database. If you need assistance please email [email protected] to seek help or suggest improvements.

Usage

1
2
3
4
5
6
addcattle(RFID, MTag, category, property, paddock, weaned, date = NULL,
  breed = NULL, brand = NULL, horn = NULL, colour = NULL,
  sex = NULL, desexed = NULL, origin = NULL, DOB = NULL,
  birthWeight = NULL, damRFID = NULL, damMTag = NULL,
  sireRFID = NULL, sireMTag = NULL, username = NULL,
  password = NULL)

Arguments

RFID

this is a list of the cattle RFID numbers

MTag

this is a list of the cattle managemeny tag numbers

category

the class of animal (breeding or growing)

property

the name of the property to add the cattle

paddock

the name of the paddock to add the cattle

weaned

the weaned status of the animal. TRUE if cattle are weaned and FALSE if cattle are not weaned

date

provide the date that the animals were added, this has to be in date format. Default is today's date

breed

the animal's breed

brand

the animal's brand

horn

the animal's horn status

colour

the animal's sex, male or female

sex

the animal's sex, male or female

desexed

the animal's desexed status, TRUE if castrated/spayed, FALSE if entire

origin

the animal's previous location

DOB

the animal's date of bith, this has to be in date format

birthWeight

the animal's weight at bith

damRFID

the dam's RFID number

damMTag

the dam's management tag number

sireRFID

the sire's RFID number

sireMTag

the sire's management tag number

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 RFID tag number has been successfully updated

Author(s)

Dave Swain [email protected] and Lauren O'Connor [email protected]


PrecisionLivestockManagement/DMMongoDB documentation built on June 25, 2019, 7:52 p.m.