qc_site_dics: Dictionary creation for site_md variables

View source: R/qc_md_general_checks.R

qc_site_dicsR Documentation

Dictionary creation for site_md variables

Description

qc_site_dics function creates a dictionary for the selected variable containing the accepted values for that variable

Usage

qc_site_dics(variable, parent_logger = "test")

Arguments

variable

Variable name in which the dictionary is needed as character vector (e.g. 'site_country').

Details

In order to check if factor variables have a valid value or have been bad formatted/introduced in the data template, first it is needed to have a list of accepted values for each variable. This function creates that list to use in the checks.

Value

A character vector containing the valid values for the provided variable

Accepted variables

The factor variables in site_md is site_country.

See Also

Other Dictionaries: qc_plant_dics(), qc_psi_dics()


vflo/PSIsapfluxnetQC1 documentation built on Feb. 15, 2024, 3:19 a.m.