- Introduction
- Open source geospatial software
- Propensity to Cycle Tool
- Live demo
- Bonus: research ideas
Robin Lovelace, University of Leeds. Slides: robinlovelace.net
19th Nov. 2015, UCL Geospatial Science Seminar Series
Proprietary software cannot be:
Source: Who will save us from transport models (Hollander 2015)
Good transport companies - 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)
See here: geo8.webarch.net/master
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
Beta
Version 1 - nationwide (June 2016)
Version 2 - nationwide (June 2017)
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!