check_SDS | R Documentation |
A function used to check the validity of the SDS items. Each SDS item has a specific range of accepted values, and takes NA for missing values. This function checks whether these constraints are satisfied, and if not, returns a list containing the SDS item(s) which violated its/their constraints.
check_SDS(dat)
dat |
The data frame containing the new year of (combined) data. |
A list with two elements. The first, violations
, is a boolean indicating
whether or not any violations were found. The second, SDS_viol
, is a vector of
strings containing the names of the SDS variables that have at least one value out of
bounds.
SDSvalue_check
...
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.