---
id: "gb_lsoa_name"
kind: "datatype"
status: "draft"
is_pii: false
name: "Lower layer Super Output Area name (England and Wales)"
regexp: "^[A-Z][A-Za-z'’.,-]*(?: [A-Za-z'’.,&-]+){0,6} \\d{3}[A-Z]$"
categories: ["geo"]
country: ["GB"]
langs: ["en"]
quality: 85
url: "https://registry.apicrafter.io/datatype/gb_lsoa_name"
---

# Lower layer Super Output Area name (England and Wales) (`gb_lsoa_name`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Name of a lower layer Super Output Area (LSOA), a census geography of England and Wales with 400 to 1,200 households. The name is the name of the middle layer area it belongs to, which is the name of the local authority district and three digits, followed by a letter (Cambridge 001A, City of London 001C). The Office for National Statistics publishes the names next to the nine-character codes (E01, W01) in columns such as LSOA11NM and LSOA21NM. The area code itself is the type uksloa.

- Personal data (PII): no
- Categories: Geographic identifiers (geo)
- Countries: United Kingdom (GB)
- Languages: English (en)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^[A-Z][A-Za-z'’.,-]*(?: [A-Za-z'’.,&-]+){0,6} \d{3}[A-Z]$
```

## Examples

- `Cambridge 001A` — LSOA of Cambridge, as in Cambridgeshire Insight tables
- `City of London 001C` — LSOA of the City of London
- `Barking and Dagenham 001B` — A district name of three words
- `Leicester 003` (invalid example) — A middle layer area name, without the letter
- `E01000001` (invalid example) — The code of an LSOA, not its name

## Metacrafter rules

2 rules: 1 match the field name, 1 match values.

- `gblsoanamebyname` (field, `gb/gb_geo.yaml`)
- `gblsoanamevalue` (data, `gb/gb_geo.yaml`)

## Supported by tools

- [`metacrafter`](https://registry.apicrafter.io/tool/metacrafter.md)

## Sources

- doc: <https://www.ons.gov.uk/methodology/geography/ukgeographies/censusgeographies/census2021geographies>
- wikipedia: <https://en.wikipedia.org/wiki/ONS_coding_system>

## Quality

Score 85/100. Missing: mapping (Wikidata, Schema.org, ...), translation.

JSON: <https://registry.apicrafter.io/api/v1/datatypes/gb_lsoa_name.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/GB/geo/gb_lsoa_name.yaml>
