Skip to contents

Print a short validation report for a cdm object. The validation includes checking that column names are correct and that no tables are empty. A short report is printed to the console. This function is meant for interactive use.

Usage

validate_cdm(cdm)

validateCdm(cdm)

Arguments

cdm

A cdm reference object.

Value

Invisibly returns the cdm input

Examples

if (FALSE) {
con <- DBI::dbConnect(duckdb::duckdb(), eunomia_dir())
cdm <- cdm_from_con(con, cdm_schema = "main")
validate_cdm(cdm)
DBI::dbDisconnect(con)
}