Datatypes › Canada › Geographic identifiers
Statistics Canada Dissemination Geography Unique Identifier (DGUID)
Identificateur unique des géographies de diffusion (IDUGD) de Statistique Canada
ID ca_dguid
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).
Identifier Statistics Canada gives every geographic area it publishes data for, so that an area of one type and one year is unique across its products. It has 10 to 21 characters: the four-digit vintage (the reference year of the geography), the type (A for administrative areas, S for statistical areas), a four-digit schema that names the kind of area (0000 Canada, 0002 province or territory, 0003 census division, 0500 economic region, 0011 forward sortation area) and the identifier of the area in that geography, 1 to 12 characters (the SGC code of casgc for provinces, census divisions and subdivisions). Census profiles, boundary files and the tables of the Common Output Data Repository carry it in a field named DGUID.
- Parent datatype
- Unique identifier
id - Categories
- Geographic identifiers, Government related
- Countries
- Canada
- Languages
- English, French
- Quality
- 90/100 · missing: mapping (Wikidata, Schema.org, ...)
- Metacrafter rules
- 2 rules (1 by field name, 1 by value)
cadguidbynamefield, ca/ca_codes.yamlcadguidvaluedata, ca/ca_codes.yaml
- Supported by tools
- metacrafter
Regular expression
^(?:19|20)\d{2}[AS]\d{4}[0-9A-Z.]{1,12}$
Python re syntax.
Test a value
Examples
| Value | Description |
|---|---|
| 2011A000011124 | Canada, 2011 |
| 2011A000224 | Quebec, 2011 |
| 2011A00033520 | census division of Toronto, 2011 |
| 2011S05003530 | economic region of Toronto, 2011 |
| 2011A0011K1J | forward sortation area K1J, 2011 |
| 3520 invalid | the SGC code alone (casgc) |
| 2011X000224 invalid | the type is A or S |
Translations
| Language | Name | Description |
|---|---|---|
| French | Identificateur unique des géographies de diffusion (IDUGD) de Statistique Canada | |
| Russian | Уникальный идентификатор географии распространения Статистики Канады (DGUID) |
Sources
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/ca_dguid - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/CA/geo/ca_dguid.yamlon GitHub