Intro to Shiny: Moving your (R) models to 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.
This first course will get you established with the fundamentals of Shiny and moving your first model to the web.

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

Examples

shiny-intro shiny-intro shiny-intro

Enroll

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

3/31/2021

1:00 PM - 4:00 PM

Location: Online

24 seats left!

Enroll

This class is part of our Research Computing Track

See the whole track

Suggested Courses

Course Graphic

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

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.

Learn More