viewShiny | R Documentation |
Open the shiny app
viewShiny(
config,
connection,
resultDatabaseSettings = createDefaultResultDatabaseSettings(),
connectionDetails = NULL,
usePooledConnection = TRUE,
studyDescription = NULL,
title = "OHDSI Analysis Viewer",
protocolLink = "http://ohdsi.org",
themePackage = "OhdsiShinyAppBuilder"
)
config |
The json with the app config |
connection |
A connection to the results |
resultDatabaseSettings |
A list with the result schema and table prefixes |
connectionDetails |
A DatabaseConnector::connectionDetails connection to the results database |
usePooledConnection |
Use a pooled database connection or not - set to true for multi-user environments (default) |
studyDescription |
A human-readable character string describing the study/analysis |
title |
The title for the app. Defaults to: OHDSI Analysis Viewer |
protocolLink |
A link to a site containing the study protocol |
themePackage |
A package containing custom theme elements |
User specifies the json config and connection
The shiny app will open
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.