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,
  ...
)

Arguments

df

enhanced, raw dataframe as created by the raw_enhance() function

parameter

parameter to plot

tlim

optional vector with start and end times (integer or character representing YYYYMMDD[HH])

localTime

logical specifying whether tlim is in local time or UTC

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

Note

If more than one timezone is found, localTime is ignored and UTC is used.

Examples

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