options(htmltools.dir.version = FALSE) library(RefManageR) BibOptions(check.entries = FALSE, bib.style = "authoryear", cite.style = 'alphabetic', style = "markdown", first.inits = FALSE, hyperlink = FALSE, dashed = FALSE) my_bib = ReadBib("/home/robin/h/allrefs.bib", check = FALSE)
# save pdf webshot::webshot("slides/open-tools-lida.html", "/tmp/open-tools-lida.pdf")
.pull-left[
knitr::include_graphics("https://pbs.twimg.com/media/DOH94nXUIAAgcll.jpg")
]
.pull-right[
Source: Brent Toderian
Any ideas which city this is?
knitr::include_graphics("https://pbs.twimg.com/media/DJaWCo0U8AAzQGW.jpg:large")
Source: Brent Toderian
knitr::include_graphics("https://larrycuban.files.wordpress.com/2015/02/data-overload-2.jpg")
--
--
--
knitr::include_graphics("https://raw.githubusercontent.com/npct/pct-team/master/figures/pct-frontpage.png")
--
--
But soon that became unsustainable
library(stplanr) r = route_cyclestreet( from = "Chapeltown, Leeds", to = "University of Leeds" ) r
.pull-left[
library(leaflet) m = leaflet() %>% addTiles() %>% addPolylines(data = r) %>% addMiniMap() %>% addScaleBar()
]
.pull-right[
m
.pull-left[
Example datasets in stplanr
Centroids (open access data):
head(cents_sf[1], 3)
]
.pull-right[
head(flow[c(1:3)], 2)
]
Conversion to a spatial object with stplanr
l = od2line(flow, cents_sf) sf:::plot.sf(l[3:5], lwd = l$All / mean(l$All))
.pull-left[
Previous plot is not particularly revealing
Another visualisation will help
library(tmap) l$pwalk = l$On.foot / l$All m2 = tm_shape(l) + tm_lines( "pwalk", lwd = "All", scale = 10, palette = "RdYlBu")
]
.pull-right[
tmap_leaflet(m2)
]
--
The ‘Propensity to Cycle Tool’ shows that if residents of Greater Manchester were as likely to cycle as the Dutch we would increase commuter journeys ten-fold, leaving room on the road for people who had to drive. This level of cycling would lead to an estimated £1 billion per year saving to individuals and the local economy because of the resulting health benefits. (British Cycling’s chief executive, Julie Harrington, November 2017 see britishcycling.org.uk)
--
~ 3 months later...
--
City cycling czar Chris Boardman has unveiled plans for a thousand miles of interlinked bike and walking lanes across Greater Manchester. Dubbed ‘Beelines’, the game-changing 10-year, £1.5bn proposal includes 75 miles of segregated cycle lanes similar to those found in Holland and Denmark (Manchester Evening News)
--
knitr::include_graphics("https://raw.githubusercontent.com/npct/pct-team/master/figures/front-page-leeds-pct-demo.png")
- Contact: r.lovelace@leeds.ac.uk or
@robinlovelace
Citation
Lovelace, R., Goodman, A., Aldred, R., Berkoff, N., Abbas, A., Woodcock, J., 2017. The Propensity to Cycle Tool: An open source online system for sustainable transport planning. Journal of Transport and Land Use 10. https://doi.org/10.5198/jtlu.2016.862
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.