View source: R/update_calvingdata.R
update_calvingdata | R Documentation |
This function updates individual or groups of cow calving information in the Cattle and CalvingData Collections in the DataMuster MongoDB database. If you need assistance please email info@datamuster.net.au to seek help or suggest improvements.
update_calvingdata(
RFID = NULL,
MTag = NULL,
season,
property,
calfMTag = NULL,
date = NULL,
multiples = NULL,
algdev = NULL,
username = NULL,
password = NULL
)
RFID |
a list of cattle RFID tag number/s |
MTag |
a list of cattle management tag number/s |
season |
the calving season, e.g. 2018/19 |
property |
the name of the property to search for |
calfMTag |
the calf's management tag number |
date |
the cow's date of calving in date format |
multiples |
if the cow had twins or not – TRUE or FALSE. Default is FALSE |
algdev |
if the cow was used for the calving algorithm development - 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 |
a message that indicates that the calving information has been successfully updated
Dave Swain d.swain@cqu.edu.au, Lauren O'Connor l.r.oconnor@cqu.edu.au, and Anita Chang a.chang@cqu.edu.au
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.