createCemConnection | R Documentation |
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
createCemConnection(
apiUrl = "https://cem.ohdsi.org",
connectionDetails = NULL,
cemDatabaseSchema = NULL,
sourceDatabaseSchema = NULL,
vocabularyDatabaseSchema = NULL
)
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.