Helper function: add parameter metadata

add_parameter_metadata(df,
  meta_parameter_path = system.file("shiny/basel/data/metadata/meta_parameter.csv",
  package = "aquanes.report"))

Arguments

df

data frame containing at least a column "ParameterCode"

meta_parameter_path

Define path of "meta_parameter.csv" to be imported (default: system.file("shiny/basel/data/metadata/meta_parameter.csv", package = "aquanes.report"))

Value

returns input data frame with joined metadata (parameter codes/ methods not included in meta_parameter file will not be imported!!!!)