reformat_rules {One4All}R Documentation

Reformats the rules

Description

This function is responsible for handling the rule reformating, dataset handling and foreign key checks.

Usage

reformat_rules(rules, data_formatted, zip_data = NULL)

Arguments

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.

Value

A data.frame with reformatted rules.

Examples

data("test_rules")
data("valid_example")
reformat_rules(rules = test_rules, data_formatted = valid_example)

[Package One4All version 0.4 Index]