Shiny is a platform that makes it easy to build interactive web apps. R shiny server in DataHub is used to build interactive dashboards.
If you are interested to explore Shiny application further then you can play with examples from Posit and some from a Stat instructor.
Distributing and Running Shiny Apps¶
You can use nbgitpuller to distribute a shiny application. Specify a URL of /shiny
. You can also specify the full path to the shiny app. For example if the application exists in course-repo/app1
, the nbgitpuller
custom URL would be shiny/course-repo/app1
.
Users can also run Shiny from the JupyterLab launcher. This will display a shiny file browser.
Manual Application Installation¶
- Clone the required GitHub repository having Shiny examples to your instance of Jupyterhub.
- Launch the Shiny server.
Example¶
You can also view the code that generated the dashboard in the rendered output.