update_paddock: Update cattle allocations to paddocks in the DataMuster...

View source: R/update_paddock.R

update_paddockR Documentation

Update cattle allocations to paddocks in the DataMuster MongoDB database.

Description

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

Usage

update_paddock(
  RFID,
  property,
  paddock,
  MTag,
  date = NULL,
  username = NULL,
  password = NULL
)

Arguments

RFID

a list of cattle RFID number/s

property

the name of the property to search for

paddock

the name of the paddock to allocate cattle to

MTag

a list of cattle management tags

date

the date the new paddock allocation was applied 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 message that indicates that the paddocks have been successfully updated

Author(s)

Dave Swain d.swain@cqu.edu.au, Lauren O'Connor l.r.oconnor@cqu.edu.au, Anita Chang a.chang@cqu.edu.au


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