Copy a cdm (independently of its source) to a
Usage
copyCdmToPostgres(
cdm,
con,
cdmSchema = "public",
cdmPrefix = "",
writeSchema = "results",
writePrefix = "",
achillesSchema = NULL,
achillesPrefix = ""
)
Arguments
- cdm
A <cdm_reference> object.
- con
A PqConnection created with DBI and RPostgres.
- cdmSchema
String, name of the schema for the OMOP CDM Standard tables.
- cdmPrefix
String, prefix leading the OMOP CDM Standard tables.
- writeSchema
String, name of the schema for the cohort and permanent tables.
- writePrefix
String, prefix leading the cohort and permanent tables.
- achillesSchema
String, name of the schema for the achilles tables.
- achillesPrefix
String, prefix leading the achilles tables.