reformat_rules {One4All} | R Documentation |
This function is responsible for handling the rule reformating, dataset handling and foreign key checks.
reformat_rules(rules, data_formatted, zip_data = NULL)
rules |
A data.frame containing rules to be reformatted. |
data_formatted |
A named list of data.frames with data. |
zip_data |
A file path to a zip folder with additional data to check. |
A data.frame with reformatted rules.
data("test_rules")
data("valid_example")
reformat_rules(rules = test_rules, data_formatted = valid_example)