Skip to contents

Create the Qualifiers table

Usage

create_qualifiers(L0_flat, QualifierCode, QualifierDescription)

Arguments

L0_flat

(tbl_df, tbl, data.frame) The fully joined source L0 dataset, in "flat" format (see details).

QualifierCode

(character) Column in L0_flat containing the code to indicate a given data qualifier.

QualifierDescription

(character) Column in L0_flat containing the text of the data qualifying comment, e.g., low battery voltage on sensor.

Value

flat <- hymet_L0_flat Qualifiers <- hymetDP::create_qualifiers( L0_flat = flat, QualifierCode = "QualifierCode", QualifierDescription = "QualifierDescription") Qualifiers

Details

This function appends columns to the L0_flat table and returns the augmented table.

"flat" format refers to the fully joined source L0 dataset in "wide" form with the exception of the core observation variables, which are in "long" form (i.e. using the variable_name, value, unit columns of the observation table). This "flat" format is the "widest" an L1 hymetDP dataset can be consistently spread due to the frequent occurrence of L0 source datasets with > 1 core observation variable.