createCemConnection: Function creates a connection to

View source: R/Connection.R

createCemConnectionR Documentation

Function creates a connection to

Description

Takes either connection details and CEM parameters and returns a backend object that can be used, transparently, to interface either with a web API or database.

Factory pattern creation of abstract CemBackend classes

Usage

createCemConnection(
  apiUrl = "https://cem.ohdsi.org",
  connectionDetails = NULL,
  cemDatabaseSchema = NULL,
  sourceDatabaseSchema = NULL,
  vocabularyDatabaseSchema = NULL
)

Arguments

apiUrl

url to cem connector hosted endpoint

connectionDetails

DatabaseConnector connection details object for connection to db

cemDatabaseSchema

schema for cem (if using database backend)

sourceDatabaseSchema

- schema containing source info

vocabularyDatabaseSchema

- schema for cem vocabulary


OHDSI/CemConnector documentation built on Aug. 5, 2023, 2:47 p.m.