LoadEventTables: Load CDM Non-Vocabulary Tables.

Description Usage Arguments Details

Description

This function loads the CDM Event tables with Synthea data. The tables that comprise the Vocabulary are loaded via
LoadVocabTables().

Usage

1
LoadEventTables (connectionDetails, cdmDatabaseSchema, syntheaDatabaseSchema)

Arguments

connectionDetails

An R object of type
connectionDetails created using the function createConnectionDetails in the DatabaseConnector package.

cdmDatabaseSchema

The name of the database schema that will contain the different VISIT tables. Requires read and write permissions to this database. On SQL Server, this should specifiy both the database and the schema, so for example 'cdm_instance.dbo'.

syntheaDatabaseSchema

The name of the database schema that contain the Synthea instance. Requires read and write permissions to this database. On SQL Server, this should specifiy both the database and the schema, so for example 'cdm_instance.dbo'.

vocabDatabaseSchema

The name of the database schema that contains the OMOP Vocabulary tables. Requires read permissions to this database. By default this is set to cdmDatabaseSchema.

Details

This function assumes
createEventTables(),
createSyntheaTables(),
LoadSyntheaTables(), and
LoadVocabTables() have all been run.


chrisroederucdenver/ETL-Synthea documentation built on Aug. 1, 2020, 4:21 p.m.