Datatypes › Government related

SDMX age code

ID sdmx_age

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

Code of an age or an age band written with the syntax of the SDMX guidelines for code lists. Y stands for years, a number after it is an age (Y15), T joins the ends of a band (Y15T24 for 15 to 24 years) and the operators GE, GT, LE and LT after an underscore give an open band (Y_GE65 for 65 years or more, Y_LT5 for under 5). The guidelines allow the syntax and do not impose it; statistical offices that follow it, such as the statistics institute of the Canary Islands, give these codes in the age dimension of their tables (EDAD_CODE). Eurostat writes its bands with a hyphen (Y15-24), see eurostat_age_class. The regexp covers ages in years; the total _T and codes in months or days are left out.

Categories
Government related, Scientific
Countries
Global (not tied to a country)
Languages
Common to most languages
Quality
90/100 · missing: mapping (Wikidata, Schema.org, ...)
Metacrafter rules
2 rules (1 by field name, 1 by value)
Supported by tools
metacrafter

Regular expression

^Y(?:\d{1,3}(?:T\d{1,3})?|_(?:GE|GT|LE|LT)\d{1,3})$

Python re syntax.

Test a value

Examples

ValueDescription
Y15T24 15 to 24 years
Y_GE65 65 years or more
Y_LT5 under 5 years
Y15-24 invalid the Eurostat spelling

Translations

LanguageNameDescription
SpanishCódigo de edad (SDMX)
RussianКод возраста по синтаксису SDMX

Sources

Use this record