

With javascript: D3, a tremendously powerful tool with a steep learning curve (esp. if you don’t know javascript).Check out the main website, or this Medium post introducing the tool. Other dashboard tools besides shiny (but not in R): For further cutting down on code repetition by “functionizing” your shiny app, check out Emily Riederer’s beginner’s guide to Shiny modules for a gentle introduction and Chapter 19 of the “Mastering Shiny” book for a full treatment.For testing your shiny app, check out the shinytest and reactlog packages.For shiny documents (= R Markdown + shiny), see Chapter 19 of Yihui’s R Markdown book.The official shiny site has tutorials, a gallery, and other goodies.“Mastering Shiny” by Hadley Wickham gives a more comprehensive treatment.Dean Attali’s shiny tutorial (which forms the basis from which our STAT 545 tutorial was created).This example and other examples can be viewed on the Gallery of Shiny from RStudio. This example is based on the Telephones by Region example. These steps are also explained in this article. Example for dashboard based on data in Castor EDC The server, which defines instructions to build the app.The user interface (ui), in which the layout and appearance of the app are defined.

Shiny apps are contained in a single script called app.R, which has 3 components: Ready to use graphs and diagrams can be found at: These graphs already contain R code from which you can draw inspiration.Related video and written tutorials can be found at: Īn example applied to a Castor study can be found below as well as in this webinar.Use the R package Shiny to create dashboards.Retrieve the data in RStudio with our R package castoRedc.In this article we will give you steps to get started. You can use the data to create dashboards with R, RStudio, and Shiny. With our R package you can easily retrieve your Castor data in real time.
