View source: R/validate_templates.R
validate_categorical_variables | R Documentation |
Validate the categorical variables template (catvars_*.txt)
validate_categorical_variables(x)
x |
(named list) The data and metadata object returned by
|
This function validates the table attributes classified as categorical
only for data tables that are listed in x
.Checks performed by
this function:
Categorical metadata is expected for variables classified "categorical"
Categorical variable template olumn names are correct
Categorical codes are defined
issues |
(character) Descriptions of issues found in the template grouped by "required" and "optional" criteria. |
x |
(named list) If "required" issues are found for a data table, then the corresponding categorical variables template is removed. Some "optional" issues reclassified the categorical variable as "character". |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.