assert_range_validation {vvauditor} | R Documentation |
Assert Range Validation for Data Fields
Description
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.
Usage
assert_range_validation(data, metadata)
Arguments
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 |
Value
No return value. The function issues warnings if any values fall outside the expected range.
[Package vvauditor version 0.7.0 Index]