insertCdmSources: insertCdmSources

Description Usage Arguments Details Author(s)

View source: R/CdmAtlasCutover.R

Description

insertCdmSources

Usage

1
2
insertCdmSources(repoConnectionDetails, cdmSources, sourceIdx = FALSE,
  daimonIdx = FALSE, sqlOnly = FALSE)

Arguments

repoConnectionDetails

A ConnectionDetails object for the OHDSI Repository

cdmSources

A list of CDM sources, built using CDM source object from buildCdmSource

sourceIdx

Boolean to indicate if the SOURCE table uses an identity index for source_id

daimonIdx

Boolean to indicate if the SOURCE_DAIMON table uses an identity index for source_daimon_id

sqlOnly

Generate SQL only, don't execute

Details

Inserts CDM sources into OHDSI Repository. Creates new records in SOURCE and associated records in SOURCE_DAIMON. As these tables may have identity indexes, boolean settings can be used to tell the function to skip instantiating new IDs.

Author(s)

Ajit Londhe


OHDSI/CdmAtlasCutover documentation built on Sept. 28, 2019, 11:14 a.m.