shiny_display: A function to plot and map air quality data. This function...

Description Usage Arguments Examples

Description

A function to plot and map air quality data. This function ... Written by Dr. Kyle Alberti (kyle.alberti@aeroqual.com).

Usage

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")

Arguments

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.

Examples

1
appFUN()

gmiskell/sensor_toolkit documentation built on May 17, 2019, 7:06 p.m.