Skip to content

Commit

Permalink
data
Browse files Browse the repository at this point in the history
  • Loading branch information
smasongarrison committed Apr 23, 2021
1 parent 52f23b7 commit 575b109
Show file tree
Hide file tree
Showing 20 changed files with 2,675 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ u4-d04-model-multiple-predictors/*
d23_multiple/u4-d04-model-multiple-predictors.*
u4-d10-quantify-uncertainty/*
u4-d11-bootstrap/*
d28_interactive/u5-d03-interactive-web-app.html
51 changes: 51 additions & 0 deletions d28_interactive/d28_interactive.Rmd
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>
]
Binary file added d28_interactive/img/shiny.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions d28_interactive/libs/font-awesome/css/all.css

Large diffs are not rendered by default.

Loading

0 comments on commit 575b109

Please sign in to comment.