## Codelist file structure

The codelist file includes four fields which contain the following information for the reference variable:

Variable's CODE LIST: variable's name

Code | Description | Upper code | Notes
Modality code | Modality description | Code of possible aggregation modality | Information about modality

In the first field the code's modality is shown followed by its description and, when necessary, the code of the aggregating variable (e.g: in the 'aggregation' item, the variable aggregating the 'municipality'code’s variable is 'province').
Finally, the fourth field is devoted to a further description of the modality, if present.

Example 1 : The 'Geographical location' 2002 codelist contains all codes and descriptions

Variable's codelist: Geographical location

Code | Description | Upper code | Notes
ITC | NORTH-WEST |  |
ITD | NORTH-EAST |  |
ITE | CENTRE |  |
ITF | SOUTH |  |
ITG | ISLANDS |  |

Example 2 : The 'Municipalities 2006' codelist contains both the description of the Municipality code and the code of the aggrregating variable, that is the Province code (001 = Torino – 002 = Vercelli).

Variable's codelist: Municipalities 2006

Code | Description | Upper code | Notes
001 | Agliè | 001 | Municipality in Torino province
002 | Airasca | 001 |
... | ... | ... | ...
001 | Alagna Valsesia | 002 | Municipality in Vercelli province