Source Code
The files for running this project could be found here, click the pop-out button that appears on the file preview below when hovering it, then on the new tab that pops-out, click on the download button on the upper right hand corner:
project2.zip
Getting started:
- Download R: https://cran.r-project.org/bin/
- Download RStudio: https://www.rstudio.com/products/rstudio/download/
- Install R and RStudio
- After RStudio installation, open RStudio
- On RStudio console, install Shiny by typing:
install.packages("shiny")
- Install the following packages (dependencies of the project):
install.packages("shinydashboard")
install.packages("ggplot2")
install.packages("lubridate")
install.packages("DT")
install.packages("leaflet")
install.packages("plyr")
install.packages("reshape2")
install.packages("rgdal")
install.packages("dplyr")
- Unzip the project files above
- On RStudio, click on File then Open file (Ctrl + O would work too)
- Open app.R from the unzipped project files from before
- To run the app, hit the "Run App" button on the upper right corner of the app.R window on RStudio