Shiny Session 1

shiny

First Shiny training session in series of four

Bryan Blanc https://github.com/bpb824
01-14-2021

This content was presented to Nelson\Nygaard Staff for the Shiny Webinar series on Wednesday, August 26th, 2020, and is available as a recording here and embedded below.

Introduction

Introductions

A primary goal of this course is to build capacity within Nelson\Nygaard for Shiny app development. That includes not just technical skills, but also relationships with other folks at the firm you can learn from, teach, and work with more generally.

I would like everyone to say their name, pronouns, and office, and to talk briefly about what they would like out of this ‘course’.

Demonstration Application

Please begin thinking about what Shiny app you would like to build over the next eight weeks, with the goal of presenting the application at the final session on Wednesday, October 7th. I would like everyone to have emailed me with the app idea they have decided upon by EOD Friday, September 4th. Please set up a 15 minute appointment with me if you would like to talk through your application idea before.

The goal of developing a demonstration application is to reinforce the skills learned throughout the course, and to learn by applying the skills you learn to an analysis related to your project work. Ideally, you would be able to bill some of your time to a project if the application would be useful for a project task. Please talk to your team leader and project manager about this idea prior to deciding on your demo application. I will be happy to set up one-on-one discussions with each person as needed over the next eight weeks to walk them through questions they are having in developing their demo apps.

Course Schedule

Below is the tentative schedule for the Shiny training sessions. Feedback is welcome, but encouraged to be provided ASAP so that the course content can be amended as soon as possible to save time expended overall.

Nelson\Nygaard Shiny Examples

Some examples are linked below so you can get an idea of what the end product looks like, and get ideas for your demo application. - Tillamook County Demand Response OD Map - Portland Crash Map - TriMet Bus Delay Dashboard (needs authentication credentials) - Expedia Parking Tracker

RStudio Lessons 1 - 4

Lesson 1 - Welcome to Shiny

Refer to RStudio lesson

Bryan’s Additional Notes

Lesson 2 - Build a User Interface

Refer to RStudio lesson

Bryan’s Additional Notes

Lesson 3 - Add Control Widgets

Refer to RStudio lesson

Bryan’s Additional Notes

Lesson 4 - Display Reactive Output

Refer to RStudio lesson

Reference Materials

Basics of Shiny Video

I highly recommend you watch this 2.5 hour Rstudio produced tutorial video before our next session – this will teach you the basics of Shiny that we will be reinforcing in this course. Many free resources already exist to teach Shiny, and we don’t want to reinvent this content! The video is embedded below.

How to Start Shiny (Complete) from RStudio, Inc. on Vimeo.

Cheat Sheets

RStudio’s Shiny cheat sheet is a great resource to have by your side when first developing Shiny apps.

Shiny Cheat Sheet

This content was presented to Nelson\Nygaard Staff for the Shiny Webinar series on Wednesday, August 26th, 2020, and is available as a recording here and embedded at the top of the page.