The scale of the challenge, from this...

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?

]

Towards cycling being the natural choice

knitr::include_graphics("https://pbs.twimg.com/media/DJaWCo0U8AAzQGW.jpg:large")

Source: Brent Toderian


Problem: evidence overload

knitr::include_graphics("https://larrycuban.files.wordpress.com/2015/02/data-overload-2.jpg")

--

--

--


A case study of an actionable tool: www.pct.bike

knitr::include_graphics("https://raw.githubusercontent.com/npct/pct-team/master/figures/pct-frontpage.png")

Building the web application

--

--

But soon that became unsustainable


Developing stplanr

library(stplanr)
r = route_cyclestreet(
  from = "Chapeltown, Leeds",
  to = "University of Leeds"
  )
r

Visualising the results

.pull-left[

library(leaflet)
m = leaflet() %>% 
  addTiles() %>% 
  addPolylines(data = r) %>% 
  addMiniMap() %>% 
  addScaleBar()

]

.pull-right[

m

]

Capabilities of stplanr

.pull-left[

Example datasets in stplanr

Centroids (open access data):

head(cents_sf[1], 3)

]

.pull-right[

Origin-destination (OD) pairs

head(flow[c(1:3)], 2)

]


Making tabular data spatial

Conversion to a spatial object with stplanr

l = od2line(flow, cents_sf)
sf:::plot.sf(l[3:5], lwd = l$All / mean(l$All))

Interactive visualisation is key

.pull-left[

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)

]


Ensuring impact

--

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)


Deployment

--

knitr::include_graphics("https://raw.githubusercontent.com/npct/pct-team/master/figures/front-page-leeds-pct-demo.png")

Links + references

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



cyipt/cyipt documentation built on Aug. 16, 2020, 10:24 p.m.