---
id: "gb_census_merged_ward_code"
kind: "datatype"
status: "draft"
is_pii: false
name: "Census merged ward code (England and Wales, GSS)"
regexp: "^(?:E36|W39)\\d{6}$"
categories: ["geo"]
country: ["GB"]
langs: ["en"]
quality: 85
url: "https://registry.apicrafter.io/datatype/gb_census_merged_ward_code"
---

# Census merged ward code (England and Wales, GSS) (`gb_census_merged_ward_code`)

> **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.

GSS code of a census merged ward, a 2011 census output geography that merges electoral wards too small for the release of census tables (CMWD11CD): E36 in England, W39 in Wales.

- Parent datatype: [`ukgsscode`](https://registry.apicrafter.io/datatype/ukgsscode.md)
- Personal data (PII): no
- Categories: Geographic identifiers (geo)
- Countries: United Kingdom (GB)
- Languages: English (en)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^(?:E36|W39)\d{6}$
```

## Examples

- `E36000001` — Census merged ward, 2011
- `W39000001` — Census merged ward in Wales, 2011
- `E05008942` (invalid example) — An electoral ward code

## Metacrafter rules

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

- `gbcensusmergedwardcodevalue` (data, `gb/gb_geo.yaml`)

## Supported by tools

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

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/ONS_coding_system>
- doc: <https://www.ons.gov.uk/methodology/geography/geographicalproducts/namescodesandlookups/codehistorydatabasechd>

## Quality

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

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