This repo contains an example Shiny app that demonstrates some features that may be particularly useful to pharma:
- Select/filter controls: implemented as Shiny modules
- Save/restore sessions: an alternative front-end to bookmarks
- Code generation: viewing not just manipulated data, but the code used to manipulate the data
- Report downloading: on-demand generation of zip archive containing both PDF and .Rmd
Thank you to Adrian Waddell (Roche), Eric Nantz (Eli Lilly) and Xiao Ni (Novartis) for inspiring this app!
This app has a number of CRAN dependencies:
install.packages(c("base64enc", "dplyr", "lubridate",
"pool", "rmarkdown", "RSQLite", "shinythemes",
"sourcetools", "stringr", "styler", "yaml"))
You can run the app in the usual way, by running app.R
in RStudio or just shiny::runApp()
from the repo directory.