backupCDM: Backup Vocabulary and Event tables before pruning.

View source: R/backupCDM.r

backupCDMR Documentation

Backup Vocabulary and Event tables before pruning.

Description

This function performs a "back up" of the original tables by renaming them. (Eunomia support)

Usage

backupCDM(connectionDetails, cdmSchema, cdmVersion)

Arguments

connectionDetails

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

cdmSchema

The name of the database schema that contains the CDM. Requires read and write permissions to this database. On SQL Server, this should specify both the database and the schema, so for example 'cdm_instance.dbo'.

cdmVersion

The version of your CDM. Currently "5.3.1" and "5.4.0".


OHDSI/ETL-Synthea documentation built on April 23, 2024, 12:23 a.m.