Extract the name, version, and selected record counts from a cdm.
Value
A named list of attributes about the cdm including selected fields from the cdm_source table and record counts from the person and observation_period tables
Examples
if (FALSE) { # \dontrun{
library(CDMConnector)
con <- DBI::dbConnect(duckdb::duckdb(), eunomia_dir())
cdm <- cdm_from_con(con, "main")
snapshot(cdm)
DBI::dbDisconnect(con, shutdown = TRUE)
} # }