This module contains all ISO 3166-2 codes for United Kingdom. It is used by Module:ISO 3166.
return {
lang = "en",
-- Countries and province
["ENG"] = {name="England"},
["SCT"] = {name="Scotland"},
["WLS"] = {name="Wales",altnames={"Cymru"}},
["NIR"] = {name="Northern Ireland"},
-- Included for completeness as mentioned in remark part 2
["EAW"] = {name="England and Wales"},
["GBN"] = {name="Great Britain"},
["UKM"] = {name="United Kingdom"},
-- England: Greater London
["LND"] = {name="City of London",isoname="London, City of"},
["BDG"] = {name="Barking and Dagenham"},
["BEN"] = {name="Brent"},
["BEX"] = {name="Bexley"},
["BNE"] = {name="Barnet"},
["BRY"] = {name="Bromley"},
["CMD"] = {name="Camden"},
["CRY"] = {name="Croydon"},
["EAL"] = {name="Ealing"},
["ENF"] = {name="Enfield"},
["GRE"] = {name="Greenwich"},
["HAV"] = {name="Havering"},
["HCK"] = {name="Hackney"},
["HIL"] = {name="Hillingdon"},
["HMF"] = {name="Hammersmith and Fulham"},
["HNS"] = {name="Hounslow"},
["HRW"] = {name="Harrow"},
["HRY"] = {name="Haringey"},
["ISL"] = {name="Islington"},
["KEC"] = {name="Kensington and Chelsea"},
["KTT"] = {name="Kingston upon Thames"},
["LBH"] = {name="Lambeth"},
["LEW"] = {name="Lewisham"},
["MRT"] = {name="Merton"},
["NWM"] = {name="Newham"},
["RDB"] = {name="Redbridge"},
["RIC"] = {name="Richmond upon Thames"},
["STN"] = {name="Sutton"},
["SWK"] = {name="Southwark"},
["TWH"] = {name="Tower Hamlets"},
["WFT"] = {name="Waltham Forest"},
["WND"] = {name="Wandsworth"},
["WSM"] = {name="City of Westminster",isoname="Westminster"},
-- England: Metropolitan districts
["BIR"] = {name="Birmingham"},
["BNS"] = {name="Barnsley"},
["BOL"] = {name="Bolton"},
["BRD"] = {name="Bradford"},
["BUR"] = {name="Bury"},
["CLD"] = {name="Calderdale"},
["COV"] = {name="Coventry"},
["DNC"] = {name="Doncaster"},
["DUD"] = {name="Dudley"},
["GAT"] = {name="Gateshead"},
["KIR"] = {name="Kirklees"},
["KWL"] = {name="Knowsley"},
["LDS"] = {name="Leeds"},
["LIV"] = {name="Liverpool"},
["MAN"] = {name="Manchester"},
["NET"] = {name="Newcastle upon Tyne"},
["NTY"] = {name="North Tyneside"},
["OLD"] = {name="Oldham"},
["RCH"] = {name="Rochdale"},
["ROT"] = {name="Rotherham"},
["SAW"] = {name="Sandwell"},
["SFT"] = {name="Sefton"},
["SHF"] = {name="Sheffield"},
["SHN"] = {name="St Helens",isoname="St. Helens",altnames={"Saint Helens"}},
["SKP"] = {name="Stockport"},
["SLF"] = {name="Salford"},
["SND"] = {name="Sunderland"},
["SOL"] = {name="Solihull"},
["STY"] = {name="South Tyneside"},
["TAM"] = {name="Tameside"},
["TRF"] = {name="Trafford"},
["WGN"] = {name="Wigan"},
["WKF"] = {name="Wakefield"},
["WLL"] = {name="Walsall"},
["WLV"] = {name="Wolverhampton"},
["WRL"] = {name="Wirral"},
-- England: Two-tier counties
["BKM"] = {name="Buckinghamshire"},
["CAM"] = {name="Cambridgeshire"},
["CMA"] = {name="Cumbria"},
["DBY"] = {name="Derbyshire"},
["DEV"] = {name="Devon"},
["DOR"] = {name="Dorset"},
["ESS"] = {name="Essex"},
["ESX"] = {name="East Sussex"},
["GLS"] = {name="Gloucestershire"},
["HAM"] = {name="Hampshire"},
["HRT"] = {name="Hertfordshire"},
["KEN"] = {name="Kent"},
["LAN"] = {name="Lancashire"},
["LEC"] = {name="Leicestershire"},
["LIN"] = {name="Lincolnshire"},
["NFK"] = {name="Norfolk"},
["NTT"] = {name="Nottinghamshire"},
["NYK"] = {name="North Yorkshire"},
["OXF"] = {name="Oxfordshire"},
["SFK"] = {name="Suffolk"},
["SOM"] = {name="Somerset"},
["SRY"] = {name="Surrey"},
["STS"] = {name="Staffordshire"},
["WAR"] = {name="Warwickshire"},
["WOR"] = {name="Worcestershire"},
["WSX"] = {name="West Sussex"},
-- England: Unitary authorities
["CBF"] = {name="Central Bedfordshire"},
["BAS"] = {name="Bath and North East Somerset"},
["BBD"] = {name="Blackburn with Darwen"},
["BDF"] = {name="Bedford"},
["BCP"] = {name="Bournemouth, Christchurch and Poole"},
["BNH"] = {name="Brighton and Hove"},
["BPL"] = {name="Blackpool"},
["BRC"] = {name="Bracknell Forest"},
["BST"] = {name="Bristol",isoname="Bristol, City of",altnames={"City of Bristol"}},
["CHE"] = {name="Cheshire East"},
["CHW"] = {name="Cheshire West and Chester"},
["CON"] = {name="Cornwall"},
["DAL"] = {name="Darlington"},
["DER"] = {name="Derby"},
["DUR"] = {name="Durham",isoname="Durham, County"},
["ERY"] = {name="East Riding of Yorkshire"},
["HAL"] = {name="Halton"},
["HEF"] = {name="Herefordshire"},
["HPL"] = {name="Hartlepool"},
["IOS"] = {name="Isles of Scilly"},
["IOW"] = {name="Isle of Wight"},
["KHL"] = {name="Kingston upon Hull"},
["LCE"] = {name="Leicester"},
["LUT"] = {name="Luton"},
["MDB"] = {name="Middlesbrough"},
["MDW"] = {name="Medway"},
["MIK"] = {name="Milton Keynes"},
["NBL"] = {name="Northumberland"},
["NEL"] = {name="North East Lincolnshire"},
["NGM"] = {name="Nottingham"},
["NLN"] = {name="North Lincolnshire"},
["NNH"] = {name="North Northamptonshire"},
["NSM"] = {name="North Somerset"},
["PLY"] = {name="Plymouth"},
["POR"] = {name="Portsmouth"},
["PTE"] = {name="Peterborough"},
["RCC"] = {name="Redcar and Cleveland"},
["RDG"] = {name="Reading"},
["RUT"] = {name="Rutland"},
["SGC"] = {name="South Gloucestershire"},
["SHR"] = {name="Shropshire"},
["SLG"] = {name="Slough"},
["SOS"] = {name="Southend-on-Sea"},
["STE"] = {name="Stoke-on-Trent"},
["STH"] = {name="Southampton"},
["STT"] = {name="Stockton-on-Tees"},
["SWD"] = {name="Swindon"},
["TFW"] = {name="Telford and Wrekin"},
["THR"] = {name="Thurrock"},
["TOB"] = {name="Torbay"},
["WBK"] = {name="West Berkshire"},
["WIL"] = {name="Wiltshire"},
["WNH"] = {name="West Northamptonshire"},
["WNM"] = {name="Windsor and Maidenhead"},
["WOK"] = {name="Wokingham"},
["WRT"] = {name="Warrington"},
["YOR"] = {name="York"},
-- Scotland
["ABD"] = {name="Aberdeenshire"},
["ABE"] = {name="Aberdeen City",altnames={"Aberdeen"}},
["AGB"] = {name="Argyll and Bute"},
["ANS"] = {name="Angus"},
["CLK"] = {name="Clackmannanshire"},
["DGY"] = {name="Dumfries and Galloway"},
["DND"] = {name="Dundee City",altnames={"Dundee"}},
["EAY"] = {name="East Ayrshire"},
["EDH"] = {name="City of Edinburgh",isoname="Edinburgh, City of",altnames={"Edinburgh"}},
["EDU"] = {name="East Dunbartonshire"},
["ELN"] = {name="East Lothian"},
["ELS"] = {name="Eilean Siar",altnames={"Na h-Eileanan Siar","Outer Hebrides"}},
["ERW"] = {name="East Renfrewshire"},
["FAL"] = {name="Falkirk"},
["FIF"] = {name="Fife"},
["GLG"] = {name="Glasgow City",altnames={"Glasgow"}},
["HLD"] = {name="Highland"},
["IVC"] = {name="Inverclyde"},
["MLN"] = {name="Midlothian"},
["MRY"] = {name="Moray"},
["NAY"] = {name="North Ayrshire"},
["NLK"] = {name="North Lanarkshire"},
["ORK"] = {name="Orkney Islands",altnames={"Orkney"}},
["PKN"] = {name="Perth and Kinross"},
["RFW"] = {name="Renfrewshire"},
["SAY"] = {name="South Ayrshire"},
["SCB"] = {name="Scottish Borders",altnames={"The Scottish Borders"}},
["SLK"] = {name="South Lanarkshire"},
["STG"] = {name="Stirling"},
["WDU"] = {name="West Dunbartonshire"},
["WLN"] = {name="West Lothian"},
["ZET"] = {name="Shetland Islands",altnames={"Shetland"}},
-- Northern Ireland
["ABC"] = {name="Armagh City, Banbridge and Craigavon"},
["AND"] = {name="Ards and North Down"},
["ANN"] = {name="Antrim and Newtownabbey"},
["BFS"] = {name="Belfast",isoname="Belfast City"},
["CCG"] = {name="Causeway Coast and Glens"},
["DRS"] = {name="Derry City and Strabane",isoname="Derry and Strabane"},
["FMO"] = {name="Fermanagh and Omagh"},
["LBC"] = {name="Lisburn and Castlereagh"},
["MEA"] = {name="Mid and East Antrim"},
["MUL"] = {name="Mid-Ulster"},
["NMD"] = {name="Newry, Mourne and Down"},
-- Wales
["AGY"] = {name="Anglesey",isoname="Isle of Anglesey",altnames={"Ynys Môn","Sir Ynys Môn"}},
["BGE"] = {name="Bridgend",altnames={"Pen-y-bont ar Ogwr"}},
["BGW"] = {name="Blaenau Gwent"},
["CAY"] = {name="Caerphilly",altnames={"Caerffili"}},
["CGN"] = {name="Ceredigion",altnames={"Sir Ceredigion"}},
["CMN"] = {name="Carmarthenshire",altnames={"Sir Gaerfyrddin"}},
["CRF"] = {name="Cardiff",altnames={"Caerdydd"}},
["CWY"] = {name="Conwy"},
["DEN"] = {name="Denbighshire",altnames={"Sir Ddinbych"}},
["FLN"] = {name="Flintshire",altnames={"Sir y Fflint"}},
["GWN"] = {name="Gwynedd"},
["MON"] = {name="Monmouthshire",altnames={"Sir Fynwy"}},
["MTY"] = {name="Merthyr Tydfil",altnames={"Merthyr Tudful"}},
["NTL"] = {name="Neath Port Talbot",altnames={"Castell-nedd Port Talbot"}},
["NWP"] = {name="Newport",altnames={"Casnewydd"}},
["PEM"] = {name="Pembrokeshire",altnames={"Sir Benfro"}},
["POW"] = {name="Powys"},
["RCT"] = {name="Rhondda Cynon Taf",isoname="Rhondda Cynon Taff"},
["SWA"] = {name="Swansea",altnames={"Abertawe"}},
["TOF"] = {name="Torfaen",altnames={"Tor-faen"}},
["VGL"] = {name="Vale of Glamorgan",isoname="Vale of Glamorgan, The",altnames={"The Vale of Glamorgan","Bro Morgannwg"}},
["WRX"] = {name="Wrexham",altnames={"Wrecsam"}}
}