Oreilly - Introduction to Shiny
by Garrett Grolemund | Released April 2016 | ISBN: 9781491959541
Data scientists who work with R look to Shiny as the web framework of choice for moving analytical power into the hands of their bosses, clients, and the public at large. The reason? Shiny apps let the non-coders of the world control the visualization of complex data sets so they can explore, analyze and model on their own. Taught by RStudio master instructor Garrett Grolemund, this video details how Shiny combines the computational power of R and the interactivity of the web to produce highly interactive reports and visualizations. Part one offers a detailed description of Shiny and how to use it build an app. Part two covers reactive programming and why it differs from functional programming, the paradigm that guides most of R. Part three outlines the Shiny UI and the toolsets it offers to customize the appearance of a Shiny app. This video is optimized for the intermediate level R coder. Learn to build, test, and deploy Shiny web apps from start to finish Explore the RStudio IDE, the Shiny file structure, and the three must-have lines of Shiny code Discover how Shiny apps instantly and automatically respond to user inputs Master the fundamentals of reactive programming, the coding paradigm that makes Shiny possible Understand render*() functions, reactive expressions, observers, plots, and more Explore the tools R coders with or without HTML skills use to modify the look of Shiny apps Learn to host your Shiny app over any networkGarrett Grolemund is all about the R. He is a Data Scientist with RStudio, one of the largest contributors of content and software related to the open source R language. He is Editor-in-Chief of the Shiny development center at shiny.rstudio.com. He wrote the popular lubridate R package; the R focused O'Reilly Media titles Hands-On Programming with R, R for Data Science (co-author), and Expert Data Wrangling with R; and has three Rs in his name. Show and hide more Publisher resources Download Example Code
- Introduction
- How to build an App
- Your First App 00:06:38
- Components of an App 00:05:04
- Build Your App Around Inputs... 00:03:58
- …and Outputs 00:02:43
- Tell the Server How to Assemble Outputs From Inputs 00:03:54
- Create Reactivity 00:04:02
- Your First App Recap 00:02:41
- File Structure 00:05:40
- Share Your App 00:05:25
- Reactive Programming
- Vocabulary 00:07:18
- Reactive Programming 00:04:19
- Display Output with render*() Functions 00:04:54
- Build Reusable Objects with reactive() 00:09:24
- Prevent Reactions with isolate() 00:05:23
- Delay Reactions with eventReactive() 00:07:05
- Trigger Side Effects with observeEvent() 00:04:57
- Maintain State with reactiveValues() 00:05:10
- Observers versus Reactive Expressions, Part 1: Side Effects 00:07:24
- Observers versus Reactive Expressions, Part 2: The Key to Shiny 00:05:14
- Schedule Reactions with invalidateLater() 00:07:48
- Track Data with reactivePoll() and reactiveFileReader() 00:06:34
- Interactive Visualizations 00:12:26
- Avoid Repetition 00:04:28
- Understanding UI
- Shiny UI 00:04:26
- htmlTemplate() 00:09:02
- R Functions to Write HTML 00:07:58
- Panels 00:06:20
- Layers 00:07:20
- Formatting 00:07:26
- Raw Input 00:07:45
- Where now?
Show and hide more