Propensity to Cycle Tool Training course

Introduction

This vignette supports workshops on advanced usage and development of the Propensity to Cycle Tool (PCT). Beginner and intermediate PCT events focus on using the PCT via the web application hosted at www.pct.bike and the data provided by the PCT in QGIS.

The focus here is on analysing cycling potential in the open source statistical programming language R, in which the majority of the PCT was built. It will show how the code underlying the PCT works, how the underlying data can be accessed for reproducible analysis, and how the methods can be used to generate new scenarios of cycling uptake.

There will be 2 courses:

Prerequisites

This is an advanced training course with specific pre-requisites. Please only register if you:

In addition, if you want to do routing on your computer:

If you are new to R this course may not be appropriate for you. If you are an intermediate user, it may be worth brushing-up on your R skills, e.g. by taking a free online course such as that provided by DataCamp or by working through Chapter 2 onwards of the open source book Geocomputation with R (see reading list below for more transport-specific resources).

Prior reading

In addition to computer hardware (a laptop) and software (an up-to-date R set-up and experience using R) pre-requisites, you should have read, or at least have working knowledge of the contents of, the following publications, all of which are freely available online:

R packages

To ensure your computer is ready for the course, please test that you can run the following lines of R code on your computer, resulting in the map shown below:

Test code

To test your computer is ready to work with PCT data in R, try running the following commands.

Option 1: New Method

We are testing a new method for helping people set up their computers. Type this single line into the console and follow the instructions.

Option 2: Old Method

If the new method does not work or you would like to be more hands on. Recreate the code below. It should result in the map below showing the % of short trips in West Yorkshire made by active modes.

We can also use the data to explore entrenched car dependence, as follows: