
Article 1 
The technical format for the transmission of data to the Commission (Eurostat) shall be as set out in the Annex.
Member States shall use this format for the data concerning reference year 2007 and subsequent years.
Article 2 
The data and metadata supplied pursuant to Regulation (EC) No 91/2003 shall be transmitted in electronic format to the single entry point for data at the Commission (Eurostat) by any organisation designated by the national authorities. Transmission shall conform to an appropriate interchange standard specified by Eurostat.
Article 3 
This Regulation shall enter into force on the 20th day following its publication in the Official Journal of the European Union.
This Regulation shall be binding in its entirety and directly applicable in all Member States.Done at Brussels, 27 March 2007.
For the Commission
Joaquín ALMUNIA
Member of the Commission
ANNEX
1. 
The individual data records to be sent to Eurostat for each quarter, year or period of five years, comprise 9 datasets, each corresponding to an annex of Regulation (EC) No 91/2003. These datasets thus contain the following data:


— annual statistics on goods transport — detailed reporting (Annex A),
— annual statistics on goods transport — simplified reporting (Annex B),
— annual statistics on passenger transport — detailed reporting (Annex C),
— annual statistics on passenger transport — simplified reporting (Annex D),
— quarterly statistics on goods and passenger transport (Annex E),
— quinquennial regional statistics on goods and passenger transport (Annex F),
— quinquennial statistics on traffic flows on the rail network (Annex G),
— statistics on accidents (Annex H),
— a list of the railway undertakings for which statistics are provided (Annex I).

Annexes B and D set out simplified reporting requirements that may be used by Member States as an alternative to the normal detailed reporting set out in Annexes A and C, for undertakings below the thresholds laid down in Article 4(2) of Regulation (EC) No 91/2003.

2. 
Pursuant to Regulation (EC) No 91/2003, one dataset has to be provided for each annex in the form of a flat file using the semi-colon ‘;’ as a field separator. Each dataset, except dataset C, must contain data for all mandatory tables required by the annex. For each dataset, the number of fields in each record is fixed. In other words, all fields must be present even if they are empty (two successive field separators indicate an empty field).

The individual fields are described below as follows:


— Field number: this identifies the position of the field in the record,
— Field name: this either refers to a variable in Regulation (EC) No 91/2003, or to an internal identifier used to identify the record,
— Description: short description of the contents of the field,
— Coding: in tables A2 and A4 certain fields are to be coded according to Annexes J to K of Regulation (EC) No 91/2003. Additional coding rules are noted here. Further explanations and recommendations on coding are provided by Eurostat in the Guidelines for the implementation of Regulation (EC) No 91/2003,
— Field type: indicates whether the field contains a numeric quantity or a text string, all numeric quantities are to be provided as integers,
— Maximum length: the maximum expected length of the data for a particular field. Data that are too long cannot be loaded,
— Confidentiality flag (FlagC) indicates if the record is considered confidential by the Member State (Council Regulations (EC) No 322/97, Article 13(1) and (Euratom, EEC) No 1588/90, Article 2),
— Flag of authorisation for dissemination of confidential data (FlagD) indicates if confidential data provided by the Member States can be disseminated (Council Regulations (EC) No 322/97, Article 13(2) and (Euratom, EEC) No 1588/90, Article 5(4)). Hence, the Commission is legally permitted to change the Member State’s judgment in well-defined cases. This is done by changing FlagD=1 to FlagD=0 when FlagC=1.


Field number Field name Description Coding Field type Max length Specific codes for missing values
1 RCount Reporting country ISO-3166-alpha2 nomenclature except ‘UK’ for United Kingdom Text 2 
2 DsetID Dataset identifier A1 to A9 Text 2 
3 Year Year of the dataset 4 digits Text 4 
4 Period Reference period A0 Text 2 
5 TransID Type of transport 0total transport1national transport2international transport — total3international transport — outgoing4international transport — incoming5transit transport Text 1 
6 Goods Type of goods annex J of the Regulation Text 2 
7 DGoods Type of dangerous goods annex K of the Regulation Text 3 
8 LDG Country of loading ISO-3166-alpha2 nomenclature except ‘UK’ for United Kingdom Text 2 XX
9 UNL Country of unloading ISO-3166-alpha2 nomenclature except ‘UK’ for United Kingdom Text 2 XX
10 Consgmt Type of consignment 1full trainloads2full wagonloads3other9unknown Text 1 
11 TTU Type of transport Unit 1containers and swap bodies2semi-trailers (unaccompanied)3road vehicles (accompanied)9unknown Text 1 
12 Tonnes Total goods transport Tonnes Numeric 10 
13 Tkm Total goods transport in 1 000 tonne-kilometres 1 000 Tonnes-km Numeric 10 
14 NbrITU Number of Intermodal transport unit Number of ITU Numeric 8 
15 TeuITU Intermodal transport units carried in TEU TEU Numeric 8 
16 TrainKM Goods train movement in 1 000 km 1 000 Train-km Numeric 8 
17 FlagC Confidentiality flag 1confidential0not confidential Text 1 
18 FlagD Flag of authorisation for dissemination 1dissemination not authorised0dissemination authorised Text 1 

In the flat file containing the data for Annex A, each record comprises 18 fields. The following table shows in grey the fields that have to be provided for the different tables of Annex A. The white cells correspond to blank fields in the record. An asterisk indicates a key field. The combination of the values of the key fields for a record must constitute a unique key value within the file. If duplicate key values are found, the file will not be loaded correctly.


 DsetID
Field number Field name A1 A2 A3 A4 A5 A6 A7 A8 A9
1 RCount * * * * * * * * *
2 DsetID * * * * * * * * *
3 Year * * * * * * * * *
4 Period * * * * * * * * *
5 TransID *  *   * * * 
6 Goods  *       
7 DGoods    *     
8 LDG   *      
9 UNL   *      
10 Consgmt     *    
11 TTU         
12 Tonnes         
13 Tkm         
14 NbrITU         
15 TeuITU         
16 TrainKM         
17 FlagC         
18 FlagD         



Field number Field name Description Coding Field type Max length Specific codes for missing values
1 RCount Reporting country ISO-3166-alpha2 nomenclature except ‘UK’ for United Kingdom Text 2 
2 DsetID Dataset identifier B1 to B2 Text 2 
3 Year Year of the dataset 4 digits Text 4 
4 Period Reference period A0 Text 2 
5 TransID Type of transport 0total transport1national transport2international transport — total3international transport — outgoing4international transport — incoming5transit transport Text 1 
6 Tonnes Total goods transport Tonnes Numeric 10 
7 Tkm Total goods transport in 1 000 tonne-kilometres 1 000 Tonnes-km Numeric 10 
8 TrainKm Goods train movement in 1 000 train-km 1 000 Train-km Numeric 8 
9 FlagC Confidentiality flag 1confidential0not confidential Text 1 
10 FlagD Flag of authorisation for dissemination 1dissemination not authorised0dissemination authorised Text 1 

In the flat file containing the data for Annex B, each record comprises 10 fields. The following table shows in grey the fields that have to be provided for each of the two tables of Annex B. The white cells correspond to blank fields in the record. An asterisk indicates a key field. The combination of the values of the key fields for a record must constitute a unique key value within the file. If duplicate key values are found, the file will not be loaded correctly.


 DsetID
Field number Field name B1 B2
1 RCount * *
2 DsetID * *
3 Year * *
4 Period * *
5 TransID * 
6 Tonnes  
7 Tkm  
8 TrainKM  
9 FlagC  
10 FlagD  


Field number Field name Description Coding Field type Max length Specific codes for missing values
1 RCount Reporting country ISO-3166-alpha2 nomenclature except ‘UK’ for United Kingdom Text 2 
2 DsetID Dataset identifier C1 to C5 Text 2 
3 Year Year of the dataset 4 digits Text 4 
4 Period Reference period A0 Text 2 
5 TransID Type of transport 1national transport2international transport — total3international transport — outgoing4international transport — incoming Text 1 
6 LDG Country of embarkation ISO-3166-alpha2 nomenclature except ‘UK’ for United Kingdom Text 2 XX
7 UNL Country of disembarkation ISO-3166-alpha2 nomenclature except ‘UK’ for United Kingdom Text 2 XX
8 Pass Total passenger transport Passengers Numeric 10 
9 Passkm Total passenger transport in 1 000 passenger-kilometres 1 000 pkm Numeric 10 
10 TrainKm Passengers train movements in 1 000 train-km 1 000 Train-km Numeric 8 
11 FlagC Confidentiality flag 1confidential0not confidential Text 1 
12 FlagD Flag of authorisation for dissemination 1dissemination not authorised0dissemination authorised Text 1 

In the flat file containing the data for Annex C, each record comprises of 12 fields. The following table shows in grey the fields that have to be provided for the different tables of Annex C. The white cells correspond to blank fields in the record. An asterisk indicates a key field. The combination of the values of the key fields for a record must constitute a unique key value within the file. If duplicate key values are found, the file will not be loaded correctly.

Provisional (tables C1 and C2) and final consolidated data (tables C3 and C4) are to be sent at different times following the same structure.


 DsetID
Field Number Field name C1 C2 C3 C4 C5
1 RCount * * * * *
2 DsetID * * * * *
3 Year * * * * *
4 Period * * * * *
5 TransID * 1 & 2 * 3 & 4 * 1 & 2 * 3 & 4 
6 LDG  *  * 
7 UNL  *  * 
8 Pass     
9 Passkm     
10 TrainKM     
11 FlagC     
12 FlagD     




Field number Field name Description Coding Field type Max length Specific codes for missing values
1 RCount Reporting country ISO-3166-alpha2 nomenclature except ‘UK’ for United Kingdom Text 2 
2 DsetID Dataset identifier D1 to D2 Text 2 
3 Year Year of the dataset 4 digits Text 4 
4 Period Reference period A0 Text 2 
5 Pass Total passenger transport Passengers Numeric 10 
6 Passkm Total passenger transport in 1 000 passenger-kilometres 1 000 pkm Numeric 10 
7 TrainKm Passenger train movements in 1 000 train-km 1 000 Train-km Numeric 8 
8 FlagC Confidentiality flag 1confidential0not confidential Text 1 
9 FlagD Flag of authorisation for dissemination 1dissemination not authorised0dissemination authorised Text 1 

In the flat file containing the data for Annex D, each record comprises of 9 fields. The following table shows in grey the fields that have to be provided for each of the two tables of Annex D. The white cells correspond to blank fields in the record. An asterisk indicates a key field. The combination of the values of the key fields for a record must constitute a unique key value within the file. If duplicate key values are found, the file will not be loaded correctly.


 DsetID
Field number Field name D1 D2
1 RCount * *
2 DsetID * *
3 Year * *
4 Period * *
5 Pass  
6 Passkm  
7 TrainKM  
8 FlagC  
9 FlagD  


Field number Field name Description Coding Field type Max length Specific codes for missing values
1 RCount Reporting country ISO-3166-alpha2 nomenclature except ‘UK’ for United Kingdom Text 2 
2 DsetID Dataset identifier E1 to E2 Text 2 
3 Year Year of the dataset 4 digits Text 4 
4 Period Reference period Q1 to Q4 Text 2 
5 Tonnes Total goods transport Tonnes Numeric 10 
6 Tkm Total goods transport in 1 000 tonne-kilometres 1 000 Tonnes-km Numeric 10 
7 Pass Total passenger transport Passengers Numeric 10 
8 Passkm Total passenger transport in 1 000 passenger-kilometres 1 000 pkm Numeric 10 
9 FlagC Confidentiality flag 1confidential0not confidential Text 1 
10 FlagD Flag of authorisation for dissemination 1dissemination not authorised0dissemination authorised Text 1 

In the flat file containing the data for Annex E, each record comprises 10 fields. The following table shows in grey the fields that have to be provided for each of the two tables of Annex E. The white cells correspond to blank fields in the record. An asterisk indicates a key field. The combination of the values of the key fields for a record must constitute a unique key value within the file. If duplicate key values are found, the file will not be loaded correctly.


 DsetID
Field number Field name E1 E2
1 RCount * *
2 DsetID * *
3 Year * *
4 Period * *
5 Tonnes  
6 Tkm  
7 Pass  
8 Passkm  
9 FlagC  
10 FlagD  


Field number Field name Description Coding Field type Max length Specific codes for missing values
1 RCount Reporting country ISO-3166-alpha2 nomenclature except ‘UK’ for United Kingdom Text 2 
2 DsetID Dataset identifier H1 to H4 Text 2 
3 Year Year of the dataset 4 digits Text 4 
4 Period Reference period A0 Text 2 
5 AccID Type of accident 1Collisions2Derailments3Accidents involving level crossings4Accidents to persons caused by rolling stock in motion5Fire in rolling stock6Others7Total9Unknown Text 1 
6 PersID Category of person 1Passengers2Employees3Others4Total[5: Level-crossing users] [6: Unauthorised persons on railway premises]
9Unknown Text 1 
7 NbAccSign Number of significant accidents Number Numeric 8 
8 NbAccInj Number of serious injury accidents Number Numeric 8 
9 NbAccDGIn Number of accident involving the transport of dangerous goods Number Numeric 8 
10 NbAccDGRe Number of accident releasing dangerous goods Number Numeric 8 
11 NbPersK Number of persons killed Number Numeric 8 
12 NbPersI Number of persons seriously injured Number Numeric 8 

In the flat file containing the data for Annex H, each record comprises 12 fields. The following table shows in grey the fields that have to be provided for each table of Annex H. The white cells correspond to blank fields in the record. An asterisk indicates a key field. The combination of the values of the key fields for a record must constitute a unique key value within the file. If duplicate key values are found, the file will not be loaded correctly.

The table contains two further categories of persons that may be required in future: ‘5: Level-crossing users’; and: ‘6: Unauthorised persons on railway premises’.


 DsetID
Field number Field name H1 H2 H3 H4
1 RCount * * * *
2 DsetID * * * *
3 Year * * * *
4 Period * * * *
5 AccID *  * *
6 PersID   * *
7 NbAccSign    
8 NbAccInj    
9 NbAccDGIn    
10 NbAccDGRe    
11 NbPersK    
12 NbPersI    



Field number Field name Description Coding Field type Max length Specific codes for missing values
1 RCount Reporting country ISO-3166-alpha2 nomenclature except ‘UK’ for United Kingdom Text 2 
2 DsetID Dataset identifier I1 Text 2 
3 Year Year of the dataset 4 digits Text 4 
4 UCode Undertaking code (constant over years) ISO-3166-alpha2 nomenclature except ‘UK’ for the United Kingdom + 3-digit number Text 5 XX
5 UName Name of undertaking  Text 100 
6 CountID Country in which undertaking is based ISO-3166-alpha2 nomenclature except ‘UK’ for United Kingdom Text 2 XX
7 IntFret Freight transport activity: international 1YES0NO Text 1 
8 Natfret Freight transport activity: national 1YES0NO Text 1 
9 Intpass passenger transport activity: international 1YES0NO Text 1 
10 Natpass passenger transport activity: national 1YES0NO Text 1 
11 DsetA Data included in Annex A 1YES0NO Text 1 
12 DsetB Data included in Annex B 1YES0NO Text 1 
13 DsetC Data included in Annex C 1YES0NO Text 1 
14 DsetD Data included in Annex D 1YES0NO Text 1 
15 DsetE Data included in Annex E 1YES0NO Text 1 
16 DsetF Data included in Annex F 1YES0NO Text 1 
17 DsetG Data included in Annex G 1YES0NO Text 1 
18 DsetH Data included in Annex H 1YES0NO Text 1 
19 Tonnes Total freight transport (in tonnes) Tonnes Numeric 10 
20 Tkm Total freight transport (1 000 tkm) 1 000 Tonne-kilometre Numeric 10 
21 Pass Total passenger transport (in passenger) Number of passengers Numeric 10 
22 Passkm Total passenger transport (1 000 passenger-km) 1 000 passenger-km Numeric 10 

In the flat file containing the data for Annex I, each record comprises of 22 fields. The following table shows all fields in grey because there is only one table in Annex I. Optional fields may be left empty. An asterisk indicates a key field. The combination of the values of the key fields for a record must constitute a unique key value within the file. If duplicate key values are found, the file will not be loaded correctly.


Field number Field name DsetID I1
1 RCount *
2 DsetID *
3 Year *
4 UCode *
5 UName 
6 CountID 
7 IntFret 
8 Natfret 
9 Intpass 
10 Natpass 
11 DsetA 
12 DsetB 
13 DsetC 
14 DsetD 
15 DsetE 
16 DsetF 
17 DsetG 
18 DsetH 
19 Tonnes 
20 Tkm 
21 Pass 
22 Passkm 






3. 
For certain fields, Eurostat may recommend the use of specific codes for missing values or other special values (see column ‘specific codes for missing values’).

Additional information is provided in the Guidelines for the implementation of Regulation (EC) No 91/2003.

4. 
Member States may use other standard formats which support the abovementioned data structures, where these are proposed by Eurostat.

5. 
Eurostat will apply some validation checks to the data transmitted by Member States, before the data are loaded into the production database. Where a significant number of records fail these checks, Eurostat will notify the Member State of the records in error and indicate the reasons for non-acceptance. The Member State will be requested to rectify the errors noted and then to re-submit the complete dataset (not just the records that were in error). This procedure is necessary in order to guarantee the correctness of the data within and between different datasets.

6. 
The following file naming convention must be used:

‘RAIL_annex_frequency_CC_YYYY_period[_OptionalField].format’ where:


RAIL For RAIL data
Annex Dataset identification (i.e. Annex of the Regulation):AAnnual statistics on goods transport — detailed reportingBAnnual statistics on goods transport — simplified reportingCAnnual statistics on passenger transport — detailed reportingDAnnual statistics on passenger transport — simplified reportingEQuarterly statistics on goods and passenger transportFRegional statistics on goods and passenger transportGStatistics on traffic flows on the rail networkHStatistics on accidentsIList of Railway undertakings
Frequency A for AnnualQ for Quarterly5 for every five years
CC Reporting country: use ISO3166-alpha2 except ‘UK’ for United Kingdom
YYYY Year of reference (e.g. 2004)
Period ‘0000’ for Annual‘0001’ for the first quarter‘0002’ for the second quarter‘0003’ for the third quarter‘0004’ for the fourth quarter‘0005’ for quinquennial
[_OptionalField] Can contain any chain of 1 to 220 characters (only ‘A’ to ‘Z’, ‘0’ to ‘9’ or ‘_’ are allowed). This field is not interpreted by Eurostat tools.
.format File format: ( e.g. ‘CSV’ for Comma Separated Value, ‘GES’ for GESMES)

One file has to be sent for each annex of the Regulation and period.

Example:

The file ‘RAIL_E_Q_FR_2004_0002.csv’ is the data file that contains the data from France for Annex E of the Regulation, covering the second quarter of the year 2004.

7. 
Data shall be transmitted or uploaded by electronic means to the single entry point for data at Eurostat. This method assures the secure transmission of confidential data.
