Skip to content
@Transport-for-the-North

Transport for the North

About Us

Transport for the North (TfN) is the first Sub-national Transport Body (STB) in England. We were formed in 2018 to transform the transport system across the North of England, providing the infrastructure needed to drive economic growth. TfN adds strategic value by ensuring that funding and strategy decisions about transport in the North are informed by local knowledge, requirements, and analytically backed evidence; more details on our work can be found on our website at transportforthenorth.com.

Open Source Analytics

TfN has been building analytical tools for business cases since its inception in 2018. We believe that the best way to achieve the highest value for money from these tools is to share them with partners and other public bodies in the UK. Therefore, we share many of our analytics tools and processes on GitHub, allowing for transparency, scrutiny, and use by others. The repositories fall into one of two categories: internal TfN, or Common Analytical Framework.

Common Analytical Framework (CAF)

The Common Analytical Framework (CAF) is a collaboration between transport bodies in the UK to develop and maintain commonly used transport analytics and appraisal tools. The tools and processes that fall into this category generally are branded as "caf.X" and are built in collaboration with other transport bodies. CAF tools are generic and flexible processes which allow others to pick up and use in their analytics. The CAF has been built in many smaller modules to allow a range of use-cases, from taking an entire model as is, to selecting just to relevant components. For further information on the CAF, please see the CAF Handbook, this is a guide that details the CAF and its various tools and process.

Repository Description
caf.toolkit Generic tools and functions that are used across transport analysis.
caf.space Tool for generating standard weighting translations in .csv format describing how to convert between different zoning systems
caf.distribute Matrix distribution including gravity model and furnessing.
caf.carbon Carbon analysis toolkit
caf.base Core classes and definitions for use in other models, including zone systems, segmentation and DVectors.
caf.viz Python visualisations and styling.

TfN

Internal TfN tools are those which we use internally, but we have not migrated into the CAF. These tend to be tools that we have had some external interest in, but lack the resource to generalise at this time. We use and develop these tools within TfN, sharing them to allow for others to benefit from our work, view our analytics, and maybe build upon them in their own work. The tools and process that fall into this category are sometimes more specific to the transport analytics needs of the North of England.

Repository Description
NorMITs-Demand Collection of tools for taking land use data and converting into synthetic demand matrices, including forecasting travel demand.
Land-Use Collection of tools for generating and forecasting detailed land use data.
NTS-Processing Standardised tools for sampling and interacting with the National Travel Survey in a consistent way.
BODS-Extractor Extracts and analyses BODS (Bus Open Data Service) data.
otp4gb-py Produces cost metrics for public transport routing between origins and destinations using Open Trip Planner.
DLIT_LU The Land Use Component of the Development Log Integration Tool
caf-freight-tools LGV model and HGV processing tools.

Contribution

We encourage use of, and contributions to, the repositories within this organisation, licenses are provided within our repositories and contribution guidelines are outlined here.

Useful Links

Contact Us

Popular repositories Loading

  1. NorMITs-Demand NorMITs-Demand Public

    Python 5 11

  2. caf.space caf.space Public

    Python 2 2

  3. BODS-Extractor BODS-Extractor Public

    Repository for the BODS (Bus Open Data Service) Extractor python package

    Python 2

  4. caf-freight-tools caf-freight-tools Public

    Freight tools for model integration

    Python 1

  5. otp4gb-py otp4gb-py Public

    Forked from open-innovations/otp4gb-py

    Python version of the OTP4GB scripts

    Python 1 3

  6. Land-Use Land-Use Public

    NorMITs

    Python 2

Repositories

Showing 10 of 23 repositories
  • otp4gb-py Public Forked from open-innovations/otp4gb-py

    Python version of the OTP4GB scripts

    Transport-for-the-North/otp4gb-py’s past year of commit activity
    Python 1 4 8 5 Updated Jan 10, 2025
  • caf.space Public
    Transport-for-the-North/caf.space’s past year of commit activity
    Python 2 2 12 (1 issue needs help) 6 Updated Jan 10, 2025
  • caf.base Public

    Core classes and definitions for CAF family of tools

    Transport-for-the-North/caf.base’s past year of commit activity
    Python 0 GPL-3.0 1 42 (1 issue needs help) 6 Updated Jan 10, 2025
  • caf.toolkit Public

    Toolkit of transport planning and appraisal functionalities.

    Transport-for-the-North/caf.toolkit’s past year of commit activity
    Python 0 2 38 (11 issues need help) 0 Updated Jan 10, 2025
  • Transport-for-the-North/caf.distribute’s past year of commit activity
    Python 0 3 19 (2 issues need help) 4 Updated Jan 9, 2025
  • Bus-Analytics Public

    BSIP

    Transport-for-the-North/Bus-Analytics’s past year of commit activity
    Python 0 GPL-3.0 1 1 1 Updated Jan 8, 2025
  • Transport-for-the-North/NTS-Processing’s past year of commit activity
    R 0 GPL-3.0 3 3 1 Updated Jan 2, 2025
  • caf.carbon Public
    Transport-for-the-North/caf.carbon’s past year of commit activity
    Python 0 0 3 6 Updated Dec 20, 2024
  • .github Public

    ✨special ✨ repository for adding organisation level README and other documentation

    Transport-for-the-North/.github’s past year of commit activity
    0 0 1 0 Updated Dec 17, 2024
  • BODS-Extractor Public

    Repository for the BODS (Bus Open Data Service) Extractor python package

    Transport-for-the-North/BODS-Extractor’s past year of commit activity
    Python 2 GPL-3.0 0 0 1 Updated Dec 17, 2024

Top languages

Loading…

Most used topics

Loading…