launchEvidenceExplorer | R Documentation |
Launch the Evidence Explorer Shiny app
launchEvidenceExplorer(
cohorts = "class",
dataFolder = "data",
dataFile = "PreMerged.RData",
connectionDetails = NULL,
blind = TRUE,
aboutText = NULL,
runOverNetwork = FALSE,
port = 80,
launch.browser = FALSE
)
dataFolder |
A folder where the premerged file is stored. Use
the |
dataFile |
(Optional) The name of the .RData file with results. It is commonly known as the Premerged file. |
connectionDetails |
An object of type |
blind |
Should effect-estimates be hidden? |
aboutText |
Text (using HTML markup) that will be displayed in an About tab in the Shiny app. If not provided, no About tab will be shown. |
runOverNetwork |
(optional) Do you want the app to run over your network? |
port |
(optional) Only used if |
launch.browser |
Should the app be launched in your default browser, or in a Shiny window. Note: copying to clipboard will not work in a Shiny window. |
cohort |
A string denoting which results schema to explore. |
Launches a Shiny app that allows the user to explore the evidence
## Not run:
# OHDSI shinydb legendt2dm read-only credentials
appConnectionDetails <- DatabaseConnector::createConnectionDetails(
dbms = "postgresql",
server = paste(keyring::key_get("legendt2dmServer"),
keyring::key_get("legendt2dmDatabase"),
sep = "/"),
user = keyring::key_get("legendt2dmUser"),
password = keyring::key_get("legendt2dmPassword"))
# Run from db server (data download can take a long time)
LegendT2dmEvidenceExplorer::launchEvidenceExplorer(cohorts = "class",
connectionDetails = appConnectionDetails,
blind = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.