createLookupTable: Run the query to create a lookup table.

Description Usage Arguments

Description

This function will call and run one sql file.

Usage

1
2
createLookupTable(connectionDetails, cdmDatabaseSchema, sourceDatabaseSchema,
  sqlFile, oracleTempSchema = 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 OMOP CDM instance. Requires read permissions to this database. On SQL Server, this should specifiy both the database and the schema, so for example 'cdm_instance.dbo'.

sourceDatabaseSchema

The name of the database schema that contains the raw data instance. Requires read permissions to this database. On SQL Server, this should specifiy both the database and the schema, so for example 'raw_instance.dbo'.

sqlFile

The name of the sql file containing the sql to run. For example "LocationTable.sql"

oracleTempSchema

For Oracle only: the name of the database schema where you want all temporary tables to be managed. Requires create/insert permissions to this database.


OHDSI/ETL-HealthVerityBuilder documentation built on May 19, 2019, 12:40 a.m.