LoadVocabFromCsv: Load Vocabulary Tables From CSV Files.

View source: R/LoadVocabFromCsv.r

LoadVocabFromCsvR Documentation

Load Vocabulary Tables From CSV Files.

Description

This function populates all Vocabulary tables with data in csv files.

Usage

LoadVocabFromCsv(connectionDetails, cdmSchema, vocabFileLoc, bulkLoad = FALSE)

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 will contain the Vocabulary (and CDM) tables. 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'.

vocabFileLoc

The location of the vocabulary csv files.

bulkLoad

Boolean flag indicating whether or not to use bulk loading (if possible). Default is FALSE.

Details

This function assumes
createCDMTables() has already been run.


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