snapshot {CDMConnector} | R Documentation |
Extract the name, version, and selected record counts from a cdm.
snapshot(cdm)
cdm |
A cdm object |
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
## Not run:
library(CDMConnector)
con <- DBI::dbConnect(duckdb::duckdb(), eunomia_dir())
cdm <- cdm_from_con(con, "main")
snapshot(cdm)
DBI::dbDisconnect(con, shutdown = TRUE)
## End(Not run)