shinyCharacteristics {OmopSketch} | R Documentation |
Generate an interactive Shiny application that visualises the results obtained from the databaseCharacteristics()
function.
Description
Generate an interactive Shiny application that visualises the results obtained from the databaseCharacteristics()
function.
Usage
shinyCharacteristics(
result,
directory,
title = "Database characterisation",
logo = "ohdsi",
theme = "bslib::bs_theme(bootswatch = 'flatly')"
)
Arguments
result |
A summarised_result object containing the results from the |
directory |
A character string specifying the directory where the application will be saved. |
title |
Title of the shiny. Default is "Characterisation" |
logo |
Name of a logo or path to a logo. If NULL no logo is included. Only svg format allowed for the moment. |
theme |
A character string specifying the theme for the Shiny application.
Default is |
Value
This function invisibly returns NULL and generates a static Shiny app in the specified directory.
Examples
## Not run:
library(OmopSketch)
cdm <- mockOmopSketch()
res <- databaseCharacteristics(cdm = cdm)
shinyCharacteristics(result = res, directory = here::here())
## End(Not run)