Description Usage Arguments Examples
Function set up to work in near real-time, where (multiple) files can be created and saved to a working directory or data come from inside R environment. Summaries use the last seven days.
1 2 |
x |
Either the file in R (default) or the location of a list of files to upload (if multuple.files is set to 'TRUE'). |
multiple.files |
An option if multiple files saved locally are to be plotted. Can be useful if there are a few daily files saved that need combining. This option is useful if the function is to run continuously. |
set.date |
Latest date for the examined sample. |
time.zone |
Time zone of the location (e.g. 'Pacific/Auckland'). |
obs |
Column under observation. Should be a numeric value. Can be multiple columns (e.g. "c("colA","colB")). |
id |
Identifier column (e.g. site location name). |
tier |
An additional identifier column, if needed (e.g. different measurement techniques). |
lat |
Latitude. |
lon |
Longitude. |
statistic |
Choice of summary statistic. Options are 'latest' (default), 'mean', 'median', 'sd', 'min', and 'max'. |
dest |
Location where the interactive map will be saved on the local drive. |
leaflet.title |
A descriptor of the leaflet used in naming the HTML output. |
1 | loadMap()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.