update_alms: Update cattle allocation to ALMS units in the DataMuster...

View source: R/update_alms.R

update_almsR Documentation

Update cattle allocation to ALMS units in the DataMuster MongoDB database.

Description

This function updates allocates individual or groups of cattle to ALMS units in the DataMuster MongoDB database. If you need assistance please email info@datamuster.net.au to seek help or suggest improvements.

Usage

update_alms(
  RFID,
  property,
  alms,
  date = NULL,
  username = NULL,
  password = NULL
)

Arguments

RFID

a list of cattle RFID number/s

property

the name of the property to search for

date

the date that the new paddock allocation was applied in date formate, 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

almsid

the asset_id of the ALMS unit the cattle are to be allocated

Value

a message that indicates the cattle have been successfully allocated to an ALMS unit

Author(s)

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


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