| syrona_connect | R Documentation |
Opens a DuckDB file and creates a CDMConnector reference. By default the
connection is read-only; set read_only = FALSE if you need to write
cohort tables or temp tables into the database.
syrona_connect(
db_path,
cdm_schema = "main",
write_schema = cdm_schema,
read_only = TRUE
)
db_path |
Path to the DuckDB file. |
cdm_schema |
Schema containing OMOP CDM tables (default |
write_schema |
Schema for writing temp/cohort tables.
Defaults to |
read_only |
Logical. Open DuckDB in read-only mode? Default |
A list with components:
DBI connection object.
CDMConnector CDM reference (cdm_reference).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.