Skip to contents

Calculate operational parameters for Berlin-Tiefwerder

Usage

calculate_operational_parameters_berlin_t(
  df,
  calc_list = get_calc_info_from_config(config, "expr"),
  calc_list_name = get_calc_info_from_config(config, "name"),
  calc_list_unit = get_calc_info_from_config(config, "unit"),
  calc_paras = get_calc_info_from_config(config, "paras"),
  config = get_calc_config("berlin_t")
)

Arguments

df

a data frame as retrieved by read_pentair_data()

calc_list

list with calculation operations to be carried out (default: list(recovery = "100*`FY-20-01`/`FT-10-01`"))

calc_list_name

full names of parameters to be used for plotting for each calculation specified wit 'calc_list'. default: c('recovery')

calc_list_unit

units of parameters to be used for plotting for each calculation specified wit 'calc_list'. default: c("percent")

calc_paras

a vector with parameter codes used for performing calculations defined in 'calc_list' (default: c("FY-20-01", "FT-10-01")

config

configuration object (list) from which the calc_* arguments are filled. Default: get_calc_config("berlin_t")

Value

dataframe with calculated operational parameters

Examples

if (FALSE) {
raw_list <- read_pentair_data()
myDat <- calculate_operational_parameters_berlin_t(df = raw_list)
}