Skip to content

NYC Yellow Taxi analysis & visualization by R with RShiny app

Notifications You must be signed in to change notification settings

Forrest-Li/nyc-yellow-taxi-vis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NYC Yellow Taxi Visualization

w/ RShinny app on RStudio

Take a view at screenshot (I know it looks ugly... I'll beautify the UI later...): ScreenShot

Environment

Language: R (v3.6.1)

Platform: RStudio (v1.2.5)

Packages used

library(shiny)

library(shinyjs)

library(rgdal)

library(broom)

library(gpclib)

There are some problems installling this package, solution reference here. If there are still problems installing, please report issues.

library(ggplot2)

library(dplyr)

library(ggmap)

Require Google Maps Static API application: reference

Acitvation tutorial: link here

library(corrplot)

library(RColorBrewer)

How to run

  1. Run with pure RShinny on RStudio

    Clone the project to your dir. Open RStudio and set working dir to the project. Open the app.R file and click the Run App button top-right of the code editor panel or run runApp('<repository_dir>') in console.

  2. Run with GitHub connection with RShinny on RStudio

    In RStudio, run the following codes and wait a few seconds while downloading.

# install.packages("RShiny")
library(RShiny)
runGitHub("nyc-yellow-taxi-vis", "Forrest-Li")
  1. Run online in shinnyapps.io

    I already upload the app on the shinnyapps platform. If you want to save resource of your computer. You can take a look at the app here: https://forrestliyx.shinyapps.io/nyctaxivis/

Adjustment of attributes

Attr1 Attr2

The Time slicing mode will switch between mode 1 & 2, which means if you're in one mode, the other mode will be disabled.

Time in a day are differently specified between weekends and workdays.

In Time slicing mode 2, before checking View by hours box: before after checking: after

Current Deficiencies

  • Ugly UI will be improved later.
  • Coding structure is inefficient (it's actually a mess, a disaster), will be reconstructed.
  • Only about 10% randomly data are selected, if efficiency will be improved, more data will be included.

References

About

NYC Yellow Taxi analysis & visualization by R with RShiny app

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages