View source: R/assert_range_validation.R
| assert_range_validation | R Documentation |
This function checks whether the values in a dataset fall within the expected minimum and maximum range as specified in the metadata. It warns if any values violate the expected range.
assert_range_validation(data, metadata)
data |
A data frame. The dataset containing the fields to validate. |
metadata |
A data frame. Metadata containing expected minimum and maximum values for each field.
It must include the columns |
No return value. The function issues warnings if any values fall outside the expected range.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.