Runs the full QC check suite (QC-01 to QC-16, SC-01, SC-02) against a single data frame snapshot.
Arguments
- df
A data frame with all columns as character vectors (as returned by
read_dataset).- config
Named list. Merged configuration as returned by
load_config.- file_path
Character or
NULL. Absolute path to the file, used for the optionalmax_file_size_mbcheck in QC-14.- types
Optional named character vector of pre-resolved column types; see
check_inferred_types. WhenNULL(the default), types are resolved once here and shared by all type-dependent checks.
Value
A list of dq_result objects.
Examples
cfg_dir <- system.file("demonstrations/config", package = "dqcheckr")
cfg <- load_config("starwars_csv", config_dir = cfg_dir)
path <- system.file("demonstrations/data/starwars.csv", package = "dqcheckr")
df <- read_dataset(path, cfg)
results <- run_qc_checks(df, cfg)