Skip to contents

Helper function: add parameter metadata

Usage

add_parameter_metadata(
  df,
  meta_parameter_path = shiny_file("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:::shiny_file("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!!!!)