add_forage | R Documentation |
This function adds forage sample information to the DataMuster MongoDB database. If you need assistance please email info@datamuster.net.au to seek help or suggest improvements.
add_forage(
property,
paddock,
date,
method,
samplesize,
wetwt,
drywt,
photo,
lat = NULL,
long = NULL,
username = NULL,
password = NULL
)
property |
the name of the property |
paddock |
the name of the paddock |
date |
the date of the forage assessment |
method |
the assessment method, either 'pasture cut' or 'visual assessment' |
samplesize |
the sample size of the estimation, either 'quadrant' or 'hectares' |
wetwt |
the weight of the pasture as is, prior to drying (kg) |
drywt |
the weight of the pasture after drying (kg) |
photo |
whether or not a photograph of the assessment site was taken, TRUE or FALSE |
lat |
the latitude coordinate of the assessment site, as a decimal |
long |
the longitute coordinate or the assessment site, as a decimal |
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.