- Software for sustainable transport
- Propensity to Cycle Tool: design and development
- Uses: exploring cycling in Leeds
- Further research ideas
Robin Lovelace, University of Leeds.
9th Dec. 2015. Slides: rpubs.com/RobinLovelace
Source: Who will save us from transport models (Hollander 2015)
See also work by Robert Bain
Which companies are ready for a transition away from fossil fuels:
http://www.maths.lancs.ac.uk/~rowlings/Teaching/UseR2012/introduction2Talk.html
See the free, open source, online tutorial github.com/robinlovelace/Creating-maps-in-R.
Can be installed and loaded in 6 lines of code:
pkgs <- c("devtools", "shiny", "rgdal", "rgeos", "ggmap") # official packages install.packages(pkgs) library(devtools) # enables installation of leaflet gh_pkgs <- c("rstudio/leaflet", "robinlovelace/stplanr") install_github(gh_pkgs) # install packages on github lapply(c(pkgs, "leaflet", "stplanr"), library, character.only = T) # load all
RStudio Desktop is highly recommended for Shiny development.
shiny is a framework for creating online interactive data visualisation 'apps'.
server.R
and ui.R
files.For maps
Build's on R's existing strengths
Flexibility
Not so good for
# type this to find out! runExample()
See geo8.webarch.net/robin/rentSplit/
GEOSTAT 2015 Visualisation Competition winner: geo8.webarch.net/robin/vizcomp/
An R interface to the Leaflet JavaScript library, compatible with Shiny.
cent <- geocode("Girona") leaflet() %>% addTiles() %>% addCircleMarkers(data = cent)
Context: Campaign for Better Transport
See here: geo8.webarch.net/master
Beta
Version 2 - nationwide (June 2017)
Estimating cycling rate allocated to the road network with https://t.co/DuzyCQCA50. Looks like streams + rivers! pic.twitter.com/geaV0mVKdG
— Robin Lovelace (@robinlovelace) August 17, 2015
R vs QGIS for transport planning: http://robinlovelace.net/r/2015/04/20/r-vs-qgis-for-transport.html
Aequillibrea: transport planning toolbox - http://www.aequilibrae.com/
Lovelace, R., Goodman, A., Aldred, R., Berkoff, N., Abbas, A., & Woodcock, J. (2015). The Propensity to Cycle Tool: An open source online system for sustainable transport planning. arXiv preprint arXiv:1509.04425.
Use Google and your imagination
Code is good but start with a pen and paper!
## [1] FALSE