Shiny: Creating Interactive Data Tables and Triggered Plots for the Web

 

This series is intended to assist students and researchers (with some experience in R) migrate their important work and results from the desktop (R and RStudio) to the web.
Shiny is a package that helps you develop web pages in an R environment. Using Shiny lets people, with no knowledge of R, interact with your data, models and results on a web page. In this new series, hosted by the Innovation Co-Lab and Research Computing, learn how to interactively tell your research story and migrate your important work and results in R and RStudio to the Web. Each workshop is designed as hands-on with example based learning, followed by open discussion with our in-house Shiny expert, Tom Balmat. Participants are encouraged to bring problems, data, and models from current research.
In this workshop, learn how to make your web based results tables interactive for your viewers. Use text prompts, selection lists, or radio buttons to allow your viewer to query your data and build their own results table. Then allow them to dig deeper into the data by clicking on a row. During this session we will look more deeply at the anatomy of a Shiny app while focusing on interactive data tables and integrated plots.

Don't know R? Check out these classes through the library before signing up for Shiny: https://library.duke.edu/data/workshops

This class will be hosted via Zoom. You will receive an email with the Zoom link a day before the class. Attendance will be taken and the session will be recorded.

 

View Enrollment Sessions
  • Big Data

About Course

Outline

  • Overview
  • Examples, resources, and use cases
  • Review setup and anatomy of a Shiny app
  • Exercises
  • Helpful tips and debugging along the way

Objectives

  • Understand the primary function of Shiny – to transform a static R script into a dynamic web application
  • Develop skills necessary to create and deploy a professional R and Shiny web application to make data and research results available to the public
  • Incorporate Shiny into the explore, research, and publish cycle

Tools

Students should have a Rstudio environment setup before attending. You can setup a free account at https://rstudio.cloud or use the Duke container reservation system: https://vm-manage.oit.duke.edu/containers

Files

Prerequisites

Students should have some experience with R. If you are unfamiliar with R, we recommend attending R workshops with Duke University libraries: https://library.duke.edu/data/workshops Additionally, for those new to Shiny, please take Shiny: Intro to Shiny first.

Examples

shiny-datatables shiny-datatables shiny-datatables

Enroll

Interested in taking this class? Enroll in one of the sessions below!

4/7/2021

1:00 PM - 4:00 PM

Location: Online

27 seats left!

Enroll

This class is part of our Research Computing Track

See the whole track

Suggested Courses

Course Graphic

Shiny: Make your Shiny App a Resource for Exploratory Research with ggplot

In this workshop, we will take our Shiny apps to next level with ggplot by creating multi-panel plots, defining visuals (color, weight, etc) based on definitions and level, configuring axes, and adjusting themes for overall appearance. We will see the power of this app working with an interactive US Domestic flight map.

Learn More