Updated

london-transport

London public journeys by type of transport - this dataset was scrapped from London data The dataset is inside data folder. The data presents number of journeys on the public transport network by ...

API Access

Access dataset files directly from scripts, code, or AI agents.

Browse dataset files
Dataset Files

Each file has a stable URL (r-link) that you can use directly in scripts, apps, or AI agents. These URLs are permanent and safe to hardcode.

/core/london-transport/
https://datahub.io/core/london-transport/_r/-/README.md
https://datahub.io/core/london-transport/_r/-/UPDATE_SCRIPT_MAINTENANCE_REPORT.md
https://datahub.io/core/london-transport/_r/-/data/data/public-transport-journeys.csv
https://datahub.io/core/london-transport/_r/-/data/datapackage.json
https://datahub.io/core/london-transport/_r/-/datapackage.json
Key Files

Start with these files — they give you everything you need to understand and access the dataset.

data/datapackage.jsonmetadata & schema
https://datahub.io/core/london-transport/_r/-/data/datapackage.json
README.mddocumentation
https://datahub.io/core/london-transport/_r/-/README.md
Typical Usage
  1. 1. Fetch data/datapackage.json to inspect schema and resources
  2. 2. Download data resources listed in data/datapackage.json
  3. 3. Read README.md for full context

Data Previews

london-public-transport

Loading data...

Schema

nametypeformat
Period and Financial yearanydefault
Reporting Periodanydefault
Days in periodanydefault
Period beginninganydefault
Period endinganydefault
Bus journeys (m)anydefault
Underground journeys (m)anydefault
DLR Journeys (m)anydefault
Tram Journeys (m)anydefault
Overground Journeys (m)anydefault
London Cable Car Journeys (m)anydefault
TfL Rail Journeys (m)anydefault

Data Files

FileDescriptionSizeLast modifiedDownload
london-public-transport
33.3 kBabout 2 months ago
london-public-transport
FilesSizeFormatCreatedUpdatedLicenseSource
133.3 kBcsvabout 2 months agoOpen Government Licence v3.0London Datastore

badge

London public journeys by type of transport - this dataset was scrapped from London data

Data

The dataset is inside data folder. The data presents number of journeys on the public transport network by TFL reporting period, by type of transport. Data is broken down by bus, underground, DLR, tram, Overground and cable car.

  • Period lengths are different in periods 1 and 13, and the data is not adjusted to account for that.
  • Docklands Light Railway journeys are based on automatic passenger counts at stations.
  • Overground and Tram journeys are based on automatic on-carriage passenger counts.
  • Reliable Overground journey numbers have only been available since October 2010.

The Emirates Air Line cable car service began 28 June 2012.

Preparation

You will need Python 3.6 or greater and dataflows library to run the script

To update the data run the process script locally:

# Install dataflows
pip install -r scripts/requirements.txt

# Run the script
python scripts/london_public_transport_journeys.py:

Automation

Up-to-date (auto-updates every month) london-transport dataset could be found on the datahub.io: https://datahub.io/core/london-transport

Licence

Open goverment licence

You are encouraged to use and re-use the Information that is available under this licence freely and flexibly, with only a few conditions. Using Information under this licence Use of copyright and database right material expressly made available under this licence (the 'Information') indicates your acceptance of the terms and conditions below. The Licensor grants you a worldwide, royalty-free, perpetual, non-exclusive licence to use the Information subject to the conditions below. This licence does not affect your freedom under fair dealing or fair use or any other copyright or database right exceptions and limitations.

You may find further information here