Skip to contents

Read the rule registry, attaching SQL text and parsed params

Usage

qc_read_rules(dir, active_only = TRUE)

Arguments

dir

directory holding rules.csv and sql/

active_only

drop rules parked for a later phase (active = FALSE)

Value

a tibble, one row per rule, with sql (character) and params (list-column) added

Examples

if (FALSE) { # \dontrun{
qc_read_rules(here::here("metadata/qc_rules"))
} # }