appalmsgrowth: Retrieves data for the ALMS Growth graph from the DataMuster...

View source: R/appalmsgrowth.R

appalmsgrowthR Documentation

Retrieves data for the ALMS Growth graph from the DataMuster database

Description

This function retreives weekly weight data from the DataMuster database and prepares the data for graphical display on the DataMuster website

Usage

appalmsgrowth(
  property,
  sex,
  category,
  alms,
  zoom,
  start,
  timezone,
  cattleprop,
  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 unit 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

start

the minimum date of data to be returned, determined by the "Period for ALMS graphs" filter

timezone

the timezone of the property to display the weekly weight data

cattleprop

the minimum number of cattle required, as a percentage

username

a username to access the DataMuster database

password

a password to access the DataMuster database

Value

A dataframe of summarised data showing the average weight of cattle by date and the number of cattle included in the analysis

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.