pruneCDM: Prune a CDM.

Description Usage Arguments

Description

This function is simply a convenience wrapper for the other calls.

Usage

1
pruneCDM(connectionDetails,cdmDatabaseSchema,vocabDatabaseSchema,pathToSql = NULL)

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 contains the CDM 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 Vocabulary instance. Requires read and write permissions to this database. On SQL Server, this should specifiy both the database and the schema, so for example 'vocab_instance.dbo'.

pathToSql

Optional location of the sql files (defaults to inst/sql/sql_server)


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