by Carl Howe and Yihui Xie
🗓️ January 27 and 28, 2020
⏰ 09:00 - 17:00
🏨 Continental Ballroom Room 7-9
This 2-day introductory workshop will teach students the fundamentals how to create R Markdown scripts for reports and interactive applications. Attendees will learn how to:
- Design R Markdown for reproducibility and reuse.
- Craft their own R Markdown reports.
- Parameterize R Markdown content for personalized report generation
- Publish R Markdown content to other servers such as RStudio Connect and RPubs.
- Add flexdashboard interactive elements and pages to R Markdown documents
- Combine htmlwidgets with static content to create dynamic dashboards
- How to add Shiny interactivity to your dashboard.
- Structure dashboards to visualize data from real-time Web sources
- Design interactive applications for best performance
In the course of this 2-day workshop, students will gain experience constructing several reports and dashboards from data sets provided to the class. We'll also touch on what students would need to deploy such applications within their own organizations. Attendees will also participate in a session with Yihui Xie, the creator and co-author of R Markdown, to learn some useful R Markdown tricks and to get answers to their thorniest R Markdown questions.
Attendees will learn:
- The many capabilities of R Markdown, and how to use it as an authoring tool.
- How to parameterize and publish data science reports and papers from R Markdown.
- How to make their publications come alive with interactive dashboards using htmlwidgets and Shiny.
This class is appropriate for attendees who want to:
- Create reproducible data analyses and reports that can be shared with a large audience.
- Craft interactive dashboards for others to understand their data and analyses.
- Build stand-alone Web applications that allow users to visually explore data and find insights of their own.
While no experience with R is required for our work with R Markdown, attendees will need knowledge of R and some experience with the tidyverse to build Shiny Web applications.
You will need accounts on 4 cloud services to do all the exercises in this course:
- geonames.org. This service provides real-time data that we use in our first dashboard. Please create a new account at [geonames.org/login](https://geonames.org/login] so that your dashboard won't fail due to the entire class trying to share one account. The service only requires an email address and name to register.
- rstudio.cloud. If you don't already have one, please create an rstudio.cloud account for yourself so that you can do the exercises associated with this course. This will only require an email address, and no personal information will be recorded.
- rpubs.com. If you don't already have one, please create an RPubs.com account so that you can publish your RMarkdown documents. Again, no personal information other than your email addrss will be recorded.
- shinyapps.io. If you don't already have one, please create a Shinyapps.io account so that you can publish your Shiny dashboards.
All the materials for this course, including Keynote slide sources, are contained in a github repo at https://rstd.io/RMAID.
We intend this course to be taught using RStudio.cloud, a cloud-based implementation of the RStudio development environment. In this environment, students receive a link to a workspace that contains the github materials referenced above, but split up into multiple projects. We recommend that any educator who wishes to use our materials clone the github repository above and then pull the repository contents into projects on rstudio.cloud using the New project from github repository option.
Time | Activity |
---|---|
09:00 - 10:30 | R Markdown Basics |
10:30 - 11:00 | Coffee break |
11:00 - 12:30 | Publishing Outputs |
12:00 - 13:30 | Lunch break |
13:30 - 15:00 | Adding Interactivity |
15:00 - 15:30 | Coffee break |
15:30 - 17:00 | Web-based Dashboards |
Time | Activity |
---|---|
09:00 - 10:30 | Shiny Dashboards |
10:30 - 11:00 | Coffee break |
11:00 - 12:30 | Reactivity |
12:30 - 13:30 | Lunch break |
13:30 - 15:00 | Yihui Xie Master Class: R Markdown Recipes |
15:00 - 15:30 | Coffee break |
15:30 - 17:00 | Yihui Xie Answers Your Questions |
Instructors: Carl Howe, Yihui Xie
TAs: Hadrien Dykiel, Melanie Mayer, Jiena McLellan, Adi Sarid
This work is licensed under a Creative Commons Attribution 4.0 International License.