View source: R/get_weeklywts.R
get_weeklywts | R Documentation |
This function provides a search tool to retrieve weekly weight information from the WeeklyWts collection in the DataMuster MongoDB database. It also allows the user to define what fields should be returned. If you need assistance please email info@datamuster.net.au to seek help or suggest improvements.
get_weeklywts(
RFID = NULL,
cattle_id = NULL,
start = NULL,
end = NULL,
minwt = NULL,
timezone = NULL,
fields = NULL,
username = NULL,
password = NULL
)
RFID |
a list of cattle RFID number/s |
cattle_id |
a list of cattle database identification number/s |
start |
a start date and time to be returned in datetime format, default is “2014-09-01 00:00:00” |
end |
an end date and time to be returned in datetime format, default is today’s date and time |
minwt |
the minimum weight to be returned |
timezone |
the local timezone of the property, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones for the list of accepted timezones, default is Australia/Brisbane |
fields |
a list of headers from the WeeklyWts collection in the DataMuster MongoDB database to be returned. If not specified, the RFID, date, weekly weight, sd of the weights, number of weights, and property name will be returned |
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 list of cattle RFID numbers and associated weekly weight statistics
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.