execute | R Documentation |
Execute the Study
execute(
connectionDetails,
cdmDatabaseSchema,
cohortDatabaseSchema,
cohortTable,
outputFolder,
databaseId,
databaseName = databaseId,
databaseDescription = databaseId,
minCellCount = 5,
maxCores = 1,
exposureIds = getExposuresOfInterest()$exposureId,
verifyDependencies = TRUE,
createCohorts = TRUE,
synthesizePositiveControls = TRUE,
runCohortMethod = TRUE,
runSccs = TRUE,
runCaseControl = TRUE,
runHistoricalComparator = TRUE,
generateDiagnostics = TRUE,
computeCriticalValues = TRUE,
createDbCharacterization = TRUE,
exportResults = TRUE
)
connectionDetails |
An object of type |
cdmDatabaseSchema |
Schema name where your patient-level data in OMOP CDM format resides. Note that for SQL Server, this should include both the database and schema name, for example 'cdm_data.dbo'. |
cohortDatabaseSchema |
Schema name where outcome data can be stored. You will need to have write priviliges in this schema. Note that for SQL Server, this should include both the database and schema name, for example 'cdm_data.dbo'. |
cohortTable |
The name of the table that will be created in the |
outputFolder |
Name of local folder to place results; make sure to use forward slashes (/). Do not use a folder on a network drive since this greatly impacts performance. |
databaseId |
A short string for identifying the database (e.g. 'Synpuf'). |
databaseName |
The full name of the database. |
databaseDescription |
A short description (several sentences) of the database. |
minCellCount |
The minimum cell count for fields contains person counts or fractions. |
maxCores |
How many parallel cores should be used? If more cores are made available this can speed up the analyses. |
exposureIds |
The IDs of the exposure cohorts to include. See |
verifyDependencies |
Check whether correct package versions are installed? |
createCohorts |
Create the exposure and outcome cohorts? |
synthesizePositiveControls |
Should positive controls be synthesized? |
runCohortMethod |
Perform the cohort method analyses? |
runSccs |
Perform the SCCS and SCRI analyses? |
runCaseControl |
Perform the case-control analyses? |
runHistoricalComparator |
Perform the historical comparator analyses? |
generateDiagnostics |
Generate additional study diagnostics? |
computeCriticalValues |
Compute critical values for all methods? |
createDbCharacterization |
Create a high-level characterization of the database? |
exportResults |
Export the results to a single zip file (containing several CSV files) for sharing? |
This function executes the Study.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.