Helper function: fill empty datetime & create measurementID column in case of samples

fill_datetime(df, col_rawData_pattern = "raw", col_datetime = "DateTime",
  dbg = FALSE)

Arguments

df

a dataframe

col_rawData_pattern

column name pattern for identifying raw data (default: "raw")

col_datetime

column name pattern for identifying datetime column (default: "DateTime"),

dbg

print debug messages (default: FALSE)

Value

returns data frame with filled "DateTime" column and new column "measurementID" in case of samples