R/rawPlot_pollutionRose.R
rawPlot_pollutionRose.Rd
Create pollution rose plot from an enhanced raw dataframe.
This function is based on openair::pollutionRose()
. If normalized, black line
indicates frequency by direction.
rawPlot_pollutionRose( df, parameter = "pm25", tlim = NULL, localTime = TRUE, normalize = FALSE, ... )
df | enhanced, raw dataframe as created by the |
---|---|
parameter | parameter to plot |
tlim | optional vector with start and end times (integer or character representing YYYYMMDD[HH]) |
localTime | logical specifying whether |
normalize | normalize slices to fill entire area, allowing for easier comparison of counts of magnitudes by direction |
... | additional arguments to pass on to openair::pollutionRose() |
If more than one timezone is found, localTime
is ignored and UTC is used.
if (FALSE) { # Fail gracefully if any resources are not available try({ raw <- airsis_createRawDataframe(20160901, 20161015, 'USFS', 1012) raw <- raw_enhance(raw) rawPlot_pollutionRose(raw) }, silent = FALSE) }