appaddstation: Add a station to the DataMuster MongoDB database via the...

View source: R/appaddstation.R

appaddstationR Documentation

Add a station to the DataMuster MongoDB database via the DataMuster dashboard.

Description

This function adds a station to the DataMuster MongoDB database from the DataMuster online dashboard. You can only access this function if you have read and write permissions.

Usage

appaddstation(email, stationname, lat, long, area, username, password)

Arguments

email

the login email of the dashboard user

stationname

the name of the property

lat

the latitude of a coordinate point to locate the property

long

the longitude of a coordinate point to locate the property

area

the area of the station in hectares, default is 100 ha

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 station has been successfully added

Author(s)

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


PrecisionLivestockManagement/DMApp documentation built on Aug. 21, 2023, 4:42 p.m.