---
id: "uk_european_electoral_region_code"
kind: "datatype"
status: "draft"
is_pii: false
name: "European electoral region code (United Kingdom, GSS)"
regexp: "^(?:E15|W08|S15|N07)\\d{6}$"
categories: ["geo"]
country: ["GB"]
langs: ["en"]
quality: 85
url: "https://registry.apicrafter.io/datatype/uk_european_electoral_region_code"
---

# European electoral region code (United Kingdom, GSS) (`uk_european_electoral_region_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 European Parliament electoral region of the United Kingdom (EERyyCD): E15 for the nine English regions, W08 Wales, S15 Scotland and N07 Northern Ireland. The regions were used until 2020.

- 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`):

```
^(?:E15|W08|S15|N07)\d{6}$
```

## Examples

- `E15000001` — North East
- `E15000007` — London
- `W08000001` — Wales
- `S15000001` — Scotland
- `N07000001` — Northern Ireland
- `E12000001` (invalid example) — The region code of North East England

## Metacrafter rules

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

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

## Supported by tools

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

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/European_Parliament_constituencies_in_the_United_Kingdom>
- 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/uk_european_electoral_region_code.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/GB/geo/uk_european_electoral_region_code.yaml>
