update_RFIDMTag: Update RFID using MTag in the DataMuster MongoDB database.

View source: R/update_RFIDMTag.R

update_RFIDMTagR Documentation

Update RFID using MTag in the DataMuster MongoDB database.

Description

This function updates individual or groups of RFID numbers using MTag in the DataMuster MongoDB database (for use when RFID is "xxx xxxxxxxxxxxx"). If you need assistance please email info@datamuster.net.au to seek help or suggest improvements.

Usage

update_RFIDMTag(
  MTag,
  newRFID,
  property,
  date,
  username = NULL,
  password = NULL
)

Arguments

MTag

a list of cattle management tag number/s

newRFID

a list of new cattle RFID number/s

property

the name of the property to search for

date

the date that the new RFID tag 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 RFID tags have been successfully updated

Author(s)

Anita Chang a.chang@cqu.edu.au


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