mysociety / uk_local_authority_names_and_codes

Data and lookups between different kinds of local authority
https://mysociety.github.io/uk_local_authority_names_and_codes/
MIT License
8 stars 3 forks source link
dataset

UK Local Authority Names and Codes Lookup

An easier to download version of this can be found at: https://mysociety.github.io/uk_local_authority_names_and_codes/

--

Lookup between the many, many different ways of naming and coding UK local authorities.

If you ever try to match UK local authority statistics against each other you'll quickly find your efforts frustrated by inconsistent uses of official codes and different versions of LA names. These lookups are an on-going tool to help translate between these.

To update this information, update the files in the source folder:

Updating these files and pushing to github will trigger a rebuild and test of the output files.

The output files avaliable are in the data directory:

What is 'local-authority-code'

This project originally used the official local authority registers to provide a canonical three character code and a canonical name for the local authority. This is required because the more common GSS id refers to boundaries rather than legal entities.

The registers are now depricated but the existing three letter codes will continue to be used. Technically these codes are independent of the register (they are BS-6879), but they are less likely to be released quickly and are not widely used anyway.

As such, there is now a seperate 'BS-6879' column that reflects the official code, and the internal 'local-authority-code' where new additions will be assigned a three digit code for use in this register.

As these codes are not widely used in data releases, it feels likely that maintaining continuity for pipelines and datasets produced using this sheet will be more important than the divergence if different codes are then assigned.

It is annoying and confusing that local-authority-code and BS-6879 columns may become almost but not entirely identical, but this entire project is required because of a series of similarly annoying and confusing problems, so we might just have to live with that.

Useful fields

Additional maps can be found here.

*The gss code used for the Greater London Authority is the gss code is for London region - when working from code point open use E18000007 and the NHS_HA_code column.

Dataset analysis

Counts by authority

Authority type Current authorities Former authorities
City corporation 1 0
Combined authority 11 0
County 21 6
London borough 32 0
Metropolitan district 36 0
NI district 11 25
Non-metropolitan district 164 40
Scottish unitary authority 32 0
Strategic Regional Authority 1 0
Unitary authority 63 2
Welsh unitary authority 22 0

Unitary/lower tier and total counts

Lower or unitary? Count
No 33
Yes 361
All 394

Incomplete lookups

This are optional columns, and not entirely populated.

column complete %
long 391 99.2%
lat 391 99.2%
x 391 99.2%
y 391 99.2%
BS-6879 387 98.2%
wdtk-id 387 98.2%
old-register-and-code 384 97.5%
open-council-data-id 373 94.7%
gov-uk-slug 371 94.2%
os 361 91.6%
snac 361 91.6%
mapit-area-code 310 78.7%
ecode 307 77.9%
old-ons-la-code 307 77.9%
ofcom 175 44.4%
os-file 167 42.4%
even-older-register-and-code 22 5.6%