options(htmltools.dir.version = FALSE) library(kableExtra) library(tidyverse) library(xaringanthemer) library(zoo) #kable options kable <- function(data, ...) { knitr::kable(data, booktabs = TRUE, ...) %>% kable_styling(bootstrap_options =c("striped", "hover"), full_width = T, position = "left", fixed_thead = T) } style_mono_accent( base_color = "#1c3041", header_font_google = google_font("Josefin Sans"), text_font_google = google_font("Source Sans Pro", "300", "300i"), code_font_google = google_font("Fira Mono") )
class: title-slide
L. Hsieh, V. Jain, A. Monney, C. Schönholzer, R. Tombola
background-image: url(agenda.jpg) background-size: cover
.title[ Today's Agenda ]
class: right background-image: url(europe.jpg) background-size: cover
.title[ Why This App? ]
class: right background-image: url(europe.jpg) background-size: cover
.title[ Data ]
| Topic | Source | Observations | Variables | Coverage | Frequency | |:------|:------|:-:|:--:|:-:|:-:|:-:| | COVID-19 | https://ourworldindata.org | > 148k | 67 | 01.2020 to today| Daily | --
| Topic | Source | Observations | Variables | Coverage | Frequency | |:------|:------|:-:|:--:|:-:|:-:|:-:| | COVID-19 | https://ourworldindata.org | > 29,8k | 25 | 01.2020 to today| Daily |
-- .pull-left[ * Data not always updated daily → NA's
Solution:
* 7-day rolling average * fill NA's with the last updated values ].pull-right[ * Some observations in the new cases have negative values
Solution:
* take absolute value ]class: up right background-image: url(europe.jpg) background-size: cover
.title[ Our Website ]
class: right background-image: url(europe.jpg) background-size: cover
.title[ Limitations ]
class: left background-image: url(https://media4.giphy.com/media/Mp4hQy51LjY6A/giphy.gif?cid=790b76113af446a0d6f3a280451beefacaaec7adc940fd5a&rid=giphy.gif&ct=g) background-size: cover
.title[
Thanks
For your attention!
].subtitle[
Do you have any questions? ]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.