appweightstable: Retrieves data from the DataMuster database for the Table of...

View source: R/appweightstable.R

appweightstableR Documentation

Retrieves data from the DataMuster database for the Table of Cattle Weights Data

Description

This function retreives the latest cattle weight data from the DataMuster database and prepares the data for table display on the DataMuster website

Usage

appweightstable(
  property,
  sex,
  category,
  alms,
  zoom,
  timezone,
  username,
  password
)

Arguments

property

the name of the property to search the database

sex

the sex of the cattle to be returned, determined by the "Males or Females" filter

category

the category of cattle to be returned, determined by the "Breeders or Growers" filter

alms

the ALMS allocation of the cattle to be returned, determined by selecting an ALMS from the drop down menu

zoom

indicates whether to return cattle from the whole property or to filter cattle by paddock, determined by the "Paddock Groups" filter

timezone

the timezone of the property to display the weekly weight data

username

a username to access the DataMuster database

password

a password to access the DataMuster database

Value

a dataframe with a list of cattle RFID numbers, management tags, category and sex information, current paddock allocations and the latest ALMS and crush weights and dates

Author(s)

Dave Swain d.swain@cqu.edu.au and Lauren O'Connor l.r.oconnor@cqu.edu.au


PrecisionLivestockManagement/DMApp documentation built on Aug. 21, 2023, 4:42 p.m.