patientsCDM | R Documentation |
Pushes test population into a blank CDM.
patientsCDM(
pathJson = NULL,
testName = NULL,
cdmVersion = "5.3",
cdmName = NULL
)
pathJson |
Directory where the sample populations in json are located. If NULL, gets the default inst/testCases directory. |
testName |
Name of the sample population JSON file. If NULL it will push the first sample population in the testCases directory. |
cdmVersion |
cdm version, default "5.3". |
cdmName |
Name of the cdm, default NULL. |
A CDM reference object with a sample population.
filePath <- system.file("extdata", "testPatientsRSV.xlsx", package = "TestGenerator")
TestGenerator::readPatients(filePath = filePath, outputPath = tempdir())
cdm <- TestGenerator::patientsCDM(pathJson = tempdir(), testName = "test")
duckdb::duckdb_shutdown(duckdb::duckdb())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.