View source: R/update_pdkrating.R
update_pdkrating | R Documentation |
This function updates ALMS, condition, and long term carrying capacity ratings in the DataMuster MongoDB database. If you need assistance please email info@datamuster.net.au to seek help or suggest improvements.
update_pdkrating(
property,
paddock,
ALMSrating = NULL,
condition = NULL,
LTCC_A = NULL,
LTCC_B = NULL,
LTCC_C = NULL,
LTCC_D = NULL,
username = NULL,
password = NULL
)
property |
the name of the property to search for |
paddock |
the name of the paddock that the ALMS rating will be applied to in poly_paddname format. This removes all special characters and will reformats paddocks with numeric names |
ALMSrating |
the ALMS rating of the paddock. Default is 0 |
condition |
the condition rating of the paddock. Default is A |
LTCC_A |
the long term carrying capacity of the paddock in condition A. Default is 0 |
LTCC_B |
the long term carrying capacity of the paddock in condition B. Default is 0 |
LTCC_C |
the long term carrying capacity of the paddock in condition C. Default is 0 |
LTCC_D |
the long term carrying capacity of the paddock in condition D. Default is 0 |
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 the paddock has been successfully updated.
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.