The code converts postcodes units (e.g. TS25 5ND) to postcodes areas (e.g. TS). It then assigns postcodes to Nomenclature of Territorial Units for Statistics (NUTS) codes of the United Kingdom (UK).
The 3 levels of NUTS are:
Level | Corresponding subdivisions | # |
---|---|---|
NUTS 1 | Wales, | 12 |
Scotland, | ||
Northern Ireland, | ||
9 statistical regions in England | ||
NUTS 2 | Northern Ireland, | 40 |
counties in England (most grouped), | ||
groups of districts in Greater London, | ||
groups of unitary authorities in Wales, | ||
groups of council areas in Scotland | ||
NUTS 3 | counties, unitary authorities, or districts in England (some grouped), | 174 |
groups of unitary authorities in Wales, | ||
groups of council areas in Scotland, | ||
groups of districts in Northern Ireland |
input
: input.csv
files for conversionoutput
: output.csv
converted table
Galanakis, Y. (2021). Converting UK postcodes to NUTS regions (Version 1.0) [Computer software]. https://github.com/ygalanak/UKpc2NUTS DOI:10.5281/zenodo.5851100
Communicate any feedback, here