getExampleConnectionDetails | R Documentation |
This returns an object of class 'ConnectionDetails' that lets you connect via 'DatabaseConnector::connect()' to the example result database.
getExampleConnectionDetails(exdir = tempdir())
exdir |
a directory to unzip the example result data into. Default is tempdir(). |
Finds the location of the example result database in the package and calls 'DatabaseConnector::createConnectionDetails' to create a 'ConnectionDetails' object for connecting to the database.
An object of class 'ConnectionDetails' with the details to connect to the example OHDSI result database
Other helper:
kableDark()
,
printReactable()
,
removeSpaces()
conDet <- getExampleConnectionDetails()
connectionHandler <- ResultModelManager::ConnectionHandler$new(conDet)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.