View source: R/buildAchillesTables.R
buildAchillesTables | R Documentation |
If the cdm reference does not contain the achilles tables, this function will create them for the analyses used by other functions in the package.
buildAchillesTables(cdm, achillesId = NULL)
cdm |
A cdm reference via CDMConnector. |
achillesId |
A vector of achilles ids. If NULL default analysis will be used. |
The cdm_reference object with the achilles tables populated.
dbName <- "GiBleed"
CDMConnector::requireEunomia(dbName)
con <- duckdb::dbConnect(duckdb::duckdb(), CDMConnector::eunomiaDir(dbName))
cdm <- CDMConnector::cdmFromCon(
con = con, cdmSchema = "main", writeSchema = "main"
)
cdm <- buildAchillesTables(cdm = cdm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.