p0bs / shiny.moduler

Simple Shiny app that controls underlying Shiny modules. Deliberately unpolished. Run it at https://robin.shinyapps.io/useshiny/

Home Page:https://p0bs.github.io/shiny.moduler/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

R-CMD-check Lifecycle: experimental


shiny.moduler provides a simple Shiny app that controls underlying Shiny modules. As I'm seeking to show the Shiny functionality, the rest of the package is deliberately unpolished, with hardly any unit tests or error checks.

Why create this package? Well, I found that most of the code examples for Shiny stopped just before the point of building a main module to control sub-modules. As such, I thought I would go a bit further, in the hope that it might prove useful to others.

To see the resulting Shiny app, run it here.


Installation

You can install the latest version of shiny.moduler as follows:

devtools::install_github("p0bs/shiny.moduler")

Example

To run the app that controls and contains the sub-modules, use:

library(shiny.moduler)
app_main()

To run the sub-modules on a standalone basis, use:

library(shiny.moduler)
app_sectors(standalone = TRUE)
app_indicators(standalone = TRUE)

About

Simple Shiny app that controls underlying Shiny modules. Deliberately unpolished. Run it at https://robin.shinyapps.io/useshiny/

https://p0bs.github.io/shiny.moduler/

License:MIT License


Languages

Language:R 100.0%