reformat_rules: Reformat the rules

View source: R/global.R

reformat_rulesR Documentation

Reformat 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)

One4All documentation built on July 4, 2024, 1:08 a.m.