This is my presentation for the inaugural NYC R Conference.
Ebola dataset and images were taken from Caitlin Rivers' repo: https://github.com/cmrivers/ebola
Checkout the awesome rstudio shiny tutorial afterwards! There is a gallery with a bunch of example code, and artiles to bring your shiny app to the next level.
Hope this gets everyone started in the right direction!
- Knitr and rmarkdown primer
- Basic ebola plot
- Interactive Shiny (did not cover this due to time) documents
- Interactive Shiny app
There are 2 ways you can get the files
- If you know your way around github you can clone this repository.
- You can click the "Download Zip" button to the right and unzip all the files on to your computer.
The Material used for the talk are in the src
folder. They are numbered so you can go through them the exact same way I did during the talk.
To render or run everything: The simplest way is to open the .Rmd
files and click knit html
and have the presentation and rmarkdown documents render for you.
If you want to run the shiny app. You have to open the ui.R
and server.R
files in rstudio, then you will have a run app
button to click.
If you want, the .html
files in the various subfolder under src/
can be viewed directly so you do not have to render them in r/rstudio to go through the slides
I would suggest looking and/or reading through the Shiny document before going to the Shiny App. I was running out of time during the presentation so I had to skip the Shiny Document part. What's nice about the Shiny Document is that you do not need to work with 2 files (server.R and ui.R) and everything can be done in a single document.
If the instructions are unclear send me an issue on the top right panel.