addweather: Add weather data to the AnitaWeather collection in the...

Description Usage Arguments Value Author(s)

View source: R/addweather.R

Description

This function adds weather data from Anita's Belmont trial to the MongoDB database.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
addweather(
  date,
  time,
  rain,
  temp,
  humidity,
  THI,
  condition,
  username = user,
  password = pass
)

Arguments

rain

the precipitation

temp

the temperature (T)

humidity

the humidity (H)

THI

the temperature-humidity index. Calculated as: 0.8×T+H×(T-14.4)+46.4

condition

the weather conditions

username

username for use with Anita's App

password

password for use with Anita's App

timestamp

a list of timestamps for weather

Value

a message that indicates the data has been successfully added

Author(s)

Anita Chang a.chang@cqu.edu.au


PrecisionLivestockManagement/AppAnita documentation built on Oct. 2, 2020, 12:29 p.m.