Since the first release of R on CRAN, in 1997, its use in many fields has grown rapidly. Lai et al. (2019), for example, suggest that more than 50% of research articles published in Ecology use R in some way.
Since the first release of R on CRAN, in 1997, its use in many fields has grown rapidly. Lai et al. (2019), for example, suggest that more than 50% of research articles published in Ecology use R in some way.
Much like many ecological datasets, transport datasets tend to be large, diverse and have spatial and temporal attributes.
Since the first release of R on CRAN, in 1997, its use in many fields has grown rapidly. Lai et al. (2019), for example, suggest that more than 50% of research articles published in Ecology use R in some way.
Much like many ecological datasets, transport datasets tend to be large, diverse and have spatial and temporal attributes.
Unlike Ecology, Transport Planning has been a slow adopter of R, with a much lower percentage of papers using the language. This raises the question: why? After exploring this question, in relation to dominant transport planning software products, the talk will sketch of what an open source transport planning 'ecosystem' could look like. Based on my own experience, of developing the stplanr package and teaching practitioners, the talk will discuss the importance of building 'communities of practice, for transport planners making the switch to R. These observations relate to others promoting R in new environments, and link to the wider question of how to advocate for open source software in wider society.
Amsterdam in the 2010s Brent Toderian
For more, see historical photos of Amsterdam, e.g. from fastcompany.com
Road casualty rates worldwide. Source: WHO. Code: Robinlovelace/useR2019
Transport is the number 1 cause of death among young people (WHO 2018)
With-out aggressive and sustained mitigation policies being implemented, transport sector emissions could increase faster than in the other energy end-use sectors and could lead to more than a doubling of CO2 emissions by 2050. (IPCC, 2015)
With-out aggressive and sustained mitigation policies being implemented, transport sector emissions could increase faster than in the other energy end-use sectors and could lead to more than a doubling of CO2 emissions by 2050. (IPCC, 2015)
Transport is hard to decarbonise (Creutzig et al. 2015)
With-out aggressive and sustained mitigation policies being implemented, transport sector emissions could increase faster than in the other energy end-use sectors and could lead to more than a doubling of CO2 emissions by 2050. (IPCC, 2015)
Transport is hard to decarbonise (Creutzig et al. 2015)
Technological change is slow and uncertain. Demand reduction is required.
International Energy Agency's optimistic 'SDS' scenario:
Geographic data
Reproducibility
Good transport decision making requires public understanding. R is outstanding at visualisation.
Geographic data
Reproducibility
Good transport decision making requires public understanding. R is outstanding at visualisation.
R has a strong and cohesive spatial community
Transport is inherently part of the democratic desision-making process making transparency key. Reproducibility is a strength of R.
Walking
Cycling
Public transport
Multi-modal transport
Walking
Cycling
Public transport
Multi-modal transport
# To install these packages:install.packages( "walkscoreAPI", "walkalytics", "cyclestreets", "bikedata", "cycleRtools" "tidytransit" )remotes::install_github( "moveability/moveability", "itsleeds/opentripplanner", "GIScience/openrouteservice-r")
Area based analysis
Origin destination data
Routes
Route networks
Area based analysis
Origin destination data
Routes
Route networks
# To install these packages:install.packages( "sf", "raster", "stplanr", "flows" )remotes::install_github( "luukvdmeer/sfnetworks")
Useful guiding principle in Transport Planning (see transport chapter in Geocomputation with R)
Still dominates transport planning models (Boyce and Williams 2015)
Still dominates transport planning models (Boyce and Williams 2015)
Dominated by a few proprietary products
Limited support community online
High degree of lock-in
Limited cross-department collaboration
Software | Company/Developer | Company HQ | Licence | Citations |
---|---|---|---|---|
Visum | PTV | Germany | Proprietary | 1810 |
MATSim | TU Berlin | Germany | Open source (GPL) | 1470 |
TransCAD | Caliper | USA | Proprietary | 1360 |
SUMO | DLR | Germany | Open source (EPL) | 1310 |
Emme | INRO | Canada | Proprietary | 780 |
Cube | Citilabs | USA | Proprietary | 400 |
sDNA | Cardiff University | UK | Proprietary | 170 |
Getting help is vital for leaning/improving software
Getting help is vital for leaning/improving software
"10-Hour Service Pack $2,000" (source: caliper.com/tcprice.htm)
Source: google.com/search?q=transcad+price
Shift focus to communication of what's already possible
'Dev story' of existing products: A 'Better planning in less time' article, building on Lowndes et al. (2017)? E.g. for (PCT.bike)
For developers: invite others to contribute and open issues
For potential developers: consider contributing to existing projects before creating new ones
For everyone: cite code, communicate, collaborate
Shift focus to communication of what's already possible
'Dev story' of existing products: A 'Better planning in less time' article, building on Lowndes et al. (2017)? E.g. for (PCT.bike)
For developers: invite others to contribute and open issues
For potential developers: consider contributing to existing projects before creating new ones
For everyone: cite code, communicate, collaborate
Boyce, D.E., Williams, H.C.W.L., 2015. Forecasting Urban Travel: Past, Present and Future. Edward Elgar Publishing.
Boyce, D.E., Williams, H.C.W.L., 2015. Forecasting Urban Travel: Past, Present and Future. Edward Elgar Publishing.
The Propensity to Cycle Tool: http://www.pct.bike/ 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
Boyce, D.E., Williams, H.C.W.L., 2015. Forecasting Urban Travel: Past, Present and Future. Edward Elgar Publishing.
The Propensity to Cycle Tool: http://www.pct.bike/ 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
Goodman, Anna, et al. "Scenarios of cycling to school in England, and associated health and carbon impacts: Application of the ‘Propensity to Cycle Tool’." Journal of Transport & Health 12 (2019): 263-278.
Boyce, D.E., Williams, H.C.W.L., 2015. Forecasting Urban Travel: Past, Present and Future. Edward Elgar Publishing.
The Propensity to Cycle Tool: http://www.pct.bike/ 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
Goodman, Anna, et al. "Scenarios of cycling to school in England, and associated health and carbon impacts: Application of the ‘Propensity to Cycle Tool’." Journal of Transport & Health 12 (2019): 263-278.
Open source 'geocompr' book: Lovelace, R., Nowosad, J., Meunchow, J., 2019. Geocomputation with R. CRC Press: https://geocompr.robinlovelace.net/
Boyce, D.E., Williams, H.C.W.L., 2015. Forecasting Urban Travel: Past, Present and Future. Edward Elgar Publishing.
The Propensity to Cycle Tool: http://www.pct.bike/ 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
Goodman, Anna, et al. "Scenarios of cycling to school in England, and associated health and carbon impacts: Application of the ‘Propensity to Cycle Tool’." Journal of Transport & Health 12 (2019): 263-278.
Open source 'geocompr' book: Lovelace, R., Nowosad, J., Meunchow, J., 2019. Geocomputation with R. CRC Press: https://geocompr.robinlovelace.net/
Lovelace, Robin, and Richard Ellison. "stplanr: A package for transport planning." The R Journal 10.2 (2018): 7-23.
Boyce, D.E., Williams, H.C.W.L., 2015. Forecasting Urban Travel: Past, Present and Future. Edward Elgar Publishing.
The Propensity to Cycle Tool: http://www.pct.bike/ 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
Goodman, Anna, et al. "Scenarios of cycling to school in England, and associated health and carbon impacts: Application of the ‘Propensity to Cycle Tool’." Journal of Transport & Health 12 (2019): 263-278.
Open source 'geocompr' book: Lovelace, R., Nowosad, J., Meunchow, J., 2019. Geocomputation with R. CRC Press: https://geocompr.robinlovelace.net/
Lovelace, Robin, and Richard Ellison. "stplanr: A package for transport planning." The R Journal 10.2 (2018): 7-23.
To get in touch: GitHub, Twitter, or email at r. lovelace. at leeds dot ac. uk!
Boyce, D.E., Williams, H.C.W.L., 2015. Forecasting Urban Travel: Past, Present and Future. Edward Elgar Publishing.
The Propensity to Cycle Tool: http://www.pct.bike/ 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
Goodman, Anna, et al. "Scenarios of cycling to school in England, and associated health and carbon impacts: Application of the ‘Propensity to Cycle Tool’." Journal of Transport & Health 12 (2019): 263-278.
Open source 'geocompr' book: Lovelace, R., Nowosad, J., Meunchow, J., 2019. Geocomputation with R. CRC Press: https://geocompr.robinlovelace.net/
Lovelace, Robin, and Richard Ellison. "stplanr: A package for transport planning." The R Journal 10.2 (2018): 7-23.
To get in touch: GitHub, Twitter, or email at r. lovelace. at leeds dot ac. uk!
Safe travels!
Since the first release of R on CRAN, in 1997, its use in many fields has grown rapidly. Lai et al. (2019), for example, suggest that more than 50% of research articles published in Ecology use R in some way.
Keyboard shortcuts
↑, ←, Pg Up, k | Go to previous slide |
↓, →, Pg Dn, Space, j | Go to next slide |
Home | Go to first slide |
End | Go to last slide |
Number + Return | Go to specific slide |
b / m / f | Toggle blackout / mirrored / fullscreen mode |
c | Clone slideshow |
p | Toggle presenter mode |
t | Restart the presentation timer |
?, h | Toggle this help |
Esc | Back to slideshow |