Create a shiny app for a shiny server

createShinyApp(
  config,
  connection,
  resultDatabaseSettings = createDefaultResultDatabaseSettings(),
  connectionDetails = NULL,
  usePooledConnection = TRUE,
  studyDescription =
    "No description provided. Further details about the analyses used in this study can be found below.",
  title = "OHDSI Analysis Viewer",
  protocolLink = "http://ohdsi.org",
  themePackage = "ShinyAppBuilder"
)

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

Value

Shiny app instance

Details

User specifies the json config and connection