add_stations | R Documentation |
This function adds a station to the DataMuster MongoDB database. You can only access this function if you have read and write permissions.
add_stations(
stationname,
lat,
long,
area = NULL,
timezone = NULL,
username = NULL,
password = NULL
)
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 staion in hectares, default is 100 ha |
timezone |
the local timezone of the property, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones for the list of accepted timezones, default is Australia/Brisbane |
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.