Datatypes › United Kingdom › Geographic identifiers
County of England code (GSS)
ID gb_county_code
DatatypeNot PIIcategoricalDraft
This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).
GSS code of a county of England: a non-metropolitan (shire) county, entity code E10, or a metropolitan county, E11. Unitary authorities have district codes (E06) instead.
- Parent datatype
- GSS code (United Kingdom)
ukgsscode - Categories
- Geographic identifiers
- Countries
- United Kingdom
- Languages
- English
- Quality
- 85/100 · missing: mapping (Wikidata, Schema.org, ...), translation
- Metacrafter rules
- 1 rule (0 by field name, 1 by value)
gbcountycodevaluedata, gb/gb_geo.yaml
- Supported by tools
- metacrafter
Regular expression
^E1[01]\d{6}$
Python re syntax.
Test a value
Examples
| Value | Description |
|---|---|
| E10000002 | Buckinghamshire (county until 2020) |
| E10000003 | Cambridgeshire |
| E11000001 | Greater Manchester (metropolitan county) |
| E06000001 invalid | A unitary authority code |
Sources
- wikipedia: Metropolitan and non-metropolitan counties of England (en.wikipedia.org)
- wikipedia: ONS coding system (en.wikipedia.org)
- doc: ons.gov.uk/methodology/geography/geographicalproducts/namescodesandlookups/codehistorydatabasechd
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/gb_county_code - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/GB/geo/gb_county_code.yamlon GitHub