Fares Data: Difference between revisions
PeterHicks (talk | contribs) Add a list of files |
EvelynSnow (talk | contribs) Point to DTD |
||
(8 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
'''Fares data''' is released by [http://www.atoc.org/about-atoc/rail-settlement-plan/ Rail Settlement Plan] as part of [[DTD]] periodically, and can be downloaded using the [[National Rail Data Portal]] (recommended), or from the [http://data.atoc.org ATOC Industry Data site]. | |||
Fares | The ATOC Fares Feed contains details of the available tickets, their prices and restrictions, between any two stations on the railway. | ||
The feed is updated each January, May and September. | |||
[https://data.atoc.org/sites/all/themes/atoc/files/RSPS5045.pdf Instructions for using the feed] are provided, however they do not cover the process of calculating fares. | |||
= Format = | = Format = | ||
Line 12: | Line 16: | ||
!Extension | !Extension | ||
|- | |- | ||
| | |[[RspFareFlows|Fares]] | ||
|Point-to-point adult fares in a clustered format | |Point-to-point adult fares in a clustered format | ||
|FFL | |FFL | ||
|- | |- | ||
|Station clusters | |[[RspFareStationClusters|Station clusters]] | ||
|Station clusters and the locations in those clusters | |Station clusters and the locations in those clusters | ||
|FSC | |FSC | ||
|- | |- | ||
|Non-derivable fares | |[[RspFareNonDerivableFares|Non-derivable fares]] | ||
|Point-to-point adult and child fares which cannot be discounted in the normal way | |Point-to-point adult and child fares which cannot be discounted in the normal way | ||
|NDF | |NDF | ||
|- | |- | ||
|Non-derivable fare overrides | |[[RspFaresNonDerivableFareOverrides|Non-derivable fare overrides]] | ||
|Amendments to the non-derivable fares file | |Amendments to the non-derivable fares file | ||
|NFO | |NFO | ||
|- | |- | ||
|Non-standard discounts | |[[RspFaresNonStandardDiscounts|Non-standard discounts]] | ||
|Adjustments to fares where non-standard discounts apply | |Adjustments to fares where non-standard discounts apply | ||
|FNS | |FNS | ||
|- | |- | ||
|Ticket types | |[[RspFaresTicketTypes|Ticket types]] | ||
|Ticket codes, their type, class and other information | |Ticket codes, their type, class and other information | ||
|TTY | |TTY | ||
|- | |- | ||
|Ticket validities | |[[RspFaresTicketValidities|Ticket validities]] | ||
|Validity codes and validity periods | |Validity codes and validity periods | ||
|TVL | |TVL | ||
|- | |- | ||
|Journey segments | |[[RspFaresJourneySegments|Journey segments]] | ||
|Codes used for LUL magnetic stripe encoding | |Codes used for LUL magnetic stripe encoding | ||
|TJS | |TJS | ||
|- | |- | ||
|Ticket publication data | |[[RspFaresTicketPublicationData|Ticket publication data]] | ||
|Ordering information for tickets when published in the former National Fares Manual | |Ordering information for tickets when published in the former National Fares Manual | ||
|TPB | |TPB | ||
|- | |- | ||
|Print formats | |[[RspFaresPrintFormats|Print formats]] | ||
|Details of the text to be printed on supplement vouchers | |Details of the text to be printed on supplement vouchers | ||
|TPN | |TPN | ||
|- | |- | ||
|Class legends | |[[RspFaresClassLegends|Class legends]] | ||
|Text to be printed on ATB or credit-card sized tickets | |Text to be printed on ATB or credit-card sized tickets | ||
|TCL | |TCL | ||
|- | |- | ||
|Rail Rovers | |[[RspFaresRailRovers|Rail Rovers]] | ||
|Rail Rovers and prices | |Rail Rovers and prices | ||
|TRR | |TRR | ||
|- | |- | ||
|Packages | |[[RspFaresPackages|Packages]] | ||
|Packages and details of inclusive supplements | |Packages and details of inclusive supplements | ||
|TPK | |TPK | ||
|- | |- | ||
|Supplements | |[[RspFaresSupplements|Supplements]] | ||
|Supplements and rules | |Supplements and rules | ||
|SUP | |SUP | ||
|- | |- | ||
|[[RspFaresRailcards|Railcards]] | |||
|Railcards | |Railcards | ||
| | |RLC | ||
|- | |||
|[[RspFaresRailcardMinimums|Railcard minimum fares]] | |||
|Railcard minimum fares | |||
|RCM | |RCM | ||
|- | |- | ||
|Status discounts | |[[RspFaresStatusDiscounts|Status discounts]] | ||
|Information used to discount child fares, or where a railcard is used | |Information used to discount child fares, or where a railcard is used | ||
|DIS | |DIS | ||
|- | |- | ||
|Rounding rules | |[[RspFaresRoundingRules|Rounding rules]] | ||
|Rules to be used when fares are subject to a discount | |Rules to be used when fares are subject to a discount | ||
|FRR | |FRR | ||
|- | |- | ||
|Restrictions | |[[RspFaresRestrictions|Restrictions]] | ||
|Applicable restrictions, including train, time, railcard and date restrictions | |Applicable restrictions, including train, time, railcard and date restrictions | ||
|RST | |RST | ||
|- | |- | ||
|Locations | |[[RspFaresLocations|Locations]] | ||
|Locations, including group locations | |Locations, including group locations | ||
|LOC | |LOC | ||
|- | |- | ||
|Routes | |[[RspFaresRoutes|Routes]] | ||
|Route descriptions and the locations included/excluded from the routing | |Route descriptions and the locations included/excluded from the routing | ||
|RTE | |RTE | ||
|- | |- | ||
|TOCs | |[[RspFaresTocs|TOCs]] | ||
|TOC codes and descriptions | |TOC codes and descriptions | ||
|TOC | |TOC | ||
|- | |- | ||
|TOC-specific tickets | |[[RspFaresTocSpecificTickets|TOC-specific tickets]] | ||
|Tickets which are available on trains of particular TOCs only | |Tickets which are available on trains of particular TOCs only | ||
|TSP | |TSP | ||
|- | |- | ||
|Advance Purchase tickets | |[[RspFaresAdvancePurchaseTickets|Advance Purchase tickets]] | ||
|Details of tickets for Advance Purchase and their booking horizon | |Details of tickets for Advance Purchase and their booking horizon | ||
|TAP | |TAP | ||
|- | |- | ||
|Fares Data | |[[RspFaresData|Fares Data]] | ||
|A list of files generated by the Fares Data Feed process for this export | |A list of files generated by the Fares Data Feed process for this export | ||
|DAT | |DAT | ||
|- | |- | ||
|} | |} | ||
= Related Data Sources = | |||
* [[ATOC Station Group Names]] | |||
{{Navtable-NreDataFeeds}} | |||
[[Category:ATOC Data]] |
Latest revision as of 20:25, 12 February 2024
Fares data is released by Rail Settlement Plan as part of DTD periodically, and can be downloaded using the National Rail Data Portal (recommended), or from the ATOC Industry Data site.
The ATOC Fares Feed contains details of the available tickets, their prices and restrictions, between any two stations on the railway.
The feed is updated each January, May and September.
Instructions for using the feed are provided, however they do not cover the process of calculating fares.
Format
The fares data is held in a number of plain-text, fixed-format files:
File type | Contents | Extension |
---|---|---|
Fares | Point-to-point adult fares in a clustered format | FFL |
Station clusters | Station clusters and the locations in those clusters | FSC |
Non-derivable fares | Point-to-point adult and child fares which cannot be discounted in the normal way | NDF |
Non-derivable fare overrides | Amendments to the non-derivable fares file | NFO |
Non-standard discounts | Adjustments to fares where non-standard discounts apply | FNS |
Ticket types | Ticket codes, their type, class and other information | TTY |
Ticket validities | Validity codes and validity periods | TVL |
Journey segments | Codes used for LUL magnetic stripe encoding | TJS |
Ticket publication data | Ordering information for tickets when published in the former National Fares Manual | TPB |
Print formats | Details of the text to be printed on supplement vouchers | TPN |
Class legends | Text to be printed on ATB or credit-card sized tickets | TCL |
Rail Rovers | Rail Rovers and prices | TRR |
Packages | Packages and details of inclusive supplements | TPK |
Supplements | Supplements and rules | SUP |
Railcards | Railcards | RLC |
Railcard minimum fares | Railcard minimum fares | RCM |
Status discounts | Information used to discount child fares, or where a railcard is used | DIS |
Rounding rules | Rules to be used when fares are subject to a discount | FRR |
Restrictions | Applicable restrictions, including train, time, railcard and date restrictions | RST |
Locations | Locations, including group locations | LOC |
Routes | Route descriptions and the locations included/excluded from the routing | RTE |
TOCs | TOC codes and descriptions | TOC |
TOC-specific tickets | Tickets which are available on trains of particular TOCs only | TSP |
Advance Purchase tickets | Details of tickets for Advance Purchase and their booking horizon | TAP |
Fares Data | A list of files generated by the Fares Data Feed process for this export | DAT |
Related Data Sources
National Rail Enquiries Data Feeds | |
---|---|
Data Feeds | About the Feeds • Darwin Webservice (Public) • Darwin Webservice (Staff) • Historical Service Performance • Push Port • KnowledgeBase • DTD • Locations (PoC) • Real Time Journey Planner |
LDB API | About |
LDB-SV API | About |
HSP | About |
DTD | About • Fares • Timetable |
Push Port | About • XML Schemas • Schedules • Associations • Train Status • Station Messages • Alarms • Train Order • Train Alerts • Formations • Formation loading |