Skip to content

Latest commit

 

History

History
77 lines (57 loc) · 3.75 KB

README.md

File metadata and controls

77 lines (57 loc) · 3.75 KB

advanced-shiny-az

Overview

Shiny is the leading R package for developing interactive web apps. These give your clients, users, or students the power and sophistication of R with a friendly, no-code interface custom designed to your purpose. This workshop will begin with an overview of interactivity options in R (R Markdown documents with Shiny components, parameterized reports, and dashboards), will explore features of reactive programming, building complex apps with modules, and will wrap up with a session on troubleshooting Shiny apps.

Audience

This course is designed for advanced R users who already have some experience with Shiny but want to level up their Shiny skills. If you need a Shiny refresher ahead of the course, we suggest taking this R Studio tutorial: https://shiny.rstudio.com/tutorial.

Learning objectives

During this course you will learn about:

  • Spectrum of reproducible dynamic reporting from R Markdown to Shiny
  • Building functional and visually appealing user interfaces
  • Reactive programming: theory and application
  • Leveraging Shiny modules as your app grows
  • Troubleshooting your Shiny app

After this course you should be able to:

  • Create and deploy a Shiny app from scratch
  • Enhance a complex Shiny app by breaking it into modules
  • Employ a principled approach to debugging Shiny apps

Materials

All course materials can be found at rstd.io/adv-shiny-az.

You have two options for following along with the exercises:

  • On RStudio Cloud (strongly recommended) - Go to rstd.io/adv-shiny-az-cloud, log in, and join the workspace. All packages you will need are already pre-installed in the projects in this workspace and the files needed for exercises have already been uploaded there as well.
  • Locally - Click on View the Project on GitHub and either download the contents of the repo or fork and clone it. If you choose this route, start working on the exercises by clicking on the advanced-shiny-az.Rproj file to launch the RStudio session. Then, install the latest versions of all packages listed below using the code provided.
install.packages("bslib")
install.packages("cranlogs")
install.packages("devtools")
install.packages("DT")
install.packages("golem")
install.packages("flexdashboard")
install.packages("gapminder")
install.packages("jsonlite")
install.packages("lubridate")
install.packages("miniUI")
install.packages("openintro")
install.packages("shiny")
install.packages("shinyBS")
install.packages("shinydashboard")
install.packages("shinyjs")
install.packages("shinytest")
install.packages("shinythemes")
install.packages("shinytoastr")
install.packages("testthat")
install.packages("thematic")
install.packages("tidyverse")
devtools::install_github("ThinkR-open/shinysnippets")
devtools::install_github("ropenhealth/openfda")

Schedule

Each day we'll take two 10-minute breaks one hour and two hours into the workshop (e.g., 10:30am ET and 11:30am ET).

Day 1 - 7 September 2021

Day 2 - 9 September 2021