Skip to contents

Create a cdm_reference

cdmFromPostgres()
Create a <cdm_reference> object from a postgres connection

Copy a cdm_reference to a postgres source

copyCdmToPostgres()
Copy a cdm (independently of its source) to a

Create empty OMOP CDM tables

Create and read logging files

postgresLog()
Start a postgres log
readPostgresLog()
Create a tibble from the log files in the logPath folder

Job management

Cancel and manage jobs.

getJobs()
Get ongoing Postgres jobs.
cancelJob()
Cancel a Postgres job.

Index mangement

Create and check existing indexes.

Create a postgres source object

postgresSource()
Create a postgres source object

CDM object managment

Reexported functions from other packages for the cdm_reference object management.

Create a local postgres

Create a local postgres connection using environmental variables.

localPostgres()
This function creates a connection to the local postgres instance