https://github.com/rstudio-education/intro-shiny-rmarkdown
Materials for the "Intro to Shiny and R Markdown" 2-day workshop at rstudio::conf 2018
https://github.com/rstudio-education/intro-shiny-rmarkdown
Last synced: about 1 month ago
JSON representation
Materials for the "Intro to Shiny and R Markdown" 2-day workshop at rstudio::conf 2018
- Host: GitHub
- URL: https://github.com/rstudio-education/intro-shiny-rmarkdown
- Owner: rstudio-education
- Created: 2018-01-01T17:02:44.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-05T21:50:33.000Z (over 7 years ago)
- Last Synced: 2024-11-13T16:42:55.914Z (7 months ago)
- Language: HTML
- Size: 19.9 MB
- Stars: 29
- Watchers: 6
- Forks: 19
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - rstudio-education/intro-shiny-rmarkdown - Materials for the "Intro to Shiny and R Markdown" 2-day workshop at rstudio::conf 2018 (HTML)
README
# rstudioconf-2018-intro-shiny-rmarkdown
Materials for the "Intro to Shiny and R Markdown" 2-day workshop at [rstudio::conf 2018](https://www.rstudio.com/conference/).
---
## Locating the materials
* Option 1 - :cloud: RStudio Cloud: [bit.ly/shiny-rmd-cloud](bit.ly/shiny-rmd-cloud)
* Option 2 - :computer: Local installation: [bit.ly/shiny-rmd-repo](bit.ly/shiny-rmd-repo)
---
## Outline
### Day 1: January 31
#### :computer: 09:00 - 10:30: Session 1 - Getting started with Markdown
- 00 - Welcome: Getting started instructions + motivation + demo
- 01 - Composing your prose with Markdown:
- Text and headers
- Links and images
- Math text
- Tables
- The Markdown Quick Reference
- Your turn: From plain text to embellished#### :coffee: 10:30 - 11:00: Morning break
#### :computer: 11:00 - 12:00: Session 2 - Putting the R in R Markdown
- 02 - Structuring your analysis with R Markdown:
- Embedding R code -- in chunks and inline
- Chunk and global options
- Other languages
- Output options
- Output formats
- Your turn: Restructure from plain R Markdown to xaringan slides or Tufte document
#### :fork_and_knife: 12:00 - 13:00: Lunch#### :computer: 13:00 - 15:00: Session 3 - Upping your R Markdown game
- Tables
- Bibliography and citation
- Templates
- Parameterized reports#### :coffee: 15:00 - 15:30: Afternoon break
#### :computer: 15:30 - 17:00: Session 4 - First dip into interactivity
- Dashboards
- Embedding htmlwidgets in documents
- Embedding Shiny apps in documents
- Troubleshooting tips + Q & A### Day 2: February 1
#### :computer: 09:00 - 10:30: Session 1 - Getting started with Shiny
- 04 - Getting started with Shiny:
- High level view
- Anatomy of a Shiny app
- UI / Server
- File structure
- Deploying an app#### :coffee: 10:30 - 11:00: Morning break
#### :computer: 11:00 - 12:00: Session 2 - Understanding reactivity
- 05 - Understanding reactivity:
- Reactivity 101
- Reactive flow
- Implementation
- Render functions
#### :fork_and_knife: 12:00 - 13:00: Lunch#### :computer: 13:00 - 15:00: Session 3 - Designing UI
- Interface builder functions
- Tabs
- shinythemes#### :coffee: 15:00 - 15:30: Afternoon break
#### :computer: 15:30 - 17:00: Session 4 - Dashboards
- What's in a dashboard?
- flexdashboards
- Where to go next?---
## Setup instructions
### Install
```
from_cran <- c("shiny", "rmarkdown",
"DT", "devtools", "flexdashboard", "gapminder",
"rticles", "shinydashboard", "shinythemes",
"tidyverse", "tufte", "xaringan")install.packages(from_cran, repos = "http://cran.rstudio.com")
```### Load
```
library(shiny)
library(rmarkdown)
... # load the remaining packages similarly
```