qc_md_cols: Metadata columns check

Description Usage Arguments Details Value See Also

Description

qc_md_cols checks if the columns of the provided metadata return the correct class, as well as indicates any NAs present and the absence of any mandatory variable.

Usage

1
qc_md_cols(metadata, dic, parent_logger = "test")

Arguments

metadata

Data frame containing the metadata in which the test will be made.

dic

Name of the metadata dictionary to use as character. It must be one of the following: 'stand_md', 'site_md', 'species_md', 'plant_md' or 'environmental_md'

Details

After loading the metadata, columns classes and presence/absence of mandatory variables must be checked in order to continue with the quality check workflow. This function returns a summary of the metadata columns and their state.

Value

A data frame with variable names in one column and result of the checks in teh following columns

See Also

Other Quality Checks Functions: create_dic, qc_coordinates, qc_data_results_table, qc_env_ranges, qc_env_vars_presence, qc_ext_radiation, qc_factor_values, qc_fix_timestamp, qc_get_biomes_spdf, qc_get_biome, qc_get_sapw_md, qc_get_timestep, qc_get_timezone, qc_is_timestamp, qc_md_results_table, qc_mind_the_gap_eff, qc_mind_the_gap, qc_out_hampel_filter, qc_out_of_range, qc_out_remove, qc_outliers_process, qc_outliers_subs, qc_pl_treatments, qc_rad_conversion, qc_range_dic, qc_sapf_ranges, qc_sapw_area_calculator, qc_sapw_conversion, qc_set_timezone, qc_soil_texture, qc_species_names_info, qc_species_names, qc_species_verification, qc_start_process, qc_swc_check, qc_swc_fix, qc_time_interval, qc_timestamp_concordance, qc_timestamp_errors, qc_timestamp_nas


sapfluxnet/sapfluxnetQC1 documentation built on May 29, 2019, 1:50 p.m.