As a result, each location is linked to a water quality value.

extend_riverTable(river_table, qsim_misa_table, varName, sixBreaks)

Arguments

river_table

Table of one of the rivers loaded with load_berlin_rivers()

qsim_misa_table

Either the "hours", "events" or "neg_dev" data frame of the mise assessment

varName

One of the columns of the qsim_misa_table containing water quality numeric information that should be plotted

sixBreaks

Breaks defining the lower limits of the categories. The values are included at the lower limit.

Value

The input river_table extended by three columns: 1) "value" containing the exact value, 2) "quality" containing 6 different quality categories based on the defined breaks, 3) "color" assigning th color for plotting

Details

The qsim_misa_table does not provide information for every location within the river, since the local resolution of the qsim output differs from the river course data. Values between two known river sites are interpolated. The color scale cannot be changed. Since in all misa assessment parameters low values refer to a good water quality, the colors range from green for low values to red for high values.