snapshot | 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(), eunomiaDir())
cdm <- cdmFromCon(con, "main")
snapshot(cdm)
DBI::dbDisconnect(con, shutdown = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.