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

# Middle layer Super Output Area name (England and Wales) (`gb_msoa_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 middle layer Super Output Area (MSOA), a census geography of England and Wales with 2,000 to 6,000 households that fits within a local authority. The name is the name of the local authority district and three digits (Leicester 003, Barking and Dagenham 001); the Office for National Statistics publishes it next to the code (E02, W02) in columns such as MSOA11NM. The names that the House of Commons Library gave to the same areas (Belgrave South) are another list. The area code itself is the type ukmsoa.

- 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}$
```

## Examples

- `Leicester 003` — MSOA of Leicester, as in Open Leicester tables
- `City of London 001` — The one MSOA of the City of London
- `Cambridge 001A` (invalid example) — A lower layer area name, with a letter
- `Belgrave South` (invalid example) — A House of Commons Library name of an MSOA

## Metacrafter rules

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

- `gbmsoanamebyname` (field, `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_msoa_name.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/GB/geo/gb_msoa_name.yaml>
