Skip to contents

Lifecycle:experimental Build Status codecov.io

DarwinShinyModules is an R package containing shiny modules. Each module is represented as an R6 object, which contains pre-specified UI elements, and back-end code.

Features

  • Provides pre-specified modules of common shiny app components.
  • Provides pre-specified modules for DARWIN EU© analytical pipelines (in progress).
  • Ability to overwrite UI elements and the server back-end with bespoke code.
  • Compatible with bespoke shiny application development.
  • Seamlessly integrate existing OhdsiShinyModules.
  • Extend the existing library with your own modules

Installation

  1. To install the latest stable version:
install.packages(remotes)
remotes::install_github('darwin-eu-dev/DarwinShinyModules')

Usage

library(DarwinShinyModules)

irisTable <- Table$new(iris)
carsTable <- Table$new(mtcars)

darwinApp(
  list(
    Tables = list(
      Iris = irisTable,
      MT_Cars = carsTable
    )
  )
)

License

DarwinShinyModules is licensed under Apache License 2.0