View source: R/add_autodraft.R
add_autodraft | R Documentation |
This function updates the ALMS unit in the Infrastructure and Cattle collections and adds a new document to the AutoDraft collection in the DataMuster MongoDB database. You can only access this function if you have read and write permissions.
add_autodraft(
RFID,
mtag,
property,
paddock,
alms,
direction,
username = NULL,
password = NULL
)
RFID |
the RFIDs of the cattle on the autodrafter |
mtag |
the management tags of the cattle on the autodrafter |
property |
the name of the property |
paddock |
the name of the paddock |
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 infrastructure has been successfully added
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.