Skip to content

Edinburgh Bike Data

Ewan Klein edited this page Oct 31, 2017 · 22 revisions

Bike Counter Data

The data described below is collected via automatic counters in Edinburgh, operated by the City of Edinburgh Council (CEC) cycle team. The bulk of these counters are installed on off-road cycle paths. The devices themselves are relatively unobtrusive green boxes on poles, like the one illustrated below.

CEC Bike counter from Middle Meadow Walk

By contrast, the "Danish style" counter shown below is operated by Sustrans rather than City of Edinburgh Council, and the raw data is not readily available. However, it could in principle be scraped from the website of the Danish operator ITS Teknik, such as this page for the Sustrans counter on Middle Meadow Walk.

SUSTRANS bike display from Middle Meadow Walk


The two University of Edinburgh MSc projects listed below have explored the CEC bike counter data in some detail.

Andreea Pascu MSc Project (2016): Detecting Trends in Bike Count Data in Edinburgh

Heat map of cycle path usage in Edinburgh


Ferdinand Andre Ginting Munthe MSc Project (2017): Exploring Edinburgh Bike Count Data through Data Visualisation

Screenshot of map showing location of bike counters

  • Thesis — contact me

The data that we received weekly is in a compressed file. Inside the file, there are 34 spreadsheets generated from 34 counters. Sometimes we get weekly data that only has 31 or 33 files, probably caused by errors at specific counters. Each file contains the weekly data of a counter. All the files are in .xls format with multiple sheets. The first two are the count data of channel 1 and channel 2. The third one is the weekly summary, which contains the average from the two previous sheets. The last one contains graphs that represent the data.

  • Project code — contact me

Strava Metro Data

The Urban Big Data Centre in Glasgow hosts anonymised Strava Metro data for Scotland, though you have to request a licence to use the data.

Daniel Patterson 2017, University of Glasgow, MSc in Urban Studies (2017) Using Crowdsourced Data to Understand the Demand for Cycling on Streets With Varying Levels of Bikeability

This study used a mixed effect linear regression model with crowdsourced Strava Metro data to understand how built and natural environment factors impacted cycling in the City of Edinburgh, Scotland. Bikeability was quantified for each road link and included into the model as a predictor. An interaction term was included to understand how air temperature impacts the demand for cycling on streets with varying levels of bikeability. Results suggest that both weather and bikeability play a significant role in the demand for cycling.

  • Thesis — contact me

2011 Census Data

Manual counts

CEPATS Data

CEPATS count locations

The Central Edinburgh Passenger and Transport Studies (CEPATS) data was collected by the CEC, and is a manual count of all vehicles, including bicycles, that enter and exit a notional 'cordon' around the city on a particular day, for the years 2010–2013. The data is in Excel format.

Spokes Traffic Counts

Spokes carries out a manual count of traffic on Lothian Road and Forrest Road every May and November since 2006.

OpenStreetMap — work by Tim Foster

Design for Informatics Student Projects

See http://edinburghlivinglab.org/projects/active-travel-in-inverleith/ for projects carried out in 2014, especially

  • Brains on Bikes
  • Rate Your Cycle Routes
  • WayOkay