First Shiny training session in series of four
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.
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’.
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.
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.
shinydashboard
package and look at examples of Shiny dashboards (10 minutes)shinydashboard
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
ui.R
files and server.R
files. The note below from lesson 1 indicates that this functionality is still supported, and I have personally gotten used to tabbing between the two files.
ui.R
and server.R
files. This is because apps can quickly become sophisticated (and thus, long) and separating the UI and Server elements makes for easier navigation. We will also recommend the inclusion of a global.R
file, which is helpful for loading neccessary packages and data used across both files.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.
RStudio’s Shiny cheat sheet is a great resource to have by your side when first developing Shiny apps.
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.