TruncateEventTables: Truncate Event Tables.

View source: R/TruncateEventTables.r

TruncateEventTablesR Documentation

Truncate Event Tables.

Description

This function truncates CDM tables, excluding Vocabulary tables.

Usage

TruncateEventTables(connectionDetails, cdmSchema)

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 OMOP 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'.


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