Creates and stores a map Plot of Oxygen deficiency time of all CSO Events

mapPlot_EventsTime(
  BerlinRivers,
  df_aggr,
  scenarioName = "",
  savingPath = "",
  varName = "hours.below_1.5",
  sixBreaks = c(0, 25, 50, 100, 200, 300),
  decoupling = "",
  dec = ",",
  highlight_catchments = NULL,
  highlight_style = "lightblue"
)

Arguments

BerlinRivers

Berlin rivers loaded from package with load_berlin_rivers()

df_aggr

Aggregated misa assessment data frame

scenarioName

A String, only used for the plot title and file name

savingPath

Directory where plot is going to be stored. If left empty (default) a new device is opened in RStudio for the plot.

varName

Column name that is used for water quality categorisation

sixBreaks

6 low limits of water quality categories

decoupling

Character vector defining a decoupling scenario. Default is "" for no scenario. Possible scenarios can be obtained by the column names

dec

What should be used a decimal character? Default is "," since the plots are in German language

highlight_catchments

Character vector of catchments to highlight. If NULL catchments will be highlighted based on decoupling scenario. Otherwise this overwrites the decoupling information for catchments highlited.

highlight_style

Either a color (name or rgb()) or "shaded" to use the actual color as diagonal lines.