add_label: Helper function: add label ("SiteName_ParaName_Unit_Method")

Description Usage Arguments Value

View source: R/import_data_basel.R

Description

Helper function: add label ("SiteName_ParaName_Unit_Method")

Usage

1
2
3
add_label(df, col_sitename = "SiteName",
  col_parametername = "ParameterName",
  col_parameterunit = "ParameterUnit", col_method = "Method_Org")

Arguments

df

data frame containing at least a columns "SiteName", "ParameterName", "ParameterUnit" and optionally "Method_Org" (if not existent no "Method_Org" will be available!)

col_sitename

column in df containing site name (default: "SiteName")

col_parametername

column in df containing parameter name (default: "ParameterName")

col_parameterunit

column in df containing parameter unit (default: "ParameterUnit")

col_method

column in df containing method code (default: "Method_Org")

Value

returns input data frame with added column "SiteName_ParaName_Unit_Method"


KWB-R/aquanes.report documentation built on Sept. 10, 2019, 8:04 a.m.