Yang Hao's Projects for CS424

Link to a zipped file which has all necessary data files to run it:

http://yhao5.people.uic.edu/cs424/project1/project1.zip

project1.zip Folder:

  • app.R: This file is R code for the implementation.
  • Datas are used in the project:choleraDeathLocations.csv, choleraDeaths.tsv,choleraPumpLocations.csv,naplesCholeraAgeSexData.tsv, UKcensus1851.csv,snowMapRobinWilson.jpg.
  • README.txt : The file is to tell you how to run the application.
  • Instrucitions to run the program in RStudio.

  • Install needed packages. You can run the command: install.packages("pkg")
  • Libraries included in my project: library(shiny), library(shinydashboard), library(ggplot2), library(lubridate), library(DT), library(jpeg), library(grid), library(leaflet), library(plotly)
  • Set working directory by inputing command line: setwd("*/project1"). The "*/project1" means the address where you place unzipped folder.
  • Open the app.R file in Rstudio. It is a Shiny web application. You can run the application by clicking the 'Run App' button above.