get_cattlepdkhist: Retrieve cattle paddock history information from the...

View source: R/get_cattlepdkhist.R

get_cattlepdkhistR Documentation

Retrieve cattle paddock history information from the DataMuster MongoDB database.

Description

This function provides a search tool to retrieve cattle paddock history from the Cattle collection in the DataMuster MongoDB database. If you need assistance please email info@datamuster.net.au to seek help or suggest improvements.

Usage

get_cattlepdkhist(
  property,
  paddock = NULL,
  archives = NULL,
  start = NULL,
  end = NULL,
  username = NULL,
  password = NULL
)

Arguments

property

the name of the property to search for

paddock

the name of the paddock/s to search for. If not value is entered, then all paddocks are returned

archives

if TRUE, the list of animals returned will include those that are no longer on the property

start

a start date to be returned in date format, default is "2014-09-01"

end

an end date to be returned in date format, default is today's date

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

Value

a list of cattle RFID numbers and associated cattle paddock history

Author(s)

Anita Chang a.chang@cqu.edu.au


PrecisionLivestockManagement/DMMongoDB documentation built on Aug. 22, 2023, 10:57 a.m.