Helper function: add parameter metadata

add_parameter_metadata(
  df,
  meta_parameter_path = package_file("shiny/basel/data/metadata/meta_parameter.csv")
)

Arguments

df

data frame containing at least a column "ParameterCode"

meta_parameter_path

Define path of "meta_parameter.csv" to be imported (default: sema.pilot:::package_file("shiny/basel/data/metadata/meta_parameter.csv"))

Value

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