Interactive reporting + visualization with Shiny II

Lecture 26

Dr. Mine Çetinkaya-Rundel

Duke University
STA 313 - Spring 2023

Warm up

Announcements

  • Course and TA evaluations
    • If we can get to >=90% participation for both, each person gets +5 points on their lowest (not dropped) homework score.
    • Current participation rate: TA evals 8.5% and course evals 5.9%.
  • Project 1s are posted on the course website for those who agreed to share. If you wanted to be able to fork your Project 1 repo, that’s also available now. For any Project 1 repos that are made public, I’ve deleted the issues with scores and archived them myself, happy to share a PDF with your team if you like.
  • Also posted are your thank you cards and ugly plots!

From last time

Ultimate goal

Interactive reporting with Shiny

Livecoding

Go to the ae-21 project and code along in manager-survey/app-2.R.


Highlights:

  • Data pre-processing outside of the app
  • Tabsets
  • Validation

Interactive visualizations with Shiny

Livecoding

Go to the ae-21 project and code along in manager-survey/app-3.R.


Highlights:

  • Conditional panels
  • Linked brushing

Reference

The code for the app can be found here.