Skip to content
View rosedillon's full-sized avatar
📘
Studying
📘
Studying

Block or report rosedillon

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
rosedillon/README.md

Open rail data tools for Great Britain

Small Python packages for the public data Britain's railway publishes: timetables, fares, passenger counts, punctuality, the track network and station usage. Each one reads a single source into plain tables, and they are built to work together.

Package Reads
cif-timetable Network Rail's CIF schedule feed calling points, and trains per route
rsp-fares-feed the RSP fares feed every fare between two stations, cluster fares included
rail-loading operators' passenger loading data (Rail Data Marketplace) nine operators' counts in one schema
hsp-client the Historic Service Performance API how late trains actually ran
orr-station-usage ORR tables 1410 and 1415 entries, exits and interchanges by station and year
track-distance Network Rail's track model distance along the rails
bplan-geography Network Rail's BPLAN extract minimum running times between timing points
tag-databook the DfT TAG Data Book appraisal values without opening Excel
rail-codes Network Rail's CORPUS TIPLOC, CRS, NLC and STANOX lookups

All are on PyPI (pip install rail-codes, and so on) and GPL-3.0.

They were split out of ORTLA, a model of passenger demand on individual trains built from open data.

Popular repositories Loading

  1. rail-loading rail-loading Public

    Read UK train operators' passenger loading and crowding data (Rail Data Marketplace) into one table in Python.

    Python 2

  2. tag-databook tag-databook Public

    Read DfT TAG Data Book (WebTAG) values in Python: values of time, discount rates, carbon values and the GDP deflator.

    Python 2

  3. bplan-geography bplan-geography Public

    Parse Network Rail's BPLAN Geography extract in Python: the UK rail network, TIPLOCs and sectional running times.

    Python 1

  4. cif-timetable cif-timetable Public

    Parse the Network Rail CIF timetable (SCHEDULE feed) into a table of GB train calling points in Python.

    Python 1

  5. hsp-client hsp-client Public

    Python client for the National Rail Historic Service Performance (HSP) API: past UK train punctuality and delays.

    Python 1

  6. rsp-fares-feed rsp-fares-feed Public

    Parse the National Rail fares feed (RSP/RDG, RSPS5045) in Python and look up GB train fares between stations.

    Python 1