A Dashboard of Shiny Apps
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
We build a lot of Shiny apps. Once we have more than a couple related Shiny apps, it often makes sense to create a dashboard for our Shiny apps. A dashboard of Shiny apps allows users to easily visualize available apps and navigate between apps. This post covers a simple example of one of these dashboards of Shiny apps. The Shiny apps dashboard looks like this:
The above dashboard of Shiny apps is itself a Shiny app. It displays screenshots and links to 2 other Shiny apps (“Claims Dashboard” on the left and “Interest Rate Walk” on the right). As you would expect, the user can click on the “Live App” buttons to navigate to the actual apps.
The dashboard and each of the Shiny apps in the dashboard use our R package, polished
, to secure the app with user authentication. polished
manages user authorization on a per app basis, so we can restrict user access to the dashboard and to specific apps in the dashboard (e.g. we could give user A access to only “Claims Dashboard” but not “Interest Rate Walk” and user B access to both apps). Once the user is signed in to the dashboard they can seemlessly navigate to all apps that they are authorized to access. Visit polished.tech to learn more about polished
and how to integrate it with your Shiny apps.
Sign in to the live dashboard of Shiny apps here using the following credentials:
- email: [email protected]
- password: polished
If you really want to dive into the details, the source code is available here.
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.