restoreCDMTables: Restore the CDM (undo the pruning).

View source: R/restoreCDMTables.r

restoreCDMTablesR Documentation

Restore the CDM (undo the pruning).

Description

This function undoes the pruning by renaming (the *_orig tables are given their names back).

Usage

restoreCDMTables(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 instance. 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" are supported.


OHDSI/ETL-Synthea documentation built on July 28, 2024, 4:51 a.m.