This is an application built on R, R shiny and Python to help the commuters and drivers by decreasing their chance of accidents. This app provides following features:
Ctotal = αCaccident_risk + (1-α)Clengthx
where α is the weight given to safety from road accidents * Alerts user when he reaches close to an accident-prone zone
To install this make sure the 'devtools' package is installed. To install devtools
install.packages("devtools")
After successful installation, run following commands
library(devtools)
install_github("apxr/SPOT")
Before running the app, its recommended to see the help by running the command
?runSPOT
To run the app, type the command on R console
runSPOT()
https://github.com/apxr/SPOT/blob/master/SPOT_document.pdf
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.