Create the QualityControlLevels table
Arguments
- L0_flat
(tbl_df, tbl, data.frame) The fully joined source L0 dataset, in "flat" format (see details).
- QualityControlLevelCode
(character) Column in
L0_flat
containing the code used to identify the level of quality control to which data values have been subjected.- Definition
(character) Column in
L0_flat
containing the definition of Quality Control Level. Examples: Raw Data, Quality Controlled Data. This is not to be confused with data qualifiers.- Explanation
(character) Column in
L0_flat
containing the explanation of Quality Control Level.
Value
(tbl_df, tbl, data.frame) The QualityControlLevels table. flat <- hymet_L0_flat QualityControlLevels <- hymetDP::create_quality_control( L0_flat = flat, QualityControlLevelCode = "QualityControlLevelCode", Definition = "Definition", Explanation = "Explanation") QualityControlLevels
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.
See also
Other create required tables:
create_data_values()
,
create_methods()
,
create_series_catalog()
,
create_sites()
,
create_sources()
,
create_variables()