assert_missing_values {vvauditor} | R Documentation |
Assert Consistency of Missing Values in Data
Description
This function checks whether the percentage of missing values in a dataset matches the documented percentage in a metadata reference. It warns if there are significant discrepancies.
Usage
assert_missing_values(data, metadata)
Arguments
data |
A data frame. The dataset to check for missing values. |
metadata |
A data frame. Metadata containing expected missing value percentages and valid value counts.
It must include the columns |
Value
No return value. The function issues warnings if the actual missing value percentages deviate significantly from the documented values.
[Package vvauditor version 0.7.0 Index]