Description Usage Arguments Examples
A function to plot and map air quality data. This function ... Written by Dr. Kyle Alberti (kyle.alberti@aeroqual.com).
1 2 3 | shiny_display(x, time.zone = "Pacific/Auckland", data.frequency = "60 min",
dashboard.title = "AQY deployment", cols.to.display = c("O3", "PM2.5",
"NO2"), site.col = "site", lat.col = "lat", long.col = "lon")
|
x |
A csv file of the data. The data are set to wide format. |
time.zone |
A string identifying the time zone for the data. Here, the default is 'Pacific/Auckland'. |
data.frequency |
A string identifying the averaging time of the data. Here, the default is '60 min'. |
dashboard.title |
A string identifying the title that will appear on the dashboard. Here, 'AQY deployment'. |
cols.to.display |
A list of strings in x that are to be plotted. Here, the default is ‘c(’O3","PM2.5","NO2")'. |
site.col |
The name of the column in x that identifies the units or the sites. Here, the default is 'Serial'. |
lat.col |
Latitude column. |
long.col |
Longitude column. |
1 | appFUN()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.