update_pdkrating: Update ALMS, condition, and long term carrying capacity...

View source: R/update_pdkrating.R

update_pdkratingR Documentation

Update ALMS, condition, and long term carrying capacity ratings for paddocks in the DataMuster MongoDB database.

Description

This function updates ALMS, condition, and long term carrying capacity ratings in the DataMuster MongoDB database. If you need assistance please email info@datamuster.net.au to seek help or suggest improvements.

Usage

update_pdkrating(
  property,
  paddock,
  ALMSrating = NULL,
  condition = NULL,
  LTCC_A = NULL,
  LTCC_B = NULL,
  LTCC_C = NULL,
  LTCC_D = NULL,
  username = NULL,
  password = NULL
)

Arguments

property

the name of the property to search for

paddock

the name of the paddock that the ALMS rating will be applied to in poly_paddname format. This removes all special characters and will reformats paddocks with numeric names

ALMSrating

the ALMS rating of the paddock. Default is 0

condition

the condition rating of the paddock. Default is A

LTCC_A

the long term carrying capacity of the paddock in condition A. Default is 0

LTCC_B

the long term carrying capacity of the paddock in condition B. Default is 0

LTCC_C

the long term carrying capacity of the paddock in condition C. Default is 0

LTCC_D

the long term carrying capacity of the paddock in condition D. Default is 0

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 the paddock has been successfully updated.

Author(s)

Anita Chang a.chang@cqu.edu.au


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