createShinyApp {OhdsiShinyAppBuilder} | R Documentation |
createShinyApp
Description
Create a shiny app for a shiny server
Usage
createShinyApp(
config,
connection,
resultDatabaseSettings = createDefaultResultDatabaseSettings(),
connectionDetails = NULL,
usePooledConnection = TRUE,
studyDescription = NULL,
title = "OHDSI Analysis Viewer",
protocolLink = "http://ohdsi.org",
themePackage = "OhdsiShinyAppBuilder",
reportSummaryDetails = NULL
)
Arguments
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 |
reportSummaryDetails |
NULL or a data.frame with the columns reportName and reportLocation |
Details
User specifies the json config and connection
Value
Shiny app instance
[Package OhdsiShinyAppBuilder version 1.0.0 Index]