Description Usage Arguments Details Value Author(s) Examples
View source: R/CdmAtlasCutover.R
buildCdmSource
1 2 3 4 5 |
sourceKey |
A unique string identifier for the data source |
sourceName |
The name of the CDM source |
dbms |
The dbms of the CDM source |
cdmDatabaseSchema |
The name of the schema where CDM data sits |
resultsDatabaseSchema |
The name of the schema where results data sits |
vocabDatabaseSchema |
The name of the schema where the vocabulary sits |
connectionString |
The JDBC connection string to the CDM source; REQUIRED if trying to insert a CDM source
( |
sourceId |
An optional value to pre-specify the database index identifier for the data source. If left NULL, this is either auto-generated by the Repo database, or the next available source_id is obtained. |
priority |
1 = the source become the one Atlas uses by default (e.g. to show record counts) 0 = the source will not become the one Atlas uses by default (e.g. to show record counts) |
user |
(OPTIONAL) The user name for the connection to the CDM. Only used if encryption of source credentials is enabled. |
password |
(OPTIONAL) The password for the connection to the CDM. Only used if encryption of source credentials is enabled. |
connectionDetails |
A connectionDetails object created using DatabaseConnector of this source |
Creates a CDM source object for use in the package with necessary connection information.
If using insertCdmSources
then connectionString will need to be defined.
A CDM source object with the necessary parameters to fulfill SOURCE and SOURCE_DAIMON
Ajit Londhe
1 2 3 4 5 | ## When building a CDM source to insert, and to make it top priority:
buildCdmSource(sourceKey = "TestDb_V123", sourceName = "Test Database v123", dbms = "redshift", cdmDatabaseSchema = "cdm",
resultsDatabaseSchema = "ohdsi_results", vocabDatabaseSchema = "cdm", priority = 1,
connectionString = "jdbc:redshift://some-redshift-cluster:5439/testdb_v123?user=some-user&password=some-password")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.