View source: R/appaddstation.R
appaddstation | R Documentation |
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.
appaddstation(email, stationname, lat, long, area, username, password)
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 |
a message that indicates that the station has been successfully added
Dave Swain d.swain@cqu.edu.au and Lauren O'Connor l.r.oconnor@cqu.edu.au
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.