qc_species_dics function creates a dictionary for the selected variable
containing the accepted values for that variable
qc_species_dics(variable = "sp_leaf_habit", parent_logger = "test")
Variable name in which the dictionary is needed as character
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.
A character vector containing the valid values for the provided variable
The factor variables in species_md are
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.