-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
52f23b7
commit 575b109
Showing
20 changed files
with
2,675 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
--- | ||
title: "Interactive web apps <br> `r emo::ji('shine')`" | ||
author: "S. Mason Garrison" | ||
output: | ||
xaringan::moon_reader: | ||
css: "../slides.css" | ||
lib_dir: libs | ||
nature: | ||
ratio: "16:9" | ||
highlightLines: true | ||
highlightStyle: solarized-light | ||
countIncrementalSlides: false | ||
slideNumberFormat: "" | ||
--- | ||
|
||
```{r child = "../setup.Rmd"} | ||
``` | ||
|
||
## Shiny | ||
|
||
.pull-left[ | ||
- Shiny is an R package that makes it easy to build interactive web apps straight from R | ||
- You can host standalone apps on a webpage or embed them in R Markdown documents or build dashboards | ||
- You can also extend your Shiny apps with CSS themes, htmlwidgets, and JavaScript actions | ||
- Learn more at [shiny.rstudio.com](https://shiny.rstudio.com/) | ||
] | ||
.pull-right[ | ||
```{r echo=FALSE, fig.align = "left"} | ||
knitr::include_graphics("img/shiny.png") | ||
``` | ||
] | ||
|
||
--- | ||
|
||
## High level view | ||
|
||
- Every Shiny app has a webpage that the user visits, and behind this webpage there is a computer that serves this webpage by running R | ||
|
||
- When running your app locally, the computer serving your app is your computer | ||
|
||
- When your app is deployed, the computer serving your app is a web server | ||
|
||
--- | ||
|
||
.center[ | ||
[minecr.shinyapps.io/fm-speeches-covid19-simple](https://minecr.shinyapps.io/fm-speeches-covid19-simple/) | ||
] | ||
|
||
.center[ | ||
<iframe width="1000" height="500" src="https://minecr.shinyapps.io/fm-speeches-covid19-simple/" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> | ||
] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.