Datatypes › United Kingdom › Geographic identifiers
Scottish locality code (GSS)
ID gb_scotland_locality_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 locality of the National Records of Scotland, entity code S19. Localities are the named towns and villages inside a settlement, drawn around groups of postcodes of high density.
- 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)
gbscotlandlocalitycodevaluedata, gb/gb_geo.yaml
- Supported by tools
- metacrafter
Regular expression
^S19\d{6}$
Python re syntax.
Test a value
Examples
| Value | Description |
|---|---|
| S19001277 | A locality of the Stirling council area |
| S19001315 | A locality of the Stirling council area |
| S20001477 invalid | A settlement code (S20) |
Sources
- doc: ons.gov.uk/methodology/geography/geographicalproducts/namescodesandlookups/codehistorydatabasechd
- doc: nrscotland.gov.uk/publications/population-estimates-for-settlements-and-localities-in-scotland-mid-2020
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/gb_scotland_locality_code - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/GB/geo/gb_scotland_locality_code.yamlon GitHub