Skip to content

Latest commit

 

History

History
59 lines (39 loc) · 2.68 KB

README.md

File metadata and controls

59 lines (39 loc) · 2.68 KB

labVisualizeR (!!! under development !!!)

R CMD Check via {tic} linting test-coverage codecov

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)

Installation

You can install labVisualizeR with the following commands in R:

install.packages("remotes")
remotes::install_github("miracum/labor-labvisualizer")

Configuration

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.

Start shiny app

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()

More Infos: