Difference between revisions of "Fares Data"
Jump to navigation
Jump to search
PeterHicks (talk | contribs) (Add a list of files) |
ThomasWood (talk | contribs) m (link to atoc station group names page) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
Fares data is released by [http://www.atoc.org/about-atoc/rail-settlement-plan/ Rail Settlement Plan] periodically, and can be downloaded from the [http://data.atoc.org ATOC Industry Data site]. | Fares data is released by [http://www.atoc.org/about-atoc/rail-settlement-plan/ Rail Settlement Plan] periodically, and can be downloaded from the [http://data.atoc.org 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. | ||
+ | |||
+ | [http://data.atoc.org/sites/all/themes/atoc/files/SP0035.pdf Instructions for using the feed] are provided, however they do not cover the process of calculating fares. | ||
= Format = | = Format = | ||
Line 12: | Line 18: | ||
!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 | ||
|- | |- | ||
− | |Railcards | + | |[[RspFaresRailcards|Railcards]] |
|Railcards and minimum fares | |Railcards and 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]] | ||
+ | |||
+ | [[Category:ATOC Data]] |
Revision as of 16:26, 6 June 2018
About
Fares data is released by Rail Settlement Plan periodically, and can be downloaded 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 and 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 |