class: center, middle, inverse, title-slide # Easy Dashboards with R Markdown ###
Yihui Xie
### 2018/03/27 @ Omaha R User Group --- # About me - I work for RStudio (almost exclusively on open source) - Authored a few books - 2015, _Dynamic Documents with R and knitr_ - 2016, _bookdown: Authoring Books and Technical Documents with R Markdown_ - 2017, _blogdown: Creating Websites with R Markdown_ - and some R packages (**knitr**, **bookdown**, **blogdown**, **xaringan**, **tinytex**, **animation**, **DT**, **tufte**, **formatR**, **fun**, **xfun**, **mime**, **highr**, **servr**, and **Rd2roxygen**, etc.); and co-authored a few others (e.g., **shiny**, **rmarkdown**, and **leaflet**) -- .center[] --- background-image: url(https://rmarkdown.rstudio.com/images/bandthree2.png) # R Markdown ### [rmarkdown.rstudio.com](https://rmarkdown.rstudio.com) --- background-image: url(https://images.unsplash.com/photo-1520999166456-6c498658829d?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=d3b5d04ff5c47ff37965401212e8017a&auto=format&fit=crop&w=2850&q=80) background-size: cover class: inverse # One Format to Rule Them All - All computing languages - R, Python, C++, Julia, C - Fortran, SQL, Bash, Stan - JavaScript, CSS, SAS, Perl, Haskell, Go, ... - All output formats - Single documents: HTML, PDF, Word, RTF, ODT, dashboards, journal articles, ... - Presentations: PowerPoint, LaTeX Beamer, ioslides, Slidy, reveal.js, remark.js, ... - Multiple documents: books, websites, ... - Demo (documents, presentations, Python, publishing to RStudio Connect) --- # Dashboards - Use R Markdown to publish a group of related data visualizations as a dashboard. - Support for a wide variety of components including htmlwidgets; base, lattice, and grid graphics; tabular data; gauges and value boxes; and text annotations. - Flexible and easy to specify row and column-based layouts. Components are intelligently re-sized to fill the browser and adapted for display on mobile devices. - Storyboard layouts for presenting sequences of visualizations and related commentary. - Optionally use Shiny to drive visualizations dynamically. --- # Getting started ```r install.packages("flexdashboard") ``` .center[] --- class: center, middle, inverse background-image: url(https://images.unsplash.com/photo-1510673825466-302bc330ab95?ixlib=rb-0.3.5&s=d2c39769783f0cd74d6d14fd42c80097&auto=format&fit=crop&w=1952&q=80) background-size: cover # Examples --- # Thanks! - Slides: [bit.ly/2018-dashboard](https://bit.ly/2018-dashboard); examples: [bit.ly/2018-dashboard-examples](http://bit.ly/2018-dashboard-examples) - RStudio - Homepage: https://rstudio.com - Twitter: [@rstudio](https://twitter.com/rstudio); Github: [@rstudio](https://github.com/rstudio) - Me - Homepage https://yihui.org - Twitter [@xieyihui](https://twitter.com/xieyihui); Github [@yihui](https://github.com/yihui) - More questions: [StackOverflow](https://yihui.org/en/2017/08/so-gh-email/), or RStudio Community (https://community.rstudio.com).