The package includes a shiny web application that aims to interactively visualize measurements from SQL databases. It has primarily been developed to visualize laboratory measurements, but can in principal be used to visualize any continuous and discrete values.
Currently supported databases:
- Oracle (via R package
RJDBC
--> please provide the path to your 'ojdbc7.jar' when starting the application) - PostgreSQL (via R package
Rpostgres
)
You can install labVisualizeR with the following commands in R:
install.packages("remotes")
remotes::install_github("miracum/labor-labvisualizer")
The database connection can be configured using environment variables. These can be set using the base R command Sys.setenv()
.
A detailed description, which environment variables need to be set for the specific databases can be found here.
To start labVisualizeR
, just run the following command in R. A browser tab should open displaying the web application. Alternatively you can type the URL "localhost:3838/" in your browser.
To run the analyses, please click on the button Load example data on the application's dashboard.
library(labVisualizeR)
launch_app()
A custom app title can be used by setting the environment variable LABVIZ_TITLE
before calling launch_app()
, e.g.
library(labVisualizeR)
Sys.setenv("LABVIZ_TITLE" = "Custom Title")
launch_app()
- about MIRACUM: https://www.miracum.org/
- about the Medical Informatics Initiative: https://www.medizininformatik-initiative.de/index.php/de
- about Shiny: https://www.rstudio.com/products/shiny/
- RStudio and Shiny are trademarks of RStudio, Inc.