Échange de données et de métadonnées statistiques (SDMX) Guide de l'utilisateur

Table des matières

Table des matières

Introduction

Les services Web SDMX REST de Statistique Canada donnent accès aux séries chronologiques disponibles sur le site Web de Statistique Canada sous une forme structurée. Elle est conforme à la norme SDMX. Ce service est accessible à l'aide d'une requête HTTP.

Les séries chronologiques accessibles à partir de l'Entrepôt commun de données de sortie (ECDS) de Statistique Canada sont présentées sous la forme d'indicateurs ou de cubes canadiens (à court terme, structurels, particuliers, etc.) représentant généralement un ensemble de séries ou de vecteurs. Un indicateur (ou cube) est divisé en autant de séries élémentaires qu'il existe de croisements possibles de variables ou de dimensions. Par exemple, 50 industries * 13 provinces ou territoires = 650 séries ou vecteurs différents dans l'ECDS.

Le service Web SDMX donne un accès :

  • aux valeurs des séries;
  • aux métadonnées structurelles décrivant les caractéristiques des séries;
  • gratuit.

Il est possible d'extraire rapidement des données à l'aide de l'identificateur et des vecteurs du cube de l'ECDS. Dans de tels cas, l'utilisateur doit avoir précédemment pris note de l'identificateur du cube de l'ECDS ou de l'identificateur du vecteur sur le site Web de Statistique Canada.

Qu'est-ce que SDMX?

L'initiative d'échange de données et de métadonnées statistiques est parrainée par sept organismes (la Banque des règlements internationaux, la Banque centrale européenne, Eurostat, le Fonds monétaire international, l'Organisation de coopération et de développement économiques, l'Organisation des Nations Unies et la Banque mondiale) pour préconiser des normes pour l'échange de renseignements statistiques. La première version de la norme est une norme de l'ISO (spécification technique ISO 17369:2005). Elle offre un modèle d'information pour la représentation de données et de métadonnées statistiques, ainsi que plusieurs formats pour représenter ce modèle (SDMX-EDI, SDMX-JSON, SDMX-CSV et plusieurs formats SDMX-ML). Elle propose également une façon normalisée de mettre en œuvre des services Web, y compris l'utilisation de registres.

Le modèle d'information SDMX en quelques lignes

La liste qui suit vous indique tout ce qu'il vous faut savoir sur le modèle d'information SDMX pour que nous puissions commencer à créer une application fondée sur la norme SDMX.

  • Concepts de descripteur : Pour donner un sens à certaines données statistiques, nous devons connaître les concepts qui leur sont associés. Par exemple, la figure 1.3312 n'a pas vraiment de sens par elle-même, mais si nous savons qu'il s'agit d'un taux de change du dollar canadien par rapport au dollar américain le 19 novembre 2019, elle devient plus compréhensible.
  • Structure de présentation : Les données statistiques peuvent être regroupées aux niveaux suivants : le niveau de l'observation (la mesure d'un certain phénomène), le niveau de la série (la mesure d'un certain phénomène dans le temps, généralement à des intervalles réguliers), le niveau du groupe (un groupe de séries, dont un exemple bien connu est le groupe constitué par une fratrie, c'est-à-dire un ensemble de séries qui sont identiques à ceci près qu'elles sont mesurées à des fréquences différentes) et le niveau de l'ensemble de données (pouvant comprendre plusieurs groupes, pour couvrir un domaine statistique particulier, par exemple). Les concepts de descripteur mentionnés ci-dessus peuvent être attachés à divers niveaux dans cette hiérarchie.
  • Dimensions et attributs : Il existe deux types de concepts de descripteur : les dimensions, qui déterminent et décrivent les données, et les attributs, qui sont purement descriptifs.
  • Clés : Les dimensions sont regroupées en clés, qui permettent de définir un ensemble de données particulier (une série, par exemple). Les valeurs des clés sont affectées au niveau de la série et sont données selon une séquence fixe. Par convention, la fréquence est le premier concept de descripteur et les autres concepts se voient attribuer un ordre pour l'ensemble de données en question. Des clés partielles peuvent être affectées à des groupes.
  • Listes de codes : Chaque valeur possible d'une dimension est définie dans une liste de codes. Chaque valeur de cette liste se voit attribuer une abréviation (code) non liée à un langage particulier et une description propre à un langage. Les attributs sont représentés parfois par des codes, parfois par des valeurs à texte libre. Comme la seule finalité d'un attribut est de décrire et non pas de reconnaître les données, cela ne pose aucun problème.
  • Définitions de la structure des données : Une définition de la structure des données (famille de clés) précise un ensemble de concepts, lesquels décrivent et définissent un ensemble de données. Elle nous indique les concepts qui sont des dimensions (détermination et description) et ceux qui sont des attributs (description seulement) et fournit le niveau d'affectation pour chacun de ces concepts sur la base de la structure de présentation (ensemble de données, groupe, série ou observation), ainsi que leur état (impératif ou conditionnel). Elle précise également les listes de codes qui fournissent des valeurs possibles pour les dimensions et donne des valeurs possibles pour les attributs, soit sous forme de listes de codes ou de champs à texte libre.

Les divers formats SDMX-ML

Le format SDMX-ML prend en charge divers cas d'utilisation et, par conséquent, définit plusieurs formats XML. Aux fins du présent tutoriel, les deux formats suivants seront utilisés :

  • Le format de définition de la structure : Ce format sera utilisé pour définir la structure (concepts, listes de codes, dimensions, attributs, etc.) des familles de clés.
  • Le format compact : Ce format sera utilisé pour définir le fichier de données. Il ne s'agit pas d'un format générique (il est particulier à une définition de la structure des données), mais il est conçu pour prendre en charge la validation et est très compact de manière à prendre en charge l'échange de grands ensembles de données.

Maintenant que nous connaissons les principes de base, nous pouvons commencer à créer notre application.

Le modèle d'information SDMX est beaucoup plus élaboré que ce qui est présenté dans cette introduction limitée. Toutefois, ce qui précède devrait suffire à comprendre les principes essentiels de ce service Web. Pour obtenir de plus amples renseignements, veuillez vous reporter à la documentation sur le format SDMX (en anglais seulement).

Service Web de données SDMX (cube)

Toutes les données stockées dans l'ECDS peuvent être extraites à l'aide de la chaîne de requête décrite ci-dessous.

protocol://wsEntryPoint/resource/flowRef/key?parameters

dans laquelle parameters est défini comme suit :

startPeriod=value&endPeriod=value&updatedAfter=value&firstNObservations=value&lastNObservations=value&detail=value&includeHistory=value

Définition de la syntaxe

protocol
Le service Web est offert sur http et https.
wsEntryPoint
Le point d'entrée du service Web est accessible au même emplacement que le point d'entrée des données et métadonnées SDMX.
resource
La ressource pour les requêtes par vecteur est vector.
flowRef

Il s'agit d'une référence au flux de données décrivant les données qui doivent être retournées.

La syntaxe est l'identificateur de l'organisme qui tient à jour le flux de données, suivi de l'identificateur du flux de données, puis de la version du flux de données, tous les éléments étant séparés par une virgule (« , »).

Par exemple : AGENCY_ID, FLOW_ID, VERSION

Si le paramètre ne comprend qu'un de ces trois éléments, celui-ci est considéré comme l'identificateur du flux de données. La valeur de l'identificateur de l'organisme qui tient à jour le flux de données prendra par défaut la valeur de tous ces éléments, alors que la valeur de la version du flux de données prendra par défaut la dernière valeur.

Si la chaîne ne comprend que deux de ces trois éléments, ceux-ci sont considérés comme l'identificateur de l'organisme qui tient à jour le flux de données et l'identificateur du flux de données. La valeur de la version du flux de données prendra la dernière valeur par défaut.

key

La combinaison de dimensions permet de définir de manière unique des données statistiques. Une telle combinaison est désignée par une clé de série dans SDMX, et c'est ce qui est requis dans le paramètre de clé.

Par exemple, supposons que les taux de change peuvent être définis de manière unique par ce qui suit :

  • la fréquence à laquelle ils sont mesurés (p. ex. quotidiennement — code D);
  • la devise mesurée (p. ex. le dollar américain — code USD);
  • la devise par rapport à laquelle une devise est mesurée (p. ex. l'Euro — code EUR);
  • le type des taux de change (taux de change de référence — code SP00);
  • la variation de la série (comme une moyenne ou une mesure normalisée pour une fréquence donnée, code A).

Pour produire une clé de série, vous devez prendre la valeur de chacune des dimensions (dans l'ordre dans lequel les dimensions sont définies dans la DSM) et les séparer avec un point (« . »). La clé de série pour l'exemple ci-dessus devient donc « D.USD.EUR.SP00.A ».

L'utilisation de caractères de remplacement est prise en charge en omettant la valeur pour la dimension à être remplacée. Par exemple, la clé de série suivante peut être utilisée pour extraire les données pour toutes les devises au taux du jour par rapport à l'euro : « D..EUR.SP00.A ».

L'opérateur OR (ou) est pris en charge par l'utilisation du caractère « + » (plus). Par exemple, la clé suivante peut être utilisée pour extraire les taux de change par rapport à l'euro pour le dollar américain et le yen japonais : « D.USD+JPY.EUR.SP00.A ».

Bien entendu, vous pouvez combiner le remplacement de caractère et l'opérateur OR. Par exemple, la clé suivante peut être utilisée pour extraire les taux de change quotidiens ou mensuels de n'importe quelle devise par rapport à l'euro : « D+M..EUR.SP00.A ».

startPeriod et endPeriod

Il est possible de définir une période pour laquelle des observations doivent être retournées en utilisant les paramètres startPeriod et endPeriod. Les valeurs doivent être fournies en respectant la syntaxe définie dans la norme ISO 8601 ou comme des périodes de déclaration SDMX. Le format variera selon la fréquence.

Voici les formats pris en charge :

  • AAAA pour les données annuelles (p. ex. 2013);
  • AAAA-MM pour des données mensuelles (p. ex. 2013-01);
  • AAAA-MM-JJ pour des données quotidiennes (p. ex. 2013-01-01).
Detail

En utilisant le paramètre detail, vous pouvez préciser la quantité souhaitée de renseignements à retourner par le service Web.

Voici les options possibles :

  • full : Les données (série et observations) et les attributs doivent être retournés. Il s'agit de la valeur par défaut.
firstNObservations et lastNObservations
En utilisant les paramètres firstNObservations et lastNObservations, vous pouvez préciser le nombre maximal d'observations à retourner pour chacune des séries correspondantes, en commençant par la première observation (firstNObservations) ou à partir de l'observation la plus récente (lastNObservations).

Service Web de données SDMX (cube) - Exemples

1. Récupérer les données de la série 1.1.1 (Canada / Les deux sexes / Tous âges) pour le flux de données 17100005. Le tableau 17100005 est présenté en détail à l'annexe 1.

https://www150.statcan.gc.ca/t1/wds/sdmx/statcan/v1/rest/data/DF_17100005/1.1.1

Résultats

SDMX-ML 2.1 Données génériques
<?xml version="1.0" encoding="utf-8"?><!--NSI Web Service v7.8.0.0--><message:GenericData xmlns:footer="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/message/footer" xmlns:generic="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/data/generic" xmlns:message="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/message" xmlns:common="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xml="http://www.w3.org/XML/1998/namespace"><message:Header><message:ID>IREFe1bc0f6d2dcc41219f43d827cc979106</message:ID><message:Test>true</message:Test><message:Prepared>2019-11-26T00:12:41</message:Prepared><message:Sender id="NOT_CONFIGURED" /><message:Structure structureID="StatCan_Data_Structure_17100005_1_0" dimensionAtObservation="TIME_PERIOD"><common:Structure><Ref agencyID="StatCan" id="Data_Structure_17100005" version="1.0" /></common:Structure></message:Structure><message:DataSetAction>Information</message:DataSetAction></message:Header><message:DataSet action="Information" structureRef="StatCan_Data_Structure_17100005_1_0"><generic:Series><generic:SeriesKey><generic:Value id="Geography" value="1" /><generic:Value id="Sex" value="1" /><generic:Value id="Age_group" value="1" /></generic:SeriesKey><generic:Attributes><generic:Value id="UOM" value="249" /><generic:Value id="DGUID" value="2016A000011124" /><generic:Value id="SCALAR_FACTOR" value="0" /><generic:Value id="VECTOR_ID" value="466668" /><generic:Value id="NB_DECIMAL" value="0" /></generic:Attributes><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2012" /><generic:ObsValue value="34714222" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2013" /><generic:ObsValue value="35082954" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2014" /><generic:ObsValue value="35437435" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2015" /><generic:ObsValue value="35702908" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2016" /><generic:ObsValue value="36109487" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2017" /><generic:ObsValue value="36543321" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2018" /><generic:ObsValue value="37057765" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2019" /><generic:ObsValue value="37589262" /></generic:Obs></generic:Series></message:DataSet></message:GenericData>
SDMX-ML 2.1 Données spécifiques à la structure
<?xml version="1.0" encoding="utf-8"?><!--NSI Web Service v7.8.0.0--><message:StructureSpecificData xmlns:ss="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/data/structurespecific" xmlns:footer="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/message/footer" xmlns:ns1="urn:sdmx:org.sdmx.infomodel.datastructure.DataStructure=StatCan:Data_Structure_17100005(1.0):ObsLevelDim:TIME_PERIOD" xmlns:message="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/message" xmlns:common="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xml="http://www.w3.org/XML/1998/namespace"><message:Header><message:ID>IREF6c6123ee03f2474e8c8966362092d5da</message:ID><message:Test>true</message:Test><message:Prepared>2019-11-26T00:12:41</message:Prepared><message:Sender id="NOT_CONFIGURED" /><message:Structure structureID="StatCan_Data_Structure_17100005_1_0" namespace="urn:sdmx:org.sdmx.infomodel.datastructure.DataStructure=StatCan:Data_Structure_17100005(1.0):ObsLevelDim:TIME_PERIOD" dimensionAtObservation="TIME_PERIOD"><common:Structure><Ref agencyID="StatCan" id="Data_Structure_17100005" version="1.0" /></common:Structure></message:Structure><message:DataSetAction>Information</message:DataSetAction></message:Header><message:DataSet action="Information" ss:dataScope="DataStructure" xsi:type="ns1:DataSetType" ss:structureRef="StatCan_Data_Structure_17100005_1_0"><Series Geography="1" Sex="1" Age_group="1" UOM="249" DGUID="2016A000011124" SCALAR_FACTOR="0" VECTOR_ID="466668" NB_DECIMAL="0"><Obs TIME_PERIOD="2012" OBS_VALUE="34714222" /><Obs TIME_PERIOD="2013" OBS_VALUE="35082954" /><Obs TIME_PERIOD="2014" OBS_VALUE="35437435" /><Obs TIME_PERIOD="2015" OBS_VALUE="35702908" /><Obs TIME_PERIOD="2016" OBS_VALUE="36109487" /><Obs TIME_PERIOD="2017" OBS_VALUE="36543321" /><Obs TIME_PERIOD="2018" OBS_VALUE="37057765" /><Obs TIME_PERIOD="2019" OBS_VALUE="37589262" /></Series></message:DataSet></message:StructureSpecificData>
SDMX-JSON
{"header":{"id":"IREFc0e7b4d85c50461c912ed378b326730c","prepared":"2019-11-26T00:12:50","test":true,"sender":{"id":"NOT_CONFIGURED","name":"unknown"}},"dataSets":[{"action":"Information","annotations":[],"series":{"0:0:0":{"attributes":[0,0,0,0,0,null],"annotations":[],"observations":{"0":[34714222],"1":[35082954],"2":[35437435],"3":[35702908],"4":[36109487],"5":[36543321],"6":[37057765],"7":[37589262]}}}}],"structure":{"name":"Population estimates on July 1st, by age and sex","description":"","dimensions":{"dataset":[],"series":[{"id":"Geography","name":"Geography","keyPosition":0,"role":"Geography","values":[{"id":"1","name":"Canada"}]},{"id":"Sex","name":"Sex","keyPosition":1,"role":"Sex","values":[{"id":"1","name":"Both sexes"}]},{"id":"Age_group","name":"Age group","keyPosition":2,"role":"Age_group","values":[{"id":"1","name":"All ages"}]}],"observation":[{"id":"TIME_PERIOD","name":"Time","keyPosition":3,"role":"TIME_PERIOD","values":[{"start":"2012-01-01T00:00:00","end":"2012-12-31T23:59:59","id":"2012","name":"2012"},{"start":"2013-01-01T00:00:00","end":"2013-12-31T23:59:59","id":"2013","name":"2013"},{"start":"2014-01-01T00:00:00","end":"2014-12-31T23:59:59","id":"2014","name":"2014"},{"start":"2015-01-01T00:00:00","end":"2015-12-31T23:59:59","id":"2015","name":"2015"},{"start":"2016-01-01T00:00:00","end":"2016-12-31T23:59:59","id":"2016","name":"2016"},{"start":"2017-01-01T00:00:00","end":"2017-12-31T23:59:59","id":"2017","name":"2017"},{"start":"2018-01-01T00:00:00","end":"2018-12-31T23:59:59","id":"2018","name":"2018"},{"start":"2019-01-01T00:00:00","end":"2019-12-31T23:59:59","id":"2019","name":"2019"}]}]},"attributes":{"dataSet":[],"series":[{"id":"UOM","name":"Unit of measure","role":"UOM","values":[{"id":"249","name":"Persons"}]},{"id":"DGUID","name":"DGUID","role":"DGUID","values":[{"id":"2016A000011124","name":"2016A000011124"}]},{"id":"SCALAR_FACTOR","name":"Scalar Factor","role":"SCALAR_FACTOR","values":[{"id":"0","name":"units"}]},{"id":"VECTOR_ID","name":"Vector ID","role":"VECTOR_ID","values":[{"id":"466668","name":"466668"}]},{"id":"NB_DECIMAL","name":"Number of decimal","role":"NB_DECIMAL","values":[{"id":"0","name":"0"}]},{"id":"TERMINATED","name":"Terminated","role":"TERMINATED","values":[]}],"observation":[{"id":"SYMBOL","name":"Symbol","role":"SYMBOL","values":[]},{"id":"STATUS_CAN","name":"Status","role":"STATUS_CAN","values":[]},{"id":"SECURITY_LEVEL","name":"Security Level","role":"SECURITY_LEVEL","values":[]}]},"annotations":[]}}
2. Récupérer les données des séries 1.2+3.1 (Canada / Hommes & Femmes / Tous âges) pour le flux de données 1710000005. Le tableau 17100005 est présenté en détail à l'annexe 1.

https://www150.statcan.gc.ca/t1/wds/sdmx/statcan/v1/rest/data/DF_17100005/1.2+3.1

Résultats

SDMX-ML 2.1 Données génériques
<?xml version="1.0" encoding="utf-8"?><!--NSI Web Service v7.8.0.0--><message:GenericData xmlns:footer="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/message/footer" xmlns:generic="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/data/generic" xmlns:message="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/message" xmlns:common="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xml="http://www.w3.org/XML/1998/namespace"><message:Header><message:ID>IREFf7ccf4e1550b46f9b91a43343e5debd3</message:ID><message:Test>true</message:Test><message:Prepared>2019-11-26T00:17:08</message:Prepared><message:Sender id="NOT_CONFIGURED" /><message:Structure structureID="StatCan_Data_Structure_17100005_1_0" dimensionAtObservation="TIME_PERIOD"><common:Structure><Ref agencyID="StatCan" id="Data_Structure_17100005" version="1.0" /></common:Structure></message:Structure><message:DataSetAction>Information</message:DataSetAction></message:Header><message:DataSet action="Information" structureRef="StatCan_Data_Structure_17100005_1_0"><generic:Series><generic:SeriesKey><generic:Value id="Geography" value="1" /><generic:Value id="Sex" value="3" /><generic:Value id="Age_group" value="1" /></generic:SeriesKey><generic:Attributes><generic:Value id="UOM" value="249" /><generic:Value id="DGUID" value="2016A000011124" /><generic:Value id="SCALAR_FACTOR" value="0" /><generic:Value id="VECTOR_ID" value="466670" /><generic:Value id="NB_DECIMAL" value="0" /></generic:Attributes><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2012" /><generic:ObsValue value="17504322" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2013" /><generic:ObsValue value="17681789" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2014" /><generic:ObsValue value="17855738" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2015" /><generic:ObsValue value="17990107" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2016" /><generic:ObsValue value="18192991" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2017" /><generic:ObsValue value="18408053" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2018" /><generic:ObsValue value="18655084" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2019" /><generic:ObsValue value="18911177" /></generic:Obs></generic:Series><generic:Series><generic:SeriesKey><generic:Value id="Geography" value="1" /><generic:Value id="Sex" value="2" /><generic:Value id="Age_group" value="1" /></generic:SeriesKey><generic:Attributes><generic:Value id="UOM" value="249" /><generic:Value id="DGUID" value="2016A000011124" /><generic:Value id="SCALAR_FACTOR" value="0" /><generic:Value id="VECTOR_ID" value="466669" /><generic:Value id="NB_DECIMAL" value="0" /></generic:Attributes><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2012" /><generic:ObsValue value="17209900" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2013" /><generic:ObsValue value="17401165" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2014" /><generic:ObsValue value="17581697" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2015" /><generic:ObsValue value="17712801" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2016" /><generic:ObsValue value="17916496" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2017" /><generic:ObsValue value="18135268" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2018" /><generic:ObsValue value="18402681" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2019" /><generic:ObsValue value="18678085" /></generic:Obs></generic:Series></message:DataSet></message:GenericData>
SDMX-ML 2.1 Données spécifiques à la structure
<?xml version="1.0" encoding="utf-8"?><!--NSI Web Service v7.8.0.0--><message:StructureSpecificData xmlns:ss="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/data/structurespecific" xmlns:footer="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/message/footer" xmlns:ns1="urn:sdmx:org.sdmx.infomodel.datastructure.DataStructure=StatCan:Data_Structure_17100005(1.0):ObsLevelDim:TIME_PERIOD" xmlns:message="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/message" xmlns:common="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xml="http://www.w3.org/XML/1998/namespace"><message:Header><message:ID>IREF36867abba54c43c29ec589d4027bf84d</message:ID><message:Test>true</message:Test><message:Prepared>2019-11-26T00:17:07</message:Prepared><message:Sender id="NOT_CONFIGURED" /><message:Structure structureID="StatCan_Data_Structure_17100005_1_0" namespace="urn:sdmx:org.sdmx.infomodel.datastructure.DataStructure=StatCan:Data_Structure_17100005(1.0):ObsLevelDim:TIME_PERIOD" dimensionAtObservation="TIME_PERIOD"><common:Structure><Ref agencyID="StatCan" id="Data_Structure_17100005" version="1.0" /></common:Structure></message:Structure><message:DataSetAction>Information</message:DataSetAction></message:Header><message:DataSet action="Information" ss:dataScope="DataStructure" xsi:type="ns1:DataSetType" ss:structureRef="StatCan_Data_Structure_17100005_1_0"><Series Geography="1" Sex="3" Age_group="1" UOM="249" DGUID="2016A000011124" SCALAR_FACTOR="0" VECTOR_ID="466670" NB_DECIMAL="0"><Obs TIME_PERIOD="2012" OBS_VALUE="17504322" /><Obs TIME_PERIOD="2013" OBS_VALUE="17681789" /><Obs TIME_PERIOD="2014" OBS_VALUE="17855738" /><Obs TIME_PERIOD="2015" OBS_VALUE="17990107" /><Obs TIME_PERIOD="2016" OBS_VALUE="18192991" /><Obs TIME_PERIOD="2017" OBS_VALUE="18408053" /><Obs TIME_PERIOD="2018" OBS_VALUE="18655084" /><Obs TIME_PERIOD="2019" OBS_VALUE="18911177" /></Series><Series Geography="1" Sex="2" Age_group="1" UOM="249" DGUID="2016A000011124" SCALAR_FACTOR="0" VECTOR_ID="466669" NB_DECIMAL="0"><Obs TIME_PERIOD="2012" OBS_VALUE="17209900" /><Obs TIME_PERIOD="2013" OBS_VALUE="17401165" /><Obs TIME_PERIOD="2014" OBS_VALUE="17581697" /><Obs TIME_PERIOD="2015" OBS_VALUE="17712801" /><Obs TIME_PERIOD="2016" OBS_VALUE="17916496" /><Obs TIME_PERIOD="2017" OBS_VALUE="18135268" /><Obs TIME_PERIOD="2018" OBS_VALUE="18402681" /><Obs TIME_PERIOD="2019" OBS_VALUE="18678085" /></Series></message:DataSet></message:StructureSpecificData>
SDMX-JSON
{"header":{"id":"IREF70e5ea2ecc1c47fba2695be637395233","prepared":"2019-11-26T00:17:10","test":true,"sender":{"id":"NOT_CONFIGURED","name":"unknown"}},"dataSets":[{"action":"Information","annotations":[],"series":{"0:0:0":{"attributes":[0,0,0,0,0,null],"annotations":[],"observations":{"0":[17504322],"1":[17681789],"2":[17855738],"3":[17990107],"4":[18192991],"5":[18408053],"6":[18655084],"7":[18911177]}},"0:1:0":{"attributes":[0,0,0,1,0,null],"annotations":[],"observations":{"0":[17209900],"1":[17401165],"2":[17581697],"3":[17712801],"4":[17916496],"5":[18135268],"6":[18402681],"7":[18678085]}}}}],"structure":{"name":"Population estimates on July 1st, by age and sex","description":"","dimensions":{"dataset":[],"series":[{"id":"Geography","name":"Geography","keyPosition":0,"role":"Geography","values":[{"id":"1","name":"Canada"}]},{"id":"Sex","name":"Sex","keyPosition":1,"role":"Sex","values":[{"id":"3","name":"Females"},{"id":"2","name":"Males"}]},{"id":"Age_group","name":"Age group","keyPosition":2,"role":"Age_group","values":[{"id":"1","name":"All ages"}]}],"observation":[{"id":"TIME_PERIOD","name":"Time","keyPosition":3,"role":"TIME_PERIOD","values":[{"start":"2012-01-01T00:00:00","end":"2012-12-31T23:59:59","id":"2012","name":"2012"},{"start":"2013-01-01T00:00:00","end":"2013-12-31T23:59:59","id":"2013","name":"2013"},{"start":"2014-01-01T00:00:00","end":"2014-12-31T23:59:59","id":"2014","name":"2014"},{"start":"2015-01-01T00:00:00","end":"2015-12-31T23:59:59","id":"2015","name":"2015"},{"start":"2016-01-01T00:00:00","end":"2016-12-31T23:59:59","id":"2016","name":"2016"},{"start":"2017-01-01T00:00:00","end":"2017-12-31T23:59:59","id":"2017","name":"2017"},{"start":"2018-01-01T00:00:00","end":"2018-12-31T23:59:59","id":"2018","name":"2018"},{"start":"2019-01-01T00:00:00","end":"2019-12-31T23:59:59","id":"2019","name":"2019"}]}]},"attributes":{"dataSet":[],"series":[{"id":"UOM","name":"Unit of measure","role":"UOM","values":[{"id":"249","name":"Persons"}]},{"id":"DGUID","name":"DGUID","role":"DGUID","values":[{"id":"2016A000011124","name":"2016A000011124"}]},{"id":"SCALAR_FACTOR","name":"Scalar Factor","role":"SCALAR_FACTOR","values":[{"id":"0","name":"units"}]},{"id":"VECTOR_ID","name":"Vector ID","role":"VECTOR_ID","values":[{"id":"466670","name":"466670"},{"id":"466669","name":"466669"}]},{"id":"NB_DECIMAL","name":"Number of decimal","role":"NB_DECIMAL","values":[{"id":"0","name":"0"}]},{"id":"TERMINATED","name":"Terminated","role":"TERMINATED","values":[]}],"observation":[{"id":"SYMBOL","name":"Symbol","role":"SYMBOL","values":[]},{"id":"STATUS_CAN","name":"Status","role":"STATUS_CAN","values":[]},{"id":"SECURITY_LEVEL","name":"Security Level","role":"SECURITY_LEVEL","values":[]}]},"annotations":[]}}
3. Récupérer les données pour les séries .1.138 (toutes les géographies / les deux sexes / 100 ans et plus) pour le flux de données 1710000005 et pour les années de référence 2015 et 2016. Le tableau 17100005 est présenté en détail à l'annexe 1.

https://www150.statcan.gc.ca/t1/wds/sdmx/statcan/v1/rest/data/DF_17100005/.1.138?startPeriod=2015&endPeriod=2016

Résultats

SDMX-ML 2.1 Données génériques
<?xml version="1.0" encoding="utf-8"?><!--NSI Web Service v7.8.0.0--><message:GenericData xmlns:footer="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/message/footer" xmlns:generic="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/data/generic" xmlns:message="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/message" xmlns:common="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xml="http://www.w3.org/XML/1998/namespace"><message:Header><message:ID>IREFe55da3e3a9cb49a8bf2e3a9846e3e9cb</message:ID><message:Test>true</message:Test><message:Prepared>2019-11-28T00:06:41</message:Prepared><message:Sender id="NOT_CONFIGURED" /><message:Structure structureID="StatCan_Data_Structure_17100005_1_0" dimensionAtObservation="TIME_PERIOD"><common:Structure><Ref agencyID="StatCan" id="Data_Structure_17100005" version="1.0" /></common:Structure></message:Structure><message:DataSetAction>Information</message:DataSetAction></message:Header><message:DataSet action="Information" structureRef="StatCan_Data_Structure_17100005_1_0"><generic:Series><generic:SeriesKey><generic:Value id="Geography" value="2" /><generic:Value id="Sex" value="1" /><generic:Value id="Age_group" value="138" /></generic:SeriesKey><generic:Attributes><generic:Value id="UOM" value="249" /><generic:Value id="DGUID" value="2016A000210" /><generic:Value id="SCALAR_FACTOR" value="0" /><generic:Value id="VECTOR_ID" value="31226575" /><generic:Value id="NB_DECIMAL" value="0" /></generic:Attributes><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2015" /><generic:ObsValue value="107" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2016" /><generic:ObsValue value="99" /></generic:Obs></generic:Series><generic:Series><generic:SeriesKey><generic:Value id="Geography" value="15" /><generic:Value id="Sex" value="1" /><generic:Value id="Age_group" value="138" /></generic:SeriesKey><generic:Attributes><generic:Value id="UOM" value="249" /><generic:Value id="DGUID" value="2016A000262" /><generic:Value id="SCALAR_FACTOR" value="0" /><generic:Value id="VECTOR_ID" value="31227082" /><generic:Value id="NB_DECIMAL" value="0" /></generic:Attributes><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2015" /><generic:ObsValue value="1" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2016" /><generic:ObsValue value="1" /></generic:Obs></generic:Series><generic:Series><generic:SeriesKey><generic:Value id="Geography" value="5" /><generic:Value id="Sex" value="1" /><generic:Value id="Age_group" value="138" /></generic:SeriesKey><generic:Attributes><generic:Value id="UOM" value="249" /><generic:Value id="DGUID" value="2016A000213" /><generic:Value id="SCALAR_FACTOR" value="0" /><generic:Value id="VECTOR_ID" value="31226692" /><generic:Value id="NB_DECIMAL" value="0" /></generic:Attributes><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2015" /><generic:ObsValue value="212" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2016" /><generic:ObsValue value="209" /></generic:Obs></generic:Series><generic:Series><generic:SeriesKey><generic:Value id="Geography" value="11" /><generic:Value id="Sex" value="1" /><generic:Value id="Age_group" value="138" /></generic:SeriesKey><generic:Attributes><generic:Value id="UOM" value="249" /><generic:Value id="DGUID" value="2016A000259" /><generic:Value id="SCALAR_FACTOR" value="0" /><generic:Value id="VECTOR_ID" value="31226926" /><generic:Value id="NB_DECIMAL" value="0" /></generic:Attributes><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2015" /><generic:ObsValue value="1342" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2016" /><generic:ObsValue value="1371" /></generic:Obs></generic:Series><generic:Series><generic:SeriesKey><generic:Value id="Geography" value="9" /><generic:Value id="Sex" value="1" /><generic:Value id="Age_group" value="138" /></generic:SeriesKey><generic:Attributes><generic:Value id="UOM" value="249" /><generic:Value id="DGUID" value="2016A000247" /><generic:Value id="SCALAR_FACTOR" value="0" /><generic:Value id="VECTOR_ID" value="31226848" /><generic:Value id="NB_DECIMAL" value="0" /></generic:Attributes><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2015" /><generic:ObsValue value="445" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2016" /><generic:ObsValue value="407" /></generic:Obs></generic:Series><generic:Series><generic:SeriesKey><generic:Value id="Geography" value="14" /><generic:Value id="Sex" value="1" /><generic:Value id="Age_group" value="138" /></generic:SeriesKey><generic:Attributes><generic:Value id="UOM" value="249" /><generic:Value id="DGUID" value="2016A000261" /><generic:Value id="SCALAR_FACTOR" value="0" /><generic:Value id="VECTOR_ID" value="31227043" /><generic:Value id="NB_DECIMAL" value="0" /></generic:Attributes><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2015" /><generic:ObsValue value="1" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2016" /><generic:ObsValue value="3" /></generic:Obs></generic:Series><generic:Series><generic:SeriesKey><generic:Value id="Geography" value="6" /><generic:Value id="Sex" value="1" /><generic:Value id="Age_group" value="138" /></generic:SeriesKey><generic:Attributes><generic:Value id="UOM" value="249" /><generic:Value id="DGUID" value="2016A000224" /><generic:Value id="SCALAR_FACTOR" value="0" /><generic:Value id="VECTOR_ID" value="31226731" /><generic:Value id="NB_DECIMAL" value="0" /></generic:Attributes><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2015" /><generic:ObsValue value="1719" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2016" /><generic:ObsValue value="2008" /></generic:Obs></generic:Series><generic:Series><generic:SeriesKey><generic:Value id="Geography" value="12" /><generic:Value id="Sex" value="1" /><generic:Value id="Age_group" value="138" /></generic:SeriesKey><generic:Attributes><generic:Value id="UOM" value="249" /><generic:Value id="DGUID" value="2016A000260" /><generic:Value id="SCALAR_FACTOR" value="0" /><generic:Value id="VECTOR_ID" value="31226965" /><generic:Value id="NB_DECIMAL" value="0" /></generic:Attributes><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2015" /><generic:ObsValue value="0" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2016" /><generic:ObsValue value="0" /></generic:Obs></generic:Series><generic:Series><generic:SeriesKey><generic:Value id="Geography" value="8" /><generic:Value id="Sex" value="1" /><generic:Value id="Age_group" value="138" /></generic:SeriesKey><generic:Attributes><generic:Value id="UOM" value="249" /><generic:Value id="DGUID" value="2016A000246" /><generic:Value id="SCALAR_FACTOR" value="0" /><generic:Value id="VECTOR_ID" value="31226809" /><generic:Value id="NB_DECIMAL" value="0" /></generic:Attributes><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2015" /><generic:ObsValue value="375" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2016" /><generic:ObsValue value="446" /></generic:Obs></generic:Series><generic:Series><generic:SeriesKey><generic:Value id="Geography" value="7" /><generic:Value id="Sex" value="1" /><generic:Value id="Age_group" value="138" /></generic:SeriesKey><generic:Attributes><generic:Value id="UOM" value="249" /><generic:Value id="DGUID" value="2016A000235" /><generic:Value id="SCALAR_FACTOR" value="0" /><generic:Value id="VECTOR_ID" value="31226770" /><generic:Value id="NB_DECIMAL" value="0" /></generic:Attributes><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2015" /><generic:ObsValue value="2790" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2016" /><generic:ObsValue value="3067" /></generic:Obs></generic:Series><generic:Series><generic:SeriesKey><generic:Value id="Geography" value="4" /><generic:Value id="Sex" value="1" /><generic:Value id="Age_group" value="138" /></generic:SeriesKey><generic:Attributes><generic:Value id="UOM" value="249" /><generic:Value id="DGUID" value="2016A000212" /><generic:Value id="SCALAR_FACTOR" value="0" /><generic:Value id="VECTOR_ID" value="31226653" /><generic:Value id="NB_DECIMAL" value="0" /></generic:Attributes><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2015" /><generic:ObsValue value="263" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2016" /><generic:ObsValue value="279" /></generic:Obs></generic:Series><generic:Series><generic:SeriesKey><generic:Value id="Geography" value="1" /><generic:Value id="Sex" value="1" /><generic:Value id="Age_group" value="138" /></generic:SeriesKey><generic:Attributes><generic:Value id="UOM" value="249" /><generic:Value id="DGUID" value="2016A000011124" /><generic:Value id="SCALAR_FACTOR" value="0" /><generic:Value id="VECTOR_ID" value="31226536" /><generic:Value id="NB_DECIMAL" value="0" /></generic:Attributes><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2015" /><generic:ObsValue value="7911" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2016" /><generic:ObsValue value="8643" /></generic:Obs></generic:Series><generic:Series><generic:SeriesKey><generic:Value id="Geography" value="3" /><generic:Value id="Sex" value="1" /><generic:Value id="Age_group" value="138" /></generic:SeriesKey><generic:Attributes><generic:Value id="UOM" value="249" /><generic:Value id="DGUID" value="2016A000211" /><generic:Value id="SCALAR_FACTOR" value="0" /><generic:Value id="VECTOR_ID" value="31226614" /><generic:Value id="NB_DECIMAL" value="0" /></generic:Attributes><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2015" /><generic:ObsValue value="37" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2016" /><generic:ObsValue value="36" /></generic:Obs></generic:Series><generic:Series><generic:SeriesKey><generic:Value id="Geography" value="10" /><generic:Value id="Sex" value="1" /><generic:Value id="Age_group" value="138" /></generic:SeriesKey><generic:Attributes><generic:Value id="UOM" value="249" /><generic:Value id="DGUID" value="2016A000248" /><generic:Value id="SCALAR_FACTOR" value="0" /><generic:Value id="VECTOR_ID" value="31226887" /><generic:Value id="NB_DECIMAL" value="0" /></generic:Attributes><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2015" /><generic:ObsValue value="619" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2016" /><generic:ObsValue value="717" /></generic:Obs></generic:Series></message:DataSet></message:GenericData>
SDMX-ML 2.1 Données spécifiques à la structure
<?xml version="1.0" encoding="utf-8"?><!--NSI Web Service v7.8.0.0--><message:StructureSpecificData xmlns:ss="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/data/structurespecific" xmlns:footer="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/message/footer" xmlns:ns1="urn:sdmx:org.sdmx.infomodel.datastructure.DataStructure=StatCan:Data_Structure_17100005(1.0):ObsLevelDim:TIME_PERIOD" xmlns:message="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/message" xmlns:common="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xml="http://www.w3.org/XML/1998/namespace"><message:Header><message:ID>IREF4aa123a91bd145399d7f81a9cc45d5b1</message:ID><message:Test>true</message:Test><message:Prepared>2019-11-28T00:06:41</message:Prepared><message:Sender id="NOT_CONFIGURED" /><message:Structure structureID="StatCan_Data_Structure_17100005_1_0" namespace="urn:sdmx:org.sdmx.infomodel.datastructure.DataStructure=StatCan:Data_Structure_17100005(1.0):ObsLevelDim:TIME_PERIOD" dimensionAtObservation="TIME_PERIOD"><common:Structure><Ref agencyID="StatCan" id="Data_Structure_17100005" version="1.0" /></common:Structure></message:Structure><message:DataSetAction>Information</message:DataSetAction></message:Header><message:DataSet action="Information" ss:dataScope="DataStructure" xsi:type="ns1:DataSetType" ss:structureRef="StatCan_Data_Structure_17100005_1_0"><Series Geography="2" Sex="1" Age_group="138" UOM="249" DGUID="2016A000210" SCALAR_FACTOR="0" VECTOR_ID="31226575" NB_DECIMAL="0"><Obs TIME_PERIOD="2015" OBS_VALUE="107" /><Obs TIME_PERIOD="2016" OBS_VALUE="99" /></Series><Series Geography="15" Sex="1" Age_group="138" UOM="249" DGUID="2016A000262" SCALAR_FACTOR="0" VECTOR_ID="31227082" NB_DECIMAL="0"><Obs TIME_PERIOD="2015" OBS_VALUE="1" /><Obs TIME_PERIOD="2016" OBS_VALUE="1" /></Series><Series Geography="5" Sex="1" Age_group="138" UOM="249" DGUID="2016A000213" SCALAR_FACTOR="0" VECTOR_ID="31226692" NB_DECIMAL="0"><Obs TIME_PERIOD="2015" OBS_VALUE="212" /><Obs TIME_PERIOD="2016" OBS_VALUE="209" /></Series><Series Geography="11" Sex="1" Age_group="138" UOM="249" DGUID="2016A000259" SCALAR_FACTOR="0" VECTOR_ID="31226926" NB_DECIMAL="0"><Obs TIME_PERIOD="2015" OBS_VALUE="1342" /><Obs TIME_PERIOD="2016" OBS_VALUE="1371" /></Series><Series Geography="9" Sex="1" Age_group="138" UOM="249" DGUID="2016A000247" SCALAR_FACTOR="0" VECTOR_ID="31226848" NB_DECIMAL="0"><Obs TIME_PERIOD="2015" OBS_VALUE="445" /><Obs TIME_PERIOD="2016" OBS_VALUE="407" /></Series><Series Geography="14" Sex="1" Age_group="138" UOM="249" DGUID="2016A000261" SCALAR_FACTOR="0" VECTOR_ID="31227043" NB_DECIMAL="0"><Obs TIME_PERIOD="2015" OBS_VALUE="1" /><Obs TIME_PERIOD="2016" OBS_VALUE="3" /></Series><Series Geography="6" Sex="1" Age_group="138" UOM="249" DGUID="2016A000224" SCALAR_FACTOR="0" VECTOR_ID="31226731" NB_DECIMAL="0"><Obs TIME_PERIOD="2015" OBS_VALUE="1719" /><Obs TIME_PERIOD="2016" OBS_VALUE="2008" /></Series><Series Geography="12" Sex="1" Age_group="138" UOM="249" DGUID="2016A000260" SCALAR_FACTOR="0" VECTOR_ID="31226965" NB_DECIMAL="0"><Obs TIME_PERIOD="2015" OBS_VALUE="0" /><Obs TIME_PERIOD="2016" OBS_VALUE="0" /></Series><Series Geography="8" Sex="1" Age_group="138" UOM="249" DGUID="2016A000246" SCALAR_FACTOR="0" VECTOR_ID="31226809" NB_DECIMAL="0"><Obs TIME_PERIOD="2015" OBS_VALUE="375" /><Obs TIME_PERIOD="2016" OBS_VALUE="446" /></Series><Series Geography="7" Sex="1" Age_group="138" UOM="249" DGUID="2016A000235" SCALAR_FACTOR="0" VECTOR_ID="31226770" NB_DECIMAL="0"><Obs TIME_PERIOD="2015" OBS_VALUE="2790" /><Obs TIME_PERIOD="2016" OBS_VALUE="3067" /></Series><Series Geography="4" Sex="1" Age_group="138" UOM="249" DGUID="2016A000212" SCALAR_FACTOR="0" VECTOR_ID="31226653" NB_DECIMAL="0"><Obs TIME_PERIOD="2015" OBS_VALUE="263" /><Obs TIME_PERIOD="2016" OBS_VALUE="279" /></Series><Series Geography="1" Sex="1" Age_group="138" UOM="249" DGUID="2016A000011124" SCALAR_FACTOR="0" VECTOR_ID="31226536" NB_DECIMAL="0"><Obs TIME_PERIOD="2015" OBS_VALUE="7911" /><Obs TIME_PERIOD="2016" OBS_VALUE="8643" /></Series><Series Geography="3" Sex="1" Age_group="138" UOM="249" DGUID="2016A000211" SCALAR_FACTOR="0" VECTOR_ID="31226614" NB_DECIMAL="0"><Obs TIME_PERIOD="2015" OBS_VALUE="37" /><Obs TIME_PERIOD="2016" OBS_VALUE="36" /></Series><Series Geography="10" Sex="1" Age_group="138" UOM="249" DGUID="2016A000248" SCALAR_FACTOR="0" VECTOR_ID="31226887" NB_DECIMAL="0"><Obs TIME_PERIOD="2015" OBS_VALUE="619" /><Obs TIME_PERIOD="2016" OBS_VALUE="717" /></Series></message:DataSet></message:StructureSpecificData>
SDMX-JSON
{"header":{"id":"IREFe54d9d171ea440efac8ea032cbbe156c","prepared":"2019-11-28T00:06:42","test":true,"sender":{"id":"NOT_CONFIGURED","name":"unknown"}},"dataSets":[{"action":"Information","annotations":[],"series":{"0:0:0":{"attributes":[0,0,0,0,0,null],"annotations":[],"observations":{"0":[107],"1":[99]}},"1:0:0":{"attributes":[0,1,0,1,0,null],"annotations":[],"observations":{"0":[1],"1":[1]}},"2:0:0":{"attributes":[0,2,0,2,0,null],"annotations":[],"observations":{"0":[212],"1":[209]}},"3:0:0":{"attributes":[0,3,0,3,0,null],"annotations":[],"observations":{"0":[1342],"1":[1371]}},"4:0:0":{"attributes":[0,4,0,4,0,null],"annotations":[],"observations":{"0":[445],"1":[407]}},"5:0:0":{"attributes":[0,5,0,5,0,null],"annotations":[],"observations":{"0":[1],"1":[3]}},"6:0:0":{"attributes":[0,6,0,6,0,null],"annotations":[],"observations":{"0":[1719],"1":[2008]}},"7:0:0":{"attributes":[0,7,0,7,0,null],"annotations":[],"observations":{"0":[0],"1":[0]}},"8:0:0":{"attributes":[0,8,0,8,0,null],"annotations":[],"observations":{"0":[375],"1":[446]}},"9:0:0":{"attributes":[0,9,0,9,0,null],"annotations":[],"observations":{"0":[2790],"1":[3067]}},"10:0:0":{"attributes":[0,10,0,10,0,null],"annotations":[],"observations":{"0":[263],"1":[279]}},"11:0:0":{"attributes":[0,11,0,11,0,null],"annotations":[],"observations":{"0":[7911],"1":[8643]}},"12:0:0":{"attributes":[0,12,0,12,0,null],"annotations":[],"observations":{"0":[37],"1":[36]}},"13:0:0":{"attributes":[0,13,0,13,0,null],"annotations":[],"observations":{"0":[619],"1":[717]}}}}],"structure":{"name":"Population estimates on July 1st, by age and sex","description":"","dimensions":{"dataset":[],"series":[{"id":"Geography","name":"Geography","keyPosition":0,"role":"Geography","values":[{"id":"2","name":"Newfoundland and Labrador"},{"id":"15","name":"Nunavut"},{"id":"5","name":"New Brunswick"},{"id":"11","name":"British Columbia"},{"id":"9","name":"Saskatchewan"},{"id":"14","name":"Northwest Territories"},{"id":"6","name":"Quebec"},{"id":"12","name":"Yukon"},{"id":"8","name":"Manitoba"},{"id":"7","name":"Ontario"},{"id":"4","name":"Nova Scotia"},{"id":"1","name":"Canada"},{"id":"3","name":"Prince Edward Island"},{"id":"10","name":"Alberta"}]},{"id":"Sex","name":"Sex","keyPosition":1,"role":"Sex","values":[{"id":"1","name":"Both sexes"}]},{"id":"Age_group","name":"Age group","keyPosition":2,"role":"Age_group","values":[{"id":"138","name":"100 years and over"}]}],"observation":[{"id":"TIME_PERIOD","name":"Time","keyPosition":3,"role":"TIME_PERIOD","values":[{"start":"2015-01-01T00:00:00","end":"2015-12-31T23:59:59","id":"2015","name":"2015"},{"start":"2016-01-01T00:00:00","end":"2016-12-31T23:59:59","id":"2016","name":"2016"}]}]},"attributes":{"dataSet":[],"series":[{"id":"UOM","name":"Unit of measure","role":"UOM","values":[{"id":"249","name":"Persons"}]},{"id":"DGUID","name":"DGUID","role":"DGUID","values":[{"id":"2016A000210","name":"2016A000210"},{"id":"2016A000262","name":"2016A000262"},{"id":"2016A000213","name":"2016A000213"},{"id":"2016A000259","name":"2016A000259"},{"id":"2016A000247","name":"2016A000247"},{"id":"2016A000261","name":"2016A000261"},{"id":"2016A000224","name":"2016A000224"},{"id":"2016A000260","name":"2016A000260"},{"id":"2016A000246","name":"2016A000246"},{"id":"2016A000235","name":"2016A000235"},{"id":"2016A000212","name":"2016A000212"},{"id":"2016A000011124","name":"2016A000011124"},{"id":"2016A000211","name":"2016A000211"},{"id":"2016A000248","name":"2016A000248"}]},{"id":"SCALAR_FACTOR","name":"Scalar Factor","role":"SCALAR_FACTOR","values":[{"id":"0","name":"units"}]},{"id":"VECTOR_ID","name":"Vector ID","role":"VECTOR_ID","values":[{"id":"31226575","name":"31226575"},{"id":"31227082","name":"31227082"},{"id":"31226692","name":"31226692"},{"id":"31226926","name":"31226926"},{"id":"31226848","name":"31226848"},{"id":"31227043","name":"31227043"},{"id":"31226731","name":"31226731"},{"id":"31226965","name":"31226965"},{"id":"31226809","name":"31226809"},{"id":"31226770","name":"31226770"},{"id":"31226653","name":"31226653"},{"id":"31226536","name":"31226536"},{"id":"31226614","name":"31226614"},{"id":"31226887","name":"31226887"}]},{"id":"NB_DECIMAL","name":"Number of decimal","role":"NB_DECIMAL","values":[{"id":"0","name":"0"}]},{"id":"TERMINATED","name":"Terminated","role":"TERMINATED","values":[]}],"observation":[{"id":"SYMBOL","name":"Symbol","role":"SYMBOL","values":[]},{"id":"STATUS_CAN","name":"Status","role":"STATUS_CAN","values":[]},{"id":"SECURITY_LEVEL","name":"Security Level","role":"SECURITY_LEVEL","values":[]}]},"annotations":[]}}

Service Web de données SDMX (vecteur)

Toutes les données stockées dans l'ECDS peuvent être extraites à l'aide de la chaîne de requête décrite ci-dessous.

protocol://wsEntryPoint/resource/vector?parameters

dans laquelle parameters est défini comme suit :

startPeriod=value&endPeriod=value&updatedAfter=value&firstNObservations=value&lastNObservations=value&detail=value&includeHistory=value

Définition de la syntaxe

protocol
Le service Web est offert sur http et https.
wsEntryPoint
Le point d'entrée du service Web est accessible au même emplacement que le point d'entrée des données et métadonnées SDMX.
resource
La ressource pour les requêtes par vecteur est vector.
vector
Le vector permet de définir une série chronologique statistique. Le vecteur est un identificateur unique pour une série chronologique de points de données (c.-à-d. v123456). Il ne change pas au fil du temps. Puisque le numéro de vecteur ne change pas, les utilisateurs peuvent continuer à utiliser les mêmes vecteurs comme raccourcis vers leurs points de données d'intérêt.
startPeriod et endPeriod

Il est possible de définir une période pour laquelle des observations doivent être retournées en utilisant les paramètres startPeriod et endPeriod. Les valeurs doivent être fournies en respectant la syntaxe définie dans la norme ISO 8601 ou comme des périodes de déclaration SDMX. Le format variera selon la fréquence.

Voici les formats pris en charge :

  • AAAA pour les données annuelles (p. ex. 2013);
  • AAAA-MM pour des données mensuelles (p. ex. 2013-01);
  • AAAA-MM-JJ pour des données quotidiennes (p. ex. 2013-01-01).
Detail

En utilisant le paramètre detail, vous pouvez préciser la quantité souhaitée de renseignements à retourner par le service Web.

Voici les options possibles :

  • full : Les données (série et observations) et les attributs doivent être retournés. Il s'agit de la valeur par défaut.
firstNObservations et lastNObservations
En utilisant les paramètres firstNObservations et lastNObservations, vous pouvez préciser le nombre maximal d'observations à retourner pour chacune des séries correspondantes, en commençant par la première observation (firstNObservations) ou à partir de l'observation la plus récente (lastNObservations).

Service Web de données SDMX (vecteur) - Exemples

4. Récupérer les données des séries 466670 (Canada / Hommes / Tous âges). Le tableau 17100005 est présenté en détail à l'annexe 1.

https://www150.statcan.gc.ca/t1/wds/sdmx/statcan/v1/rest/vector/v466670

Résultats

SDMX-ML 2.1 Données génériques
<?xml version="1.0" encoding="utf-8"?><!--NSI Web Service v7.8.0.0--><message:GenericData xmlns:footer="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/message/footer" xmlns:generic="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/data/generic" xmlns:message="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/message" xmlns:common="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xml="http://www.w3.org/XML/1998/namespace"><message:Header><message:ID>IREFf7ccf4e1550b46f9b91a43343e5debd3</message:ID><message:Test>true</message:Test><message:Prepared>2019-11-26T00:17:08</message:Prepared><message:Sender id="NOT_CONFIGURED" /><message:Structure structureID="StatCan_Data_Structure_17100005_1_0" dimensionAtObservation="TIME_PERIOD"><common:Structure><Ref agencyID="StatCan" id="Data_Structure_17100005" version="1.0" /></common:Structure></message:Structure><message:DataSetAction>Information</message:DataSetAction></message:Header><message:DataSet action="Information" structureRef="StatCan_Data_Structure_17100005_1_0"><generic:Series><generic:SeriesKey><generic:Value id="Geography" value="1" /><generic:Value id="Sex" value="3" /><generic:Value id="Age_group" value="1" /></generic:SeriesKey><generic:Attributes><generic:Value id="UOM" value="249" /><generic:Value id="DGUID" value="2016A000011124" /><generic:Value id="SCALAR_FACTOR" value="0" /><generic:Value id="VECTOR_ID" value="466670" /><generic:Value id="NB_DECIMAL" value="0" /></generic:Attributes><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2012" /><generic:ObsValue value="17504322" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2013" /><generic:ObsValue value="17681789" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2014" /><generic:ObsValue value="17855738" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2015" /><generic:ObsValue value="17990107" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2016" /><generic:ObsValue value="18192991" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2017" /><generic:ObsValue value="18408053" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2018" /><generic:ObsValue value="18655084" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2019" /><generic:ObsValue value="18911177" /></generic:Obs></generic:Series><generic:Series><generic:SeriesKey><generic:Value id="Geography" value="1" /><generic:Value id="Sex" value="2" /><generic:Value id="Age_group" value="1" /></generic:SeriesKey><generic:Attributes><generic:Value id="UOM" value="249" /><generic:Value id="DGUID" value="2016A000011124" /><generic:Value id="SCALAR_FACTOR" value="0" /><generic:Value id="VECTOR_ID" value="466669" /><generic:Value id="NB_DECIMAL" value="0" /></generic:Attributes><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2012" /><generic:ObsValue value="17209900" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2013" /><generic:ObsValue value="17401165" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2014" /><generic:ObsValue value="17581697" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2015" /><generic:ObsValue value="17712801" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2016" /><generic:ObsValue value="17916496" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2017" /><generic:ObsValue value="18135268" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2018" /><generic:ObsValue value="18402681" /></generic:Obs><generic:Obs><generic:ObsDimension id="TIME_PERIOD" value="2019" /><generic:ObsValue value="18678085" /></generic:Obs></generic:Series></message:DataSet></message:GenericData>
SDMX-ML 2.1 Données spécifiques à la structure
<?xml version="1.0" encoding="utf-8"?><!--NSI Web Service v7.8.0.0--><message:StructureSpecificData xmlns:ss="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/data/structurespecific" xmlns:footer="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/message/footer" xmlns:ns1="urn:sdmx:org.sdmx.infomodel.datastructure.DataStructure=StatCan:Data_Structure_17100005(1.0):ObsLevelDim:TIME_PERIOD" xmlns:message="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/message" xmlns:common="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xml="http://www.w3.org/XML/1998/namespace"><message:Header><message:ID>IREF36867abba54c43c29ec589d4027bf84d</message:ID><message:Test>true</message:Test><message:Prepared>2019-11-26T00:17:07</message:Prepared><message:Sender id="NOT_CONFIGURED" /><message:Structure structureID="StatCan_Data_Structure_17100005_1_0" namespace="urn:sdmx:org.sdmx.infomodel.datastructure.DataStructure=StatCan:Data_Structure_17100005(1.0):ObsLevelDim:TIME_PERIOD" dimensionAtObservation="TIME_PERIOD"><common:Structure><Ref agencyID="StatCan" id="Data_Structure_17100005" version="1.0" /></common:Structure></message:Structure><message:DataSetAction>Information</message:DataSetAction></message:Header><message:DataSet action="Information" ss:dataScope="DataStructure" xsi:type="ns1:DataSetType" ss:structureRef="StatCan_Data_Structure_17100005_1_0"><Series Geography="1" Sex="3" Age_group="1" UOM="249" DGUID="2016A000011124" SCALAR_FACTOR="0" VECTOR_ID="466670" NB_DECIMAL="0"><Obs TIME_PERIOD="2012" OBS_VALUE="17504322" /><Obs TIME_PERIOD="2013" OBS_VALUE="17681789" /><Obs TIME_PERIOD="2014" OBS_VALUE="17855738" /><Obs TIME_PERIOD="2015" OBS_VALUE="17990107" /><Obs TIME_PERIOD="2016" OBS_VALUE="18192991" /><Obs TIME_PERIOD="2017" OBS_VALUE="18408053" /><Obs TIME_PERIOD="2018" OBS_VALUE="18655084" /><Obs TIME_PERIOD="2019" OBS_VALUE="18911177" /></Series><Series Geography="1" Sex="2" Age_group="1" UOM="249" DGUID="2016A000011124" SCALAR_FACTOR="0" VECTOR_ID="466669" NB_DECIMAL="0"><Obs TIME_PERIOD="2012" OBS_VALUE="17209900" /><Obs TIME_PERIOD="2013" OBS_VALUE="17401165" /><Obs TIME_PERIOD="2014" OBS_VALUE="17581697" /><Obs TIME_PERIOD="2015" OBS_VALUE="17712801" /><Obs TIME_PERIOD="2016" OBS_VALUE="17916496" /><Obs TIME_PERIOD="2017" OBS_VALUE="18135268" /><Obs TIME_PERIOD="2018" OBS_VALUE="18402681" /><Obs TIME_PERIOD="2019" OBS_VALUE="18678085" /></Series></message:DataSet></message:StructureSpecificData>
SDMX-JSON
{"header":{"id":"IREF70e5ea2ecc1c47fba2695be637395233","prepared":"2019-11-26T00:17:10","test":true,"sender":{"id":"NOT_CONFIGURED","name":"unknown"}},"dataSets":[{"action":"Information","annotations":[],"series":{"0:0:0":{"attributes":[0,0,0,0,0,null],"annotations":[],"observations":{"0":[17504322],"1":[17681789],"2":[17855738],"3":[17990107],"4":[18192991],"5":[18408053],"6":[18655084],"7":[18911177]}},"0:1:0":{"attributes":[0,0,0,1,0,null],"annotations":[],"observations":{"0":[17209900],"1":[17401165],"2":[17581697],"3":[17712801],"4":[17916496],"5":[18135268],"6":[18402681],"7":[18678085]}}}}],"structure":{"name":"Population estimates on July 1st, by age and sex","description":"","dimensions":{"dataset":[],"series":[{"id":"Geography","name":"Geography","keyPosition":0,"role":"Geography","values":[{"id":"1","name":"Canada"}]},{"id":"Sex","name":"Sex","keyPosition":1,"role":"Sex","values":[{"id":"3","name":"Females"},{"id":"2","name":"Males"}]},{"id":"Age_group","name":"Age group","keyPosition":2,"role":"Age_group","values":[{"id":"1","name":"All ages"}]}],"observation":[{"id":"TIME_PERIOD","name":"Time","keyPosition":3,"role":"TIME_PERIOD","values":[{"start":"2012-01-01T00:00:00","end":"2012-12-31T23:59:59","id":"2012","name":"2012"},{"start":"2013-01-01T00:00:00","end":"2013-12-31T23:59:59","id":"2013","name":"2013"},{"start":"2014-01-01T00:00:00","end":"2014-12-31T23:59:59","id":"2014","name":"2014"},{"start":"2015-01-01T00:00:00","end":"2015-12-31T23:59:59","id":"2015","name":"2015"},{"start":"2016-01-01T00:00:00","end":"2016-12-31T23:59:59","id":"2016","name":"2016"},{"start":"2017-01-01T00:00:00","end":"2017-12-31T23:59:59","id":"2017","name":"2017"},{"start":"2018-01-01T00:00:00","end":"2018-12-31T23:59:59","id":"2018","name":"2018"},{"start":"2019-01-01T00:00:00","end":"2019-12-31T23:59:59","id":"2019","name":"2019"}]}]},"attributes":{"dataSet":[],"series":[{"id":"UOM","name":"Unit of measure","role":"UOM","values":[{"id":"249","name":"Persons"}]},{"id":"DGUID","name":"DGUID","role":"DGUID","values":[{"id":"2016A000011124","name":"2016A000011124"}]},{"id":"SCALAR_FACTOR","name":"Scalar Factor","role":"SCALAR_FACTOR","values":[{"id":"0","name":"units"}]},{"id":"VECTOR_ID","name":"Vector ID","role":"VECTOR_ID","values":[{"id":"466670","name":"466670"},{"id":"466669","name":"466669"}]},{"id":"NB_DECIMAL","name":"Number of decimal","role":"NB_DECIMAL","values":[{"id":"0","name":"0"}]},{"id":"TERMINATED","name":"Terminated","role":"TERMINATED","values":[]}],"observation":[{"id":"SYMBOL","name":"Symbol","role":"SYMBOL","values":[]},{"id":"STATUS_CAN","name":"Status","role":"STATUS_CAN","values":[]},{"id":"SECURITY_LEVEL","name":"Security Level","role":"SECURITY_LEVEL","values":[]}]},"annotations":[]}}

Service Web de métadonnées SDMX (structure)

5. Récupérer la dernière version en production du DSD avec la structure de données id 17100005. Le tableau 17100005 est présenté en détail à l'annexe 1.

https://www150.statcan.gc.ca/t1/wds/sdmx/statcan/v1/rest/structure/Data_Structure_17100005

Résultats

SDMX-ML Format de la structure
<?xml version="1.0" encoding="utf-8"?>
<!--NSI Web Service v7.8.0.0-->
<message:Structure xmlns:message="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/message" xmlns:structure="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/structure" xmlns:common="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common">
  <message:Header>
    <message:ID>IDREF2</message:ID>
    <message:Test>false</message:Test>
    <message:Prepared>2019-11-28T00:14:57.0026038+00:00</message:Prepared>
    <message:Sender id="Unknown" />
    <message:Receiver id="Unknown" />
  </message:Header>
  <message:Structures>
    <structure:Codelists>
      <structure:Codelist id="CL_17100005_Age_group" urn="urn:sdmx:org.sdmx.infomodel.codelist.Codelist=StatCan:CL_17100005_Age_group(1.0)" agencyID="StatCan" version="1.0" isFinal="false">
        <common:Name xml:lang="en">Age group</common:Name>
        <structure:Code id="1" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).1">
          <common:Name xml:lang="en">All ages</common:Name>
          <common:Name xml:lang="fr">Tous âges</common:Name>
        </structure:Code>
        <structure:Code id="7" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).7">
          <common:Name xml:lang="en">0 to 4 years</common:Name>
          <common:Name xml:lang="fr">0 à 4 ans</common:Name>
          <structure:Parent>
            <Ref id="1" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="2" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).2">
          <common:Name xml:lang="en">0 years</common:Name>
          <common:Name xml:lang="fr">0 an</common:Name>
          <structure:Parent>
            <Ref id="7" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="3" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).3">
          <common:Name xml:lang="en">1 year</common:Name>
          <common:Name xml:lang="fr">1 an</common:Name>
          <structure:Parent>
            <Ref id="7" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="4" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).4">
          <common:Name xml:lang="en">2 years</common:Name>
          <common:Name xml:lang="fr">2 ans</common:Name>
          <structure:Parent>
            <Ref id="7" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="5" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).5">
          <common:Name xml:lang="en">3 years</common:Name>
          <common:Name xml:lang="fr">3 ans</common:Name>
          <structure:Parent>
            <Ref id="7" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="6" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).6">
          <common:Name xml:lang="en">4 years</common:Name>
          <common:Name xml:lang="fr">4 ans</common:Name>
          <structure:Parent>
            <Ref id="7" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="13" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).13">
          <common:Name xml:lang="en">5 to 9 years</common:Name>
          <common:Name xml:lang="fr">5 à 9 ans</common:Name>
          <structure:Parent>
            <Ref id="1" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="8" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).8">
          <common:Name xml:lang="en">5 years</common:Name>
          <common:Name xml:lang="fr">5 ans</common:Name>
          <structure:Parent>
            <Ref id="13" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="9" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).9">
          <common:Name xml:lang="en">6 years</common:Name>
          <common:Name xml:lang="fr">6 ans</common:Name>
          <structure:Parent>
            <Ref id="13" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="10" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).10">
          <common:Name xml:lang="en">7 years</common:Name>
          <common:Name xml:lang="fr">7 ans</common:Name>
          <structure:Parent>
            <Ref id="13" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="11" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).11">
          <common:Name xml:lang="en">8 years</common:Name>
          <common:Name xml:lang="fr">8 ans</common:Name>
          <structure:Parent>
            <Ref id="13" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="12" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).12">
          <common:Name xml:lang="en">9 years</common:Name>
          <common:Name xml:lang="fr">9 ans</common:Name>
          <structure:Parent>
            <Ref id="13" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="19" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).19">
          <common:Name xml:lang="en">10 to 14 years</common:Name>
          <common:Name xml:lang="fr">10 à 14 ans</common:Name>
          <structure:Parent>
            <Ref id="1" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="14" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).14">
          <common:Name xml:lang="en">10 years</common:Name>
          <common:Name xml:lang="fr">10 ans</common:Name>
          <structure:Parent>
            <Ref id="19" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="15" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).15">
          <common:Name xml:lang="en">11 years</common:Name>
          <common:Name xml:lang="fr">11 ans</common:Name>
          <structure:Parent>
            <Ref id="19" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="16" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).16">
          <common:Name xml:lang="en">12 years</common:Name>
          <common:Name xml:lang="fr">12 ans</common:Name>
          <structure:Parent>
            <Ref id="19" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="17" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).17">
          <common:Name xml:lang="en">13 years</common:Name>
          <common:Name xml:lang="fr">13 ans</common:Name>
          <structure:Parent>
            <Ref id="19" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="18" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).18">
          <common:Name xml:lang="en">14 years</common:Name>
          <common:Name xml:lang="fr">14 ans</common:Name>
          <structure:Parent>
            <Ref id="19" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="25" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).25">
          <common:Name xml:lang="en">15 to 19 years</common:Name>
          <common:Name xml:lang="fr">15 à 19 ans</common:Name>
          <structure:Parent>
            <Ref id="1" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="20" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).20">
          <common:Name xml:lang="en">15 years</common:Name>
          <common:Name xml:lang="fr">15 ans</common:Name>
          <structure:Parent>
            <Ref id="25" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="21" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).21">
          <common:Name xml:lang="en">16 years</common:Name>
          <common:Name xml:lang="fr">16 ans</common:Name>
          <structure:Parent>
            <Ref id="25" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="22" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).22">
          <common:Name xml:lang="en">17 years</common:Name>
          <common:Name xml:lang="fr">17 ans</common:Name>
          <structure:Parent>
            <Ref id="25" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="23" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).23">
          <common:Name xml:lang="en">18 years</common:Name>
          <common:Name xml:lang="fr">18 ans</common:Name>
          <structure:Parent>
            <Ref id="25" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="24" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).24">
          <common:Name xml:lang="en">19 years</common:Name>
          <common:Name xml:lang="fr">19 ans</common:Name>
          <structure:Parent>
            <Ref id="25" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="31" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).31">
          <common:Name xml:lang="en">20 to 24 years</common:Name>
          <common:Name xml:lang="fr">20 à 24 ans</common:Name>
          <structure:Parent>
            <Ref id="1" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="26" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).26">
          <common:Name xml:lang="en">20 years</common:Name>
          <common:Name xml:lang="fr">20 ans</common:Name>
          <structure:Parent>
            <Ref id="31" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="27" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).27">
          <common:Name xml:lang="en">21 years</common:Name>
          <common:Name xml:lang="fr">21 ans</common:Name>
          <structure:Parent>
            <Ref id="31" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="28" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).28">
          <common:Name xml:lang="en">22 years</common:Name>
          <common:Name xml:lang="fr">22 ans</common:Name>
          <structure:Parent>
            <Ref id="31" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="29" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).29">
          <common:Name xml:lang="en">23 years</common:Name>
          <common:Name xml:lang="fr">23 ans</common:Name>
          <structure:Parent>
            <Ref id="31" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="30" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).30">
          <common:Name xml:lang="en">24 years</common:Name>
          <common:Name xml:lang="fr">24 ans</common:Name>
          <structure:Parent>
            <Ref id="31" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="37" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).37">
          <common:Name xml:lang="en">25 to 29 years</common:Name>
          <common:Name xml:lang="fr">25 à 29 ans</common:Name>
          <structure:Parent>
            <Ref id="1" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="32" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).32">
          <common:Name xml:lang="en">25 years</common:Name>
          <common:Name xml:lang="fr">25 ans</common:Name>
          <structure:Parent>
            <Ref id="37" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="33" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).33">
          <common:Name xml:lang="en">26 years</common:Name>
          <common:Name xml:lang="fr">26 ans</common:Name>
          <structure:Parent>
            <Ref id="37" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="34" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).34">
          <common:Name xml:lang="en">27 years</common:Name>
          <common:Name xml:lang="fr">27 ans</common:Name>
          <structure:Parent>
            <Ref id="37" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="35" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).35">
          <common:Name xml:lang="en">28 years</common:Name>
          <common:Name xml:lang="fr">28 ans</common:Name>
          <structure:Parent>
            <Ref id="37" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="36" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).36">
          <common:Name xml:lang="en">29 years</common:Name>
          <common:Name xml:lang="fr">29 ans</common:Name>
          <structure:Parent>
            <Ref id="37" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="43" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).43">
          <common:Name xml:lang="en">30 to 34 years</common:Name>
          <common:Name xml:lang="fr">30 à 34 ans</common:Name>
          <structure:Parent>
            <Ref id="1" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="38" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).38">
          <common:Name xml:lang="en">30 years</common:Name>
          <common:Name xml:lang="fr">30 ans</common:Name>
          <structure:Parent>
            <Ref id="43" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="39" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).39">
          <common:Name xml:lang="en">31 years</common:Name>
          <common:Name xml:lang="fr">31 ans</common:Name>
          <structure:Parent>
            <Ref id="43" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="40" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).40">
          <common:Name xml:lang="en">32 years</common:Name>
          <common:Name xml:lang="fr">32 ans</common:Name>
          <structure:Parent>
            <Ref id="43" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="41" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).41">
          <common:Name xml:lang="en">33 years</common:Name>
          <common:Name xml:lang="fr">33 ans</common:Name>
          <structure:Parent>
            <Ref id="43" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="42" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).42">
          <common:Name xml:lang="en">34 years</common:Name>
          <common:Name xml:lang="fr">34 ans</common:Name>
          <structure:Parent>
            <Ref id="43" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="49" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).49">
          <common:Name xml:lang="en">35 to 39 years</common:Name>
          <common:Name xml:lang="fr">35 à 39 ans</common:Name>
          <structure:Parent>
            <Ref id="1" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="44" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).44">
          <common:Name xml:lang="en">35 years</common:Name>
          <common:Name xml:lang="fr">35 ans</common:Name>
          <structure:Parent>
            <Ref id="49" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="45" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).45">
          <common:Name xml:lang="en">36 years</common:Name>
          <common:Name xml:lang="fr">36 ans</common:Name>
          <structure:Parent>
            <Ref id="49" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="46" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).46">
          <common:Name xml:lang="en">37 years</common:Name>
          <common:Name xml:lang="fr">37 ans</common:Name>
          <structure:Parent>
            <Ref id="49" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="47" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).47">
          <common:Name xml:lang="en">38 years</common:Name>
          <common:Name xml:lang="fr">38 ans</common:Name>
          <structure:Parent>
            <Ref id="49" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="48" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).48">
          <common:Name xml:lang="en">39 years</common:Name>
          <common:Name xml:lang="fr">39 ans</common:Name>
          <structure:Parent>
            <Ref id="49" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="55" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).55">
          <common:Name xml:lang="en">40 to 44 years</common:Name>
          <common:Name xml:lang="fr">40 à 44 ans</common:Name>
          <structure:Parent>
            <Ref id="1" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="50" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).50">
          <common:Name xml:lang="en">40 years</common:Name>
          <common:Name xml:lang="fr">40 ans</common:Name>
          <structure:Parent>
            <Ref id="55" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="51" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).51">
          <common:Name xml:lang="en">41 years</common:Name>
          <common:Name xml:lang="fr">41 ans</common:Name>
          <structure:Parent>
            <Ref id="55" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="52" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).52">
          <common:Name xml:lang="en">42 years</common:Name>
          <common:Name xml:lang="fr">42 ans</common:Name>
          <structure:Parent>
            <Ref id="55" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="53" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).53">
          <common:Name xml:lang="en">43 years</common:Name>
          <common:Name xml:lang="fr">43 ans</common:Name>
          <structure:Parent>
            <Ref id="55" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="54" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).54">
          <common:Name xml:lang="en">44 years</common:Name>
          <common:Name xml:lang="fr">44 ans</common:Name>
          <structure:Parent>
            <Ref id="55" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="61" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).61">
          <common:Name xml:lang="en">45 to 49 years</common:Name>
          <common:Name xml:lang="fr">45 à 49 ans</common:Name>
          <structure:Parent>
            <Ref id="1" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="56" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).56">
          <common:Name xml:lang="en">45 years</common:Name>
          <common:Name xml:lang="fr">45 ans</common:Name>
          <structure:Parent>
            <Ref id="61" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="57" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).57">
          <common:Name xml:lang="en">46 years</common:Name>
          <common:Name xml:lang="fr">46 ans</common:Name>
          <structure:Parent>
            <Ref id="61" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="58" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).58">
          <common:Name xml:lang="en">47 years</common:Name>
          <common:Name xml:lang="fr">47 ans</common:Name>
          <structure:Parent>
            <Ref id="61" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="59" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).59">
          <common:Name xml:lang="en">48 years</common:Name>
          <common:Name xml:lang="fr">48 ans</common:Name>
          <structure:Parent>
            <Ref id="61" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="60" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).60">
          <common:Name xml:lang="en">49 years</common:Name>
          <common:Name xml:lang="fr">49 ans</common:Name>
          <structure:Parent>
            <Ref id="61" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="67" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).67">
          <common:Name xml:lang="en">50 to 54 years</common:Name>
          <common:Name xml:lang="fr">50 à 54 ans</common:Name>
          <structure:Parent>
            <Ref id="1" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="62" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).62">
          <common:Name xml:lang="en">50 years</common:Name>
          <common:Name xml:lang="fr">50 ans</common:Name>
          <structure:Parent>
            <Ref id="67" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="63" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).63">
          <common:Name xml:lang="en">51 years</common:Name>
          <common:Name xml:lang="fr">51 ans</common:Name>
          <structure:Parent>
            <Ref id="67" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="64" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).64">
          <common:Name xml:lang="en">52 years</common:Name>
          <common:Name xml:lang="fr">52 ans</common:Name>
          <structure:Parent>
            <Ref id="67" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="65" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).65">
          <common:Name xml:lang="en">53 years</common:Name>
          <common:Name xml:lang="fr">53 ans</common:Name>
          <structure:Parent>
            <Ref id="67" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="66" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).66">
          <common:Name xml:lang="en">54 years</common:Name>
          <common:Name xml:lang="fr">54 ans</common:Name>
          <structure:Parent>
            <Ref id="67" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="73" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).73">
          <common:Name xml:lang="en">55 to 59 years</common:Name>
          <common:Name xml:lang="fr">55 à 59 ans</common:Name>
          <structure:Parent>
            <Ref id="1" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="68" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).68">
          <common:Name xml:lang="en">55 years</common:Name>
          <common:Name xml:lang="fr">55 ans</common:Name>
          <structure:Parent>
            <Ref id="73" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="69" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).69">
          <common:Name xml:lang="en">56 years</common:Name>
          <common:Name xml:lang="fr">56 ans</common:Name>
          <structure:Parent>
            <Ref id="73" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="70" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).70">
          <common:Name xml:lang="en">57 years</common:Name>
          <common:Name xml:lang="fr">57 ans</common:Name>
          <structure:Parent>
            <Ref id="73" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="71" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).71">
          <common:Name xml:lang="en">58 years</common:Name>
          <common:Name xml:lang="fr">58 ans</common:Name>
          <structure:Parent>
            <Ref id="73" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="72" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).72">
          <common:Name xml:lang="en">59 years</common:Name>
          <common:Name xml:lang="fr">59 ans</common:Name>
          <structure:Parent>
            <Ref id="73" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="79" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).79">
          <common:Name xml:lang="en">60 to 64 years</common:Name>
          <common:Name xml:lang="fr">60 à 64 ans</common:Name>
          <structure:Parent>
            <Ref id="1" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="74" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).74">
          <common:Name xml:lang="en">60 years</common:Name>
          <common:Name xml:lang="fr">60 ans</common:Name>
          <structure:Parent>
            <Ref id="79" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="75" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).75">
          <common:Name xml:lang="en">61 years</common:Name>
          <common:Name xml:lang="fr">61 ans</common:Name>
          <structure:Parent>
            <Ref id="79" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="76" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).76">
          <common:Name xml:lang="en">62 years</common:Name>
          <common:Name xml:lang="fr">62 ans</common:Name>
          <structure:Parent>
            <Ref id="79" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="77" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).77">
          <common:Name xml:lang="en">63 years</common:Name>
          <common:Name xml:lang="fr">63 ans</common:Name>
          <structure:Parent>
            <Ref id="79" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="78" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).78">
          <common:Name xml:lang="en">64 years</common:Name>
          <common:Name xml:lang="fr">64 ans</common:Name>
          <structure:Parent>
            <Ref id="79" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="85" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).85">
          <common:Name xml:lang="en">65 to 69 years</common:Name>
          <common:Name xml:lang="fr">65 à 69 ans</common:Name>
          <structure:Parent>
            <Ref id="1" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="80" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).80">
          <common:Name xml:lang="en">65 years</common:Name>
          <common:Name xml:lang="fr">65 ans</common:Name>
          <structure:Parent>
            <Ref id="85" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="81" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).81">
          <common:Name xml:lang="en">66 years</common:Name>
          <common:Name xml:lang="fr">66 ans</common:Name>
          <structure:Parent>
            <Ref id="85" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="82" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).82">
          <common:Name xml:lang="en">67 years</common:Name>
          <common:Name xml:lang="fr">67 ans</common:Name>
          <structure:Parent>
            <Ref id="85" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="83" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).83">
          <common:Name xml:lang="en">68 years</common:Name>
          <common:Name xml:lang="fr">68 ans</common:Name>
          <structure:Parent>
            <Ref id="85" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="84" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).84">
          <common:Name xml:lang="en">69 years</common:Name>
          <common:Name xml:lang="fr">69 ans</common:Name>
          <structure:Parent>
            <Ref id="85" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="86" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).86">
          <common:Name xml:lang="en">70 to 74 years</common:Name>
          <common:Name xml:lang="fr">70 à 74 ans</common:Name>
          <structure:Parent>
            <Ref id="1" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="87" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).87">
          <common:Name xml:lang="en">75 to 79 years</common:Name>
          <common:Name xml:lang="fr">75 à 79 ans</common:Name>
          <structure:Parent>
            <Ref id="1" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="88" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).88">
          <common:Name xml:lang="en">80 to 84 years</common:Name>
          <common:Name xml:lang="fr">80 à 84 ans</common:Name>
          <structure:Parent>
            <Ref id="1" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="89" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).89">
          <common:Name xml:lang="en">85 to 89 years</common:Name>
          <common:Name xml:lang="fr">85 à 89 ans</common:Name>
          <structure:Parent>
            <Ref id="1" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="90" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).90">
          <common:Name xml:lang="en">90 years and over</common:Name>
          <common:Name xml:lang="fr">90 ans et plus</common:Name>
        </structure:Code>
        <structure:Code id="91" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).91">
          <common:Name xml:lang="en">0 to 14 years</common:Name>
          <common:Name xml:lang="fr">0 à 14 ans</common:Name>
        </structure:Code>
        <structure:Code id="92" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).92">
          <common:Name xml:lang="en">0 to 15 years</common:Name>
          <common:Name xml:lang="fr">0 à 15 ans</common:Name>
        </structure:Code>
        <structure:Code id="93" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).93">
          <common:Name xml:lang="en">0 to 16 years</common:Name>
          <common:Name xml:lang="fr">0 à 16 ans</common:Name>
        </structure:Code>
        <structure:Code id="94" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).94">
          <common:Name xml:lang="en">0 to 17 years</common:Name>
          <common:Name xml:lang="fr">0 à 17 ans</common:Name>
        </structure:Code>
        <structure:Code id="95" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).95">
          <common:Name xml:lang="en">15 to 49 years</common:Name>
          <common:Name xml:lang="fr">15 à 49 ans</common:Name>
        </structure:Code>
        <structure:Code id="96" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).96">
          <common:Name xml:lang="en">15 to 64 years</common:Name>
          <common:Name xml:lang="fr">15 à 64 ans</common:Name>
        </structure:Code>
        <structure:Code id="97" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).97">
          <common:Name xml:lang="en">16 to 64 years</common:Name>
          <common:Name xml:lang="fr">16 à 64 ans</common:Name>
        </structure:Code>
        <structure:Code id="98" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).98">
          <common:Name xml:lang="en">17 to 64 years</common:Name>
          <common:Name xml:lang="fr">17 à 64 ans</common:Name>
        </structure:Code>
        <structure:Code id="101" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).101">
          <common:Name xml:lang="en">18 years and over</common:Name>
          <common:Name xml:lang="fr">18 ans et plus</common:Name>
        </structure:Code>
        <structure:Code id="100" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).100">
          <common:Name xml:lang="en">18 to 64 years</common:Name>
          <common:Name xml:lang="fr">18 à 64 ans</common:Name>
          <structure:Parent>
            <Ref id="101" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="99" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).99">
          <common:Name xml:lang="en">18 to 24 years</common:Name>
          <common:Name xml:lang="fr">18 à 24 ans</common:Name>
          <structure:Parent>
            <Ref id="100" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="102" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).102">
          <common:Name xml:lang="en">25 to 44 years</common:Name>
          <common:Name xml:lang="fr">25 à 44 ans</common:Name>
          <structure:Parent>
            <Ref id="100" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="103" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).103">
          <common:Name xml:lang="en">45 to 64 years</common:Name>
          <common:Name xml:lang="fr">45 à 64 ans</common:Name>
          <structure:Parent>
            <Ref id="100" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="104" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).104">
          <common:Name xml:lang="en">65 years and over</common:Name>
          <common:Name xml:lang="fr">65 ans et plus</common:Name>
          <structure:Parent>
            <Ref id="101" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="105" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).105">
          <common:Name xml:lang="en">Median age</common:Name>
          <common:Name xml:lang="fr">Âge médian</common:Name>
        </structure:Code>
        <structure:Code id="106" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).106">
          <common:Name xml:lang="en">70 years</common:Name>
          <common:Name xml:lang="fr">70 ans</common:Name>
          <structure:Parent>
            <Ref id="86" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="107" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).107">
          <common:Name xml:lang="en">71 years</common:Name>
          <common:Name xml:lang="fr">71 ans</common:Name>
          <structure:Parent>
            <Ref id="86" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="108" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).108">
          <common:Name xml:lang="en">72 years</common:Name>
          <common:Name xml:lang="fr">72 ans</common:Name>
          <structure:Parent>
            <Ref id="86" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="109" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).109">
          <common:Name xml:lang="en">73 years</common:Name>
          <common:Name xml:lang="fr">73 ans</common:Name>
          <structure:Parent>
            <Ref id="86" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="110" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).110">
          <common:Name xml:lang="en">74 years</common:Name>
          <common:Name xml:lang="fr">74 ans</common:Name>
          <structure:Parent>
            <Ref id="86" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="111" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).111">
          <common:Name xml:lang="en">75 years</common:Name>
          <common:Name xml:lang="fr">75 ans</common:Name>
          <structure:Parent>
            <Ref id="87" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="112" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).112">
          <common:Name xml:lang="en">76 years</common:Name>
          <common:Name xml:lang="fr">76 ans</common:Name>
          <structure:Parent>
            <Ref id="87" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="113" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).113">
          <common:Name xml:lang="en">77 years</common:Name>
          <common:Name xml:lang="fr">77 ans</common:Name>
          <structure:Parent>
            <Ref id="87" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="114" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).114">
          <common:Name xml:lang="en">78 years</common:Name>
          <common:Name xml:lang="fr">78 ans</common:Name>
          <structure:Parent>
            <Ref id="87" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="115" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).115">
          <common:Name xml:lang="en">79 years</common:Name>
          <common:Name xml:lang="fr">79 ans</common:Name>
          <structure:Parent>
            <Ref id="87" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="116" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).116">
          <common:Name xml:lang="en">80 years</common:Name>
          <common:Name xml:lang="fr">80 ans</common:Name>
          <structure:Parent>
            <Ref id="88" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="117" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).117">
          <common:Name xml:lang="en">81 years</common:Name>
          <common:Name xml:lang="fr">81 ans</common:Name>
          <structure:Parent>
            <Ref id="88" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="118" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).118">
          <common:Name xml:lang="en">82 years</common:Name>
          <common:Name xml:lang="fr">82 ans</common:Name>
          <structure:Parent>
            <Ref id="88" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="119" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).119">
          <common:Name xml:lang="en">83 years</common:Name>
          <common:Name xml:lang="fr">83 ans</common:Name>
          <structure:Parent>
            <Ref id="88" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="120" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).120">
          <common:Name xml:lang="en">84 years</common:Name>
          <common:Name xml:lang="fr">84 ans</common:Name>
          <structure:Parent>
            <Ref id="88" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="121" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).121">
          <common:Name xml:lang="en">85 years</common:Name>
          <common:Name xml:lang="fr">85 ans</common:Name>
          <structure:Parent>
            <Ref id="89" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="122" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).122">
          <common:Name xml:lang="en">86 years</common:Name>
          <common:Name xml:lang="fr">86 ans</common:Name>
          <structure:Parent>
            <Ref id="89" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="123" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).123">
          <common:Name xml:lang="en">87 years</common:Name>
          <common:Name xml:lang="fr">87 ans</common:Name>
          <structure:Parent>
            <Ref id="89" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="124" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).124">
          <common:Name xml:lang="en">88 years</common:Name>
          <common:Name xml:lang="fr">88 ans</common:Name>
          <structure:Parent>
            <Ref id="89" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="125" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).125">
          <common:Name xml:lang="en">89 years</common:Name>
          <common:Name xml:lang="fr">89 ans</common:Name>
          <structure:Parent>
            <Ref id="89" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="126" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).126">
          <common:Name xml:lang="en">90 to 94 years</common:Name>
          <common:Name xml:lang="fr">90 à 94 ans</common:Name>
          <structure:Parent>
            <Ref id="1" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="127" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).127">
          <common:Name xml:lang="en">90 years</common:Name>
          <common:Name xml:lang="fr">90 ans</common:Name>
          <structure:Parent>
            <Ref id="126" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="128" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).128">
          <common:Name xml:lang="en">91 years</common:Name>
          <common:Name xml:lang="fr">91 ans</common:Name>
          <structure:Parent>
            <Ref id="126" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="129" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).129">
          <common:Name xml:lang="en">92 years</common:Name>
          <common:Name xml:lang="fr">92 ans</common:Name>
          <structure:Parent>
            <Ref id="126" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="130" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).130">
          <common:Name xml:lang="en">93 years</common:Name>
          <common:Name xml:lang="fr">93 ans</common:Name>
          <structure:Parent>
            <Ref id="126" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="131" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).131">
          <common:Name xml:lang="en">94 years</common:Name>
          <common:Name xml:lang="fr">94 ans</common:Name>
          <structure:Parent>
            <Ref id="126" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="132" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).132">
          <common:Name xml:lang="en">95 to 99 years</common:Name>
          <common:Name xml:lang="fr">95 à 99 ans</common:Name>
          <structure:Parent>
            <Ref id="1" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="133" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).133">
          <common:Name xml:lang="en">95 years</common:Name>
          <common:Name xml:lang="fr">95 ans</common:Name>
          <structure:Parent>
            <Ref id="132" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="134" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).134">
          <common:Name xml:lang="en">96 years</common:Name>
          <common:Name xml:lang="fr">96 ans</common:Name>
          <structure:Parent>
            <Ref id="132" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="135" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).135">
          <common:Name xml:lang="en">97 years</common:Name>
          <common:Name xml:lang="fr">97 ans</common:Name>
          <structure:Parent>
            <Ref id="132" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="136" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).136">
          <common:Name xml:lang="en">98 years</common:Name>
          <common:Name xml:lang="fr">98 ans</common:Name>
          <structure:Parent>
            <Ref id="132" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="137" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).137">
          <common:Name xml:lang="en">99 years</common:Name>
          <common:Name xml:lang="fr">99 ans</common:Name>
          <structure:Parent>
            <Ref id="132" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="138" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Age_group(1.0).138">
          <common:Name xml:lang="en">100 years and over</common:Name>
          <common:Name xml:lang="fr">100 ans et plus</common:Name>
          <structure:Parent>
            <Ref id="1" />
          </structure:Parent>
        </structure:Code>
      </structure:Codelist>
      <structure:Codelist id="CL_17100005_DGUID" urn="urn:sdmx:org.sdmx.infomodel.codelist.Codelist=StatCan:CL_17100005_DGUID(1.0)" agencyID="StatCan" version="1.0" isFinal="false">
        <common:Name xml:lang="en">DGUID</common:Name>
        <structure:Code id="2016A000011124" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_DGUID(1.0).2016A000011124">
          <common:Name xml:lang="en">2016A000011124</common:Name>
        </structure:Code>
        <structure:Code id="2016A000210" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_DGUID(1.0).2016A000210">
          <common:Name xml:lang="en">2016A000210</common:Name>
        </structure:Code>
        <structure:Code id="2016A000211" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_DGUID(1.0).2016A000211">
          <common:Name xml:lang="en">2016A000211</common:Name>
        </structure:Code>
        <structure:Code id="2016A000212" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_DGUID(1.0).2016A000212">
          <common:Name xml:lang="en">2016A000212</common:Name>
        </structure:Code>
        <structure:Code id="2016A000213" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_DGUID(1.0).2016A000213">
          <common:Name xml:lang="en">2016A000213</common:Name>
        </structure:Code>
        <structure:Code id="2016A000224" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_DGUID(1.0).2016A000224">
          <common:Name xml:lang="en">2016A000224</common:Name>
        </structure:Code>
        <structure:Code id="2016A000235" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_DGUID(1.0).2016A000235">
          <common:Name xml:lang="en">2016A000235</common:Name>
        </structure:Code>
        <structure:Code id="2016A000246" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_DGUID(1.0).2016A000246">
          <common:Name xml:lang="en">2016A000246</common:Name>
        </structure:Code>
        <structure:Code id="2016A000247" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_DGUID(1.0).2016A000247">
          <common:Name xml:lang="en">2016A000247</common:Name>
        </structure:Code>
        <structure:Code id="2016A000248" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_DGUID(1.0).2016A000248">
          <common:Name xml:lang="en">2016A000248</common:Name>
        </structure:Code>
        <structure:Code id="2016A000259" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_DGUID(1.0).2016A000259">
          <common:Name xml:lang="en">2016A000259</common:Name>
        </structure:Code>
        <structure:Code id="2016A000260" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_DGUID(1.0).2016A000260">
          <common:Name xml:lang="en">2016A000260</common:Name>
        </structure:Code>
        <structure:Code id="2016A000261" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_DGUID(1.0).2016A000261">
          <common:Name xml:lang="en">2016A000261</common:Name>
        </structure:Code>
        <structure:Code id="2016A000262" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_DGUID(1.0).2016A000262">
          <common:Name xml:lang="en">2016A000262</common:Name>
        </structure:Code>
      </structure:Codelist>
      <structure:Codelist id="CL_17100005_Geography" urn="urn:sdmx:org.sdmx.infomodel.codelist.Codelist=StatCan:CL_17100005_Geography(1.0)" agencyID="StatCan" version="1.0" isFinal="false">
        <common:Name xml:lang="en">Geography</common:Name>
        <structure:Code id="1" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Geography(1.0).1">
          <common:Annotations>
            <common:Annotation>
              <common:AnnotationType>FootnoteId</common:AnnotationType>
            </common:Annotation>
            <common:Annotation>
              <common:AnnotationType>Footnote_4</common:AnnotationType>
            </common:Annotation>
          </common:Annotations>
          <common:Name xml:lang="en">Canada</common:Name>
          <common:Name xml:lang="fr">Canada</common:Name>
        </structure:Code>
        <structure:Code id="2" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Geography(1.0).2">
          <common:Annotations>
            <common:Annotation>
              <common:AnnotationType>FootnoteId</common:AnnotationType>
            </common:Annotation>
            <common:Annotation>
              <common:AnnotationType>Footnote_4</common:AnnotationType>
            </common:Annotation>
          </common:Annotations>
          <common:Name xml:lang="en">Newfoundland and Labrador</common:Name>
          <common:Name xml:lang="fr">Terre-Neuve-et-Labrador</common:Name>
          <structure:Parent>
            <Ref id="1" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="3" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Geography(1.0).3">
          <common:Annotations>
            <common:Annotation>
              <common:AnnotationType>FootnoteId</common:AnnotationType>
            </common:Annotation>
            <common:Annotation>
              <common:AnnotationType>Footnote_4</common:AnnotationType>
            </common:Annotation>
          </common:Annotations>
          <common:Name xml:lang="en">Prince Edward Island</common:Name>
          <common:Name xml:lang="fr">Île-du-Prince-Édouard</common:Name>
          <structure:Parent>
            <Ref id="1" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="4" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Geography(1.0).4">
          <common:Annotations>
            <common:Annotation>
              <common:AnnotationType>FootnoteId</common:AnnotationType>
            </common:Annotation>
            <common:Annotation>
              <common:AnnotationType>Footnote_4</common:AnnotationType>
            </common:Annotation>
          </common:Annotations>
          <common:Name xml:lang="en">Nova Scotia</common:Name>
          <common:Name xml:lang="fr">Nouvelle-Écosse</common:Name>
          <structure:Parent>
            <Ref id="1" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="5" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Geography(1.0).5">
          <common:Annotations>
            <common:Annotation>
              <common:AnnotationType>FootnoteId</common:AnnotationType>
            </common:Annotation>
            <common:Annotation>
              <common:AnnotationType>Footnote_4</common:AnnotationType>
            </common:Annotation>
          </common:Annotations>
          <common:Name xml:lang="en">New Brunswick</common:Name>
          <common:Name xml:lang="fr">Nouveau-Brunswick</common:Name>
          <structure:Parent>
            <Ref id="1" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="6" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Geography(1.0).6">
          <common:Annotations>
            <common:Annotation>
              <common:AnnotationType>FootnoteId</common:AnnotationType>
            </common:Annotation>
            <common:Annotation>
              <common:AnnotationType>Footnote_4</common:AnnotationType>
            </common:Annotation>
          </common:Annotations>
          <common:Name xml:lang="en">Quebec</common:Name>
          <common:Name xml:lang="fr">Québec</common:Name>
          <structure:Parent>
            <Ref id="1" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="7" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Geography(1.0).7">
          <common:Annotations>
            <common:Annotation>
              <common:AnnotationType>FootnoteId</common:AnnotationType>
            </common:Annotation>
            <common:Annotation>
              <common:AnnotationType>Footnote_4</common:AnnotationType>
            </common:Annotation>
          </common:Annotations>
          <common:Name xml:lang="en">Ontario</common:Name>
          <common:Name xml:lang="fr">Ontario</common:Name>
          <structure:Parent>
            <Ref id="1" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="8" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Geography(1.0).8">
          <common:Annotations>
            <common:Annotation>
              <common:AnnotationType>FootnoteId</common:AnnotationType>
            </common:Annotation>
            <common:Annotation>
              <common:AnnotationType>Footnote_4</common:AnnotationType>
            </common:Annotation>
          </common:Annotations>
          <common:Name xml:lang="en">Manitoba</common:Name>
          <common:Name xml:lang="fr">Manitoba</common:Name>
          <structure:Parent>
            <Ref id="1" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="9" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Geography(1.0).9">
          <common:Annotations>
            <common:Annotation>
              <common:AnnotationType>FootnoteId</common:AnnotationType>
            </common:Annotation>
            <common:Annotation>
              <common:AnnotationType>Footnote_4</common:AnnotationType>
            </common:Annotation>
          </common:Annotations>
          <common:Name xml:lang="en">Saskatchewan</common:Name>
          <common:Name xml:lang="fr">Saskatchewan</common:Name>
          <structure:Parent>
            <Ref id="1" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="10" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Geography(1.0).10">
          <common:Annotations>
            <common:Annotation>
              <common:AnnotationType>FootnoteId</common:AnnotationType>
            </common:Annotation>
            <common:Annotation>
              <common:AnnotationType>Footnote_4</common:AnnotationType>
            </common:Annotation>
          </common:Annotations>
          <common:Name xml:lang="en">Alberta</common:Name>
          <common:Name xml:lang="fr">Alberta</common:Name>
          <structure:Parent>
            <Ref id="1" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="11" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Geography(1.0).11">
          <common:Annotations>
            <common:Annotation>
              <common:AnnotationType>FootnoteId</common:AnnotationType>
            </common:Annotation>
            <common:Annotation>
              <common:AnnotationType>Footnote_4</common:AnnotationType>
            </common:Annotation>
          </common:Annotations>
          <common:Name xml:lang="en">British Columbia</common:Name>
          <common:Name xml:lang="fr">Colombie-Britannique</common:Name>
          <structure:Parent>
            <Ref id="1" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="12" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Geography(1.0).12">
          <common:Annotations>
            <common:Annotation>
              <common:AnnotationType>FootnoteId</common:AnnotationType>
            </common:Annotation>
            <common:Annotation>
              <common:AnnotationType>Footnote_4</common:AnnotationType>
            </common:Annotation>
          </common:Annotations>
          <common:Name xml:lang="en">Yukon</common:Name>
          <common:Name xml:lang="fr">Yukon</common:Name>
          <structure:Parent>
            <Ref id="1" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="13" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Geography(1.0).13">
          <common:Annotations>
            <common:Annotation>
              <common:AnnotationTitle>Footnote_3</common:AnnotationTitle>
              <common:AnnotationType>FootnoteId</common:AnnotationType>
            </common:Annotation>
            <common:Annotation>
              <common:AnnotationType>Footnote_4</common:AnnotationType>
            </common:Annotation>
          </common:Annotations>
          <common:Name xml:lang="en">Northwest Territories including Nunavut</common:Name>
          <common:Name xml:lang="fr">Territoires du Nord-Ouest incluant Nunavut</common:Name>
          <structure:Parent>
            <Ref id="1" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="14" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Geography(1.0).14">
          <common:Annotations>
            <common:Annotation>
              <common:AnnotationTitle>Footnote_4</common:AnnotationTitle>
              <common:AnnotationType>FootnoteId</common:AnnotationType>
            </common:Annotation>
            <common:Annotation>
              <common:AnnotationType>Footnote_4</common:AnnotationType>
            </common:Annotation>
          </common:Annotations>
          <common:Name xml:lang="en">Northwest Territories</common:Name>
          <common:Name xml:lang="fr">Territoires du Nord-Ouest</common:Name>
          <structure:Parent>
            <Ref id="1" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="15" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Geography(1.0).15">
          <common:Annotations>
            <common:Annotation>
              <common:AnnotationTitle>Footnote_4</common:AnnotationTitle>
              <common:AnnotationType>FootnoteId</common:AnnotationType>
            </common:Annotation>
            <common:Annotation>
              <common:AnnotationType>Footnote_4</common:AnnotationType>
            </common:Annotation>
          </common:Annotations>
          <common:Name xml:lang="en">Nunavut</common:Name>
          <common:Name xml:lang="fr">Nunavut</common:Name>
          <structure:Parent>
            <Ref id="1" />
          </structure:Parent>
        </structure:Code>
      </structure:Codelist>
      <structure:Codelist id="CL_17100005_SCALAR_FACTOR" urn="urn:sdmx:org.sdmx.infomodel.codelist.Codelist=StatCan:CL_17100005_SCALAR_FACTOR(1.0)" agencyID="StatCan" version="1.0" isFinal="false">
        <common:Name xml:lang="en">Scalar Factor</common:Name>
        <structure:Code id="0" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_SCALAR_FACTOR(1.0).0">
          <common:Name xml:lang="en">units</common:Name>
          <common:Name xml:lang="fr">unités</common:Name>
        </structure:Code>
        <structure:Code id="1" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_SCALAR_FACTOR(1.0).1">
          <common:Name xml:lang="en">tens</common:Name>
          <common:Name xml:lang="fr">dizaines</common:Name>
        </structure:Code>
        <structure:Code id="2" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_SCALAR_FACTOR(1.0).2">
          <common:Name xml:lang="en">hundreds</common:Name>
          <common:Name xml:lang="fr">centaines</common:Name>
        </structure:Code>
        <structure:Code id="3" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_SCALAR_FACTOR(1.0).3">
          <common:Name xml:lang="en">thousands</common:Name>
          <common:Name xml:lang="fr">milliers</common:Name>
        </structure:Code>
        <structure:Code id="4" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_SCALAR_FACTOR(1.0).4">
          <common:Name xml:lang="en">tens of thousands</common:Name>
          <common:Name xml:lang="fr">dizaines de milliers</common:Name>
        </structure:Code>
        <structure:Code id="5" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_SCALAR_FACTOR(1.0).5">
          <common:Name xml:lang="en">hundreds of thousands</common:Name>
          <common:Name xml:lang="fr">centaines de milliers</common:Name>
        </structure:Code>
        <structure:Code id="6" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_SCALAR_FACTOR(1.0).6">
          <common:Name xml:lang="en">millions</common:Name>
          <common:Name xml:lang="fr">millions</common:Name>
        </structure:Code>
        <structure:Code id="7" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_SCALAR_FACTOR(1.0).7">
          <common:Name xml:lang="en">tens of millions</common:Name>
          <common:Name xml:lang="fr">dizaines de millions</common:Name>
        </structure:Code>
        <structure:Code id="8" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_SCALAR_FACTOR(1.0).8">
          <common:Name xml:lang="en">hundreds of millions</common:Name>
          <common:Name xml:lang="fr">centaines de millions</common:Name>
        </structure:Code>
        <structure:Code id="9" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_SCALAR_FACTOR(1.0).9">
          <common:Name xml:lang="en">billions</common:Name>
          <common:Name xml:lang="fr">milliards</common:Name>
        </structure:Code>
      </structure:Codelist>
      <structure:Codelist id="CL_17100005_SECURITY_LEVEL" urn="urn:sdmx:org.sdmx.infomodel.codelist.Codelist=StatCan:CL_17100005_SECURITY_LEVEL(1.0)" agencyID="StatCan" version="1.0" isFinal="false">
        <common:Name xml:lang="en">Security Level</common:Name>
        <structure:Code id="0" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_SECURITY_LEVEL(1.0).0">
          <common:Name xml:lang="en">0 = public</common:Name>
          <common:Name xml:lang="fr">0 = public</common:Name>
        </structure:Code>
        <structure:Code id="1" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_SECURITY_LEVEL(1.0).1">
          <common:Name xml:lang="en">x = suppressed to meet the confidentiality requirements of the Statistics Act</common:Name>
          <common:Name xml:lang="fr">x = confidentiel en vertu des dispositions de la Loi sur la statistique</common:Name>
        </structure:Code>
      </structure:Codelist>
      <structure:Codelist id="CL_17100005_STATUS_CAN" urn="urn:sdmx:org.sdmx.infomodel.codelist.Codelist=StatCan:CL_17100005_STATUS_CAN(1.0)" agencyID="StatCan" version="1.0" isFinal="false">
        <common:Name xml:lang="en">Status</common:Name>
        <structure:Code id="0" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_STATUS_CAN(1.0).0">
          <common:Name xml:lang="en">0 = normal</common:Name>
          <common:Name xml:lang="fr">0 = normal</common:Name>
        </structure:Code>
        <structure:Code id="1" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_STATUS_CAN(1.0).1">
          <common:Name xml:lang="en">.. = not available for a specific reference period</common:Name>
          <common:Name xml:lang="fr">.. = indisponible pour une période de référence précise</common:Name>
        </structure:Code>
        <structure:Code id="2" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_STATUS_CAN(1.0).2">
          <common:Name xml:lang="en">0s = value rounded to 0 (zero) where there is a meaningful distinction between true zero and the value that was rounded</common:Name>
          <common:Name xml:lang="fr">0s = valeur arrondie à 0 (zéro) là où il y a une distinction importante entre le zéro absolu et la valeur arrondie</common:Name>
        </structure:Code>
        <structure:Code id="3" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_STATUS_CAN(1.0).3">
          <common:Name xml:lang="en">A = data quality: excellent</common:Name>
          <common:Name xml:lang="fr">A = qualité des données: excellente</common:Name>
        </structure:Code>
        <structure:Code id="4" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_STATUS_CAN(1.0).4">
          <common:Name xml:lang="en">B = data quality: very good</common:Name>
          <common:Name xml:lang="fr">B = qualité des données: très bonne</common:Name>
        </structure:Code>
        <structure:Code id="5" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_STATUS_CAN(1.0).5">
          <common:Name xml:lang="en">C = data quality: good</common:Name>
          <common:Name xml:lang="fr">C = qualité des données: bonne</common:Name>
        </structure:Code>
        <structure:Code id="6" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_STATUS_CAN(1.0).6">
          <common:Name xml:lang="en">D = data quality: acceptable</common:Name>
          <common:Name xml:lang="fr">D = qualité des données: acceptable</common:Name>
        </structure:Code>
        <structure:Code id="7" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_STATUS_CAN(1.0).7">
          <common:Name xml:lang="en">E = use with caution</common:Name>
          <common:Name xml:lang="fr">E = à utiliser avec prudence</common:Name>
        </structure:Code>
        <structure:Code id="8" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_STATUS_CAN(1.0).8">
          <common:Name xml:lang="en">F = too unreliable to be published.</common:Name>
          <common:Name xml:lang="fr">F = trop peu fiable pour être publié</common:Name>
        </structure:Code>
        <structure:Code id="9" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_STATUS_CAN(1.0).9">
          <common:Name xml:lang="en">... = not applicable</common:Name>
          <common:Name xml:lang="fr">... = n'ayant pas lieu de figurer</common:Name>
        </structure:Code>
        <structure:Code id="10" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_STATUS_CAN(1.0).10">
          <common:Name xml:lang="en"><LOD = less than the limit of detection</common:Name>
          <common:Name xml:lang="fr"><LOD = inférieur à la limite de détection</common:Name>
        </structure:Code>
      </structure:Codelist>
      <structure:Codelist id="CL_17100005_SYMBOL" urn="urn:sdmx:org.sdmx.infomodel.codelist.Codelist=StatCan:CL_17100005_SYMBOL(1.0)" agencyID="StatCan" version="1.0" isFinal="false">
        <common:Name xml:lang="en">Symbol</common:Name>
        <structure:Code id="0" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_SYMBOL(1.0).0">
          <common:Name xml:lang="en">0 = none</common:Name>
          <common:Name xml:lang="fr">0 = aucun</common:Name>
        </structure:Code>
        <structure:Code id="1" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_SYMBOL(1.0).1">
          <common:Name xml:lang="en">p = preliminary</common:Name>
          <common:Name xml:lang="fr">p = provisoire</common:Name>
        </structure:Code>
        <structure:Code id="3" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_SYMBOL(1.0).3">
          <common:Name xml:lang="en">r = revised</common:Name>
          <common:Name xml:lang="fr">r = révisé</common:Name>
        </structure:Code>
      </structure:Codelist>
      <structure:Codelist id="CL_17100005_Sex" urn="urn:sdmx:org.sdmx.infomodel.codelist.Codelist=StatCan:CL_17100005_Sex(1.0)" agencyID="StatCan" version="1.0" isFinal="false">
        <common:Name xml:lang="en">Sex</common:Name>
        <structure:Code id="1" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Sex(1.0).1">
          <common:Name xml:lang="en">Both sexes</common:Name>
          <common:Name xml:lang="fr">Les deux sexes</common:Name>
        </structure:Code>
        <structure:Code id="2" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Sex(1.0).2">
          <common:Name xml:lang="en">Males</common:Name>
          <common:Name xml:lang="fr">Hommes</common:Name>
          <structure:Parent>
            <Ref id="1" />
          </structure:Parent>
        </structure:Code>
        <structure:Code id="3" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_Sex(1.0).3">
          <common:Name xml:lang="en">Females</common:Name>
          <common:Name xml:lang="fr">Femmes</common:Name>
          <structure:Parent>
            <Ref id="1" />
          </structure:Parent>
        </structure:Code>
      </structure:Codelist>
      <structure:Codelist id="CL_17100005_TERMINATED" urn="urn:sdmx:org.sdmx.infomodel.codelist.Codelist=StatCan:CL_17100005_TERMINATED(1.0)" agencyID="StatCan" version="1.0" isFinal="false">
        <common:Name xml:lang="en">Terminated</common:Name>
        <structure:Code id="0" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_TERMINATED(1.0).0">
          <common:Name xml:lang="en">0 = active</common:Name>
          <common:Name xml:lang="fr">0 = actif</common:Name>
        </structure:Code>
        <structure:Code id="1" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_TERMINATED(1.0).1">
          <common:Name xml:lang="en">t = terminated</common:Name>
          <common:Name xml:lang="fr">t = terminé</common:Name>
        </structure:Code>
      </structure:Codelist>
      <structure:Codelist id="CL_17100005_UOM" urn="urn:sdmx:org.sdmx.infomodel.codelist.Codelist=StatCan:CL_17100005_UOM(1.0)" agencyID="StatCan" version="1.0" isFinal="false">
        <common:Name xml:lang="en">Unit of measure</common:Name>
        <structure:Code id="249" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_UOM(1.0).249">
          <common:Name xml:lang="en">Persons</common:Name>
          <common:Name xml:lang="fr">Personnes</common:Name>
        </structure:Code>
        <structure:Code id="308" urn="urn:sdmx:org.sdmx.infomodel.codelist.Code=StatCan:CL_17100005_UOM(1.0).308">
          <common:Name xml:lang="en">Years</common:Name>
          <common:Name xml:lang="fr">Années</common:Name>
        </structure:Code>
      </structure:Codelist>
    </structure:Codelists>
    <structure:Concepts>
      <structure:ConceptScheme id="CONCEPTS_17100005" urn="urn:sdmx:org.sdmx.infomodel.conceptscheme.ConceptScheme=StatCan:CONCEPTS_17100005(1.0)" agencyID="StatCan" version="1.0" isFinal="false">
        <common:Name xml:lang="en">Concepts of Population estimates on July 1st, by age and sex</common:Name>
        <structure:Concept id="Geography" urn="urn:sdmx:org.sdmx.infomodel.conceptscheme.Concept=StatCan:CONCEPTS_17100005(1.0).Geography">
          <common:Name xml:lang="en">Geography</common:Name>
        </structure:Concept>
        <structure:Concept id="Sex" urn="urn:sdmx:org.sdmx.infomodel.conceptscheme.Concept=StatCan:CONCEPTS_17100005(1.0).Sex">
          <common:Name xml:lang="en">Sex</common:Name>
        </structure:Concept>
        <structure:Concept id="Age_group" urn="urn:sdmx:org.sdmx.infomodel.conceptscheme.Concept=StatCan:CONCEPTS_17100005(1.0).Age_group">
          <common:Name xml:lang="en">Age group</common:Name>
        </structure:Concept>
        <structure:Concept id="TIME_PERIOD" urn="urn:sdmx:org.sdmx.infomodel.conceptscheme.Concept=StatCan:CONCEPTS_17100005(1.0).TIME_PERIOD">
          <common:Name xml:lang="en">Time</common:Name>
        </structure:Concept>
        <structure:Concept id="OBS_VALUE" urn="urn:sdmx:org.sdmx.infomodel.conceptscheme.Concept=StatCan:CONCEPTS_17100005(1.0).OBS_VALUE">
          <common:Name xml:lang="en">Observation Value</common:Name>
        </structure:Concept>
        <structure:Concept id="UOM" urn="urn:sdmx:org.sdmx.infomodel.conceptscheme.Concept=StatCan:CONCEPTS_17100005(1.0).UOM">
          <common:Name xml:lang="en">Unit of measure</common:Name>
        </structure:Concept>
        <structure:Concept id="DGUID" urn="urn:sdmx:org.sdmx.infomodel.conceptscheme.Concept=StatCan:CONCEPTS_17100005(1.0).DGUID">
          <common:Name xml:lang="en">DGUID</common:Name>
        </structure:Concept>
        <structure:Concept id="SCALAR_FACTOR" urn="urn:sdmx:org.sdmx.infomodel.conceptscheme.Concept=StatCan:CONCEPTS_17100005(1.0).SCALAR_FACTOR">
          <common:Name xml:lang="en">Scalar Factor</common:Name>
        </structure:Concept>
        <structure:Concept id="VECTOR_ID" urn="urn:sdmx:org.sdmx.infomodel.conceptscheme.Concept=StatCan:CONCEPTS_17100005(1.0).VECTOR_ID">
          <common:Name xml:lang="en">Vector ID</common:Name>
        </structure:Concept>
        <structure:Concept id="NB_DECIMAL" urn="urn:sdmx:org.sdmx.infomodel.conceptscheme.Concept=StatCan:CONCEPTS_17100005(1.0).NB_DECIMAL">
          <common:Name xml:lang="en">Number of decimal</common:Name>
        </structure:Concept>
        <structure:Concept id="SYMBOL" urn="urn:sdmx:org.sdmx.infomodel.conceptscheme.Concept=StatCan:CONCEPTS_17100005(1.0).SYMBOL">
          <common:Name xml:lang="en">Symbol</common:Name>
        </structure:Concept>
        <structure:Concept id="STATUS_CAN" urn="urn:sdmx:org.sdmx.infomodel.conceptscheme.Concept=StatCan:CONCEPTS_17100005(1.0).STATUS_CAN">
          <common:Name xml:lang="en">Status</common:Name>
        </structure:Concept>
        <structure:Concept id="TERMINATED" urn="urn:sdmx:org.sdmx.infomodel.conceptscheme.Concept=StatCan:CONCEPTS_17100005(1.0).TERMINATED">
          <common:Name xml:lang="en">Terminated</common:Name>
        </structure:Concept>
        <structure:Concept id="SECURITY_LEVEL" urn="urn:sdmx:org.sdmx.infomodel.conceptscheme.Concept=StatCan:CONCEPTS_17100005(1.0).SECURITY_LEVEL">
          <common:Name xml:lang="en">Security Level</common:Name>
        </structure:Concept>
      </structure:ConceptScheme>
    </structure:Concepts>
    <structure:DataStructures>
      <structure:DataStructure id="Data_Structure_17100005" urn="urn:sdmx:org.sdmx.infomodel.datastructure.DataStructure=StatCan:Data_Structure_17100005(1.0)" agencyID="StatCan" version="1.0" isFinal="false">
        <common:Annotations>
          <common:Annotation>
            <common:AnnotationType>Footnote</common:AnnotationType>
            <common:AnnotationText xml:lang="en">Postcensal estimates are based on the 2016 Census counts adjusted for census net undercoverage (CNU) (including adjustment for incompletely enumerated Indian reserves (IEIR)) and the components of demographic growth that occurred since that census. Intercensal estimates are produced using counts from two consecutive censuses adjusted for CNU (including (IEIR) and postcensal estimates.</common:AnnotationText>
            <common:AnnotationText xml:lang="fr">Les estimations postcensitaires sont produites à partir des comptes du Recensement de 2016, rajustées pour le sous-dénombrement net du recensement (SDNR) (incluant le rajustement pour les réserves indiennes partiellement dénombrées (RIPD)) et des composantes de l'accroissement démographique survenu depuis ce recensement. Les estimations intercensitaires sont produites à l'aide des comptes de deux recensements consécutifs rajustés pour le SDNR (inlcuant les RIPD) et des estimations postcensitaires.</common:AnnotationText>
          </common:Annotation>
          <common:Annotation>
            <common:AnnotationType>Footnote</common:AnnotationType>
            <common:AnnotationText xml:lang="en">Estimates are final intercensal up to 2015, final postcensal for 2016, updated postcensal for 2017 and 2018 and preliminary postcensal for 2019.</common:AnnotationText>
            <common:AnnotationText xml:lang="fr">Les estimations sont intercensitaires définitives jusqu'en 2015, postcensitaires définitives pour 2016, postcensitaires mises à jour pour 2017 et 2018 et postcensitaires provisoires pour 2019.</common:AnnotationText>
          </common:Annotation>
          <common:Annotation>
            <common:AnnotationType>Footnote</common:AnnotationType>
            <common:AnnotationText xml:lang="en">Population estimates for Northwest Territories and Nunavut are presented separately from 1991.</common:AnnotationText>
            <common:AnnotationText xml:lang="fr">Les estimations de la population des Territoires du Nord-Ouest et du Nunavut sont présentées séparément à partir de 1991.</common:AnnotationText>
          </common:Annotation>
          <common:Annotation>
            <common:AnnotationType>Footnote</common:AnnotationType>
            <common:AnnotationText xml:lang="en">Prior to 1991, only estimates of population for Northwest Territories and Nunavut combined are available.</common:AnnotationText>
            <common:AnnotationText xml:lang="fr">Avant 1991, seules les estimations de la population des Territoires du Nord-Ouest et du Nunavut combinées sont disponibles.</common:AnnotationText>
          </common:Annotation>
          <common:Annotation>
            <common:AnnotationType>Footnote</common:AnnotationType>
            <common:AnnotationText xml:lang="en">Age at last birthday in years.</common:AnnotationText>
            <common:AnnotationText xml:lang="fr">Âge atteint au dernier anniversaire en années révolues.</common:AnnotationText>
          </common:Annotation>
          <common:Annotation>
            <common:AnnotationType>Footnote</common:AnnotationType>
            <common:AnnotationText xml:lang="en">Data for persons aged 90 to 100 years and over will be available from 2001.</common:AnnotationText>
            <common:AnnotationText xml:lang="fr">Les données des personnes âgées de 90 à 100 ans et plus sont disponibles à partir de 2001.</common:AnnotationText>
          </common:Annotation>
          <common:Annotation>
            <common:AnnotationType>Footnote</common:AnnotationType>
            <common:AnnotationText xml:lang="en">The population growth, which is used to calculate population estimates, is comprised of the natural growth (Tables 17100006 and 17100016), international migration (Table 17100014) and interprovincial migration (Table 17100015).</common:AnnotationText>
            <common:AnnotationText xml:lang="fr">L'accroissement démographique qui sert au calcul des estimations de la population, est composé de l'accroissement naturel (Tableaux 17100006 et 17100016), de la migration internationale (Tableau 17100014) et de la migration interprovinciale (Tableau 17100015).</common:AnnotationText>
          </common:Annotation>
          <common:Annotation>
            <common:AnnotationTitle>Cansim ID / Id Cansim</common:AnnotationTitle>
            <common:AnnotationType>CansimID</common:AnnotationType>
            <common:AnnotationText xml:lang="en">051-0001</common:AnnotationText>
            <common:AnnotationText xml:lang="fr">051-0001</common:AnnotationText>
          </common:Annotation>
          <common:Annotation>
            <common:AnnotationTitle>Frequency / Fréquence</common:AnnotationTitle>
            <common:AnnotationType>freq</common:AnnotationType>
            <common:AnnotationText xml:lang="en">Annual</common:AnnotationText>
            <common:AnnotationText xml:lang="fr">Annuelle</common:AnnotationText>
          </common:Annotation>
          <common:Annotation>
            <common:AnnotationTitle>Subject / Suject</common:AnnotationTitle>
            <common:AnnotationType>subject</common:AnnotationType>
            <common:AnnotationText xml:lang="en">Population and demography</common:AnnotationText>
            <common:AnnotationText xml:lang="fr">Population et démographie</common:AnnotationText>
          </common:Annotation>
          <common:Annotation>
            <common:AnnotationTitle>Variable List / Liste de variables</common:AnnotationTitle>
            <common:AnnotationType>variableList</common:AnnotationType>
            <common:AnnotationText xml:lang="en">CURRENT - a cube available to the public and that is current</common:AnnotationText>
            <common:AnnotationText xml:lang="fr">ACTIF - un cube qui est disponible au public et qui est toujours mise a jour</common:AnnotationText>
          </common:Annotation>
          <common:Annotation>
            <common:AnnotationTitle>URL</common:AnnotationTitle>
            <common:AnnotationType>URL</common:AnnotationType>
            <common:AnnotationText xml:lang="en">https://www150.statcan.gc.ca/t1/tbl1/en/tv.action?pid=1710000501</common:AnnotationText>
            <common:AnnotationText xml:lang="fr">https://www150.statcan.gc.ca/t1/tbl1/fr/tv.action?pid=1710000501</common:AnnotationText>
          </common:Annotation>
          <common:Annotation />
          <common:Annotation />
        </common:Annotations>
        <common:Name xml:lang="en">Data Structure of Population estimates on July 1st, by age and sex</common:Name>
        <structure:DataStructureComponents>
          <structure:DimensionList id="DimensionDescriptor" urn="urn:sdmx:org.sdmx.infomodel.datastructure.DimensionDescriptor=StatCan:Data_Structure_17100005(1.0).DimensionDescriptor">
            <structure:Dimension id="Geography" urn="urn:sdmx:org.sdmx.infomodel.datastructure.Dimension=StatCan:Data_Structure_17100005(1.0).Geography" position="1">
              <structure:ConceptIdentity>
                <Ref id="Geography" maintainableParentID="CONCEPTS_17100005" maintainableParentVersion="1.0" agencyID="StatCan" package="conceptscheme" class="Concept" />
              </structure:ConceptIdentity>
              <structure:LocalRepresentation>
                <structure:Enumeration>
                  <Ref id="CL_17100005_Geography" version="1.0" agencyID="StatCan" package="codelist" class="Codelist" />
                </structure:Enumeration>
              </structure:LocalRepresentation>
            </structure:Dimension>
            <structure:Dimension id="Sex" urn="urn:sdmx:org.sdmx.infomodel.datastructure.Dimension=StatCan:Data_Structure_17100005(1.0).Sex" position="2">
              <structure:ConceptIdentity>
                <Ref id="Sex" maintainableParentID="CONCEPTS_17100005" maintainableParentVersion="1.0" agencyID="StatCan" package="conceptscheme" class="Concept" />
              </structure:ConceptIdentity>
              <structure:LocalRepresentation>
                <structure:Enumeration>
                  <Ref id="CL_17100005_Sex" version="1.0" agencyID="StatCan" package="codelist" class="Codelist" />
                </structure:Enumeration>
              </structure:LocalRepresentation>
            </structure:Dimension>
            <structure:Dimension id="Age_group" urn="urn:sdmx:org.sdmx.infomodel.datastructure.Dimension=StatCan:Data_Structure_17100005(1.0).Age_group" position="3">
              <structure:ConceptIdentity>
                <Ref id="Age_group" maintainableParentID="CONCEPTS_17100005" maintainableParentVersion="1.0" agencyID="StatCan" package="conceptscheme" class="Concept" />
              </structure:ConceptIdentity>
              <structure:LocalRepresentation>
                <structure:Enumeration>
                  <Ref id="CL_17100005_Age_group" version="1.0" agencyID="StatCan" package="codelist" class="Codelist" />
                </structure:Enumeration>
              </structure:LocalRepresentation>
            </structure:Dimension>
            <structure:TimeDimension id="TIME_PERIOD" urn="urn:sdmx:org.sdmx.infomodel.datastructure.TimeDimension=StatCan:Data_Structure_17100005(1.0).TIME_PERIOD" position="4">
              <structure:ConceptIdentity>
                <Ref id="TIME_PERIOD" maintainableParentID="CONCEPTS_17100005" maintainableParentVersion="1.0" agencyID="StatCan" package="conceptscheme" class="Concept" />
              </structure:ConceptIdentity>
              <structure:LocalRepresentation>
                <structure:TextFormat textType="ObservationalTimePeriod" />
              </structure:LocalRepresentation>
            </structure:TimeDimension>
          </structure:DimensionList>
          <structure:AttributeList id="AttributeDescriptor" urn="urn:sdmx:org.sdmx.infomodel.datastructure.AttributeDescriptor=StatCan:Data_Structure_17100005(1.0).AttributeDescriptor">
            <structure:Attribute id="UOM" urn="urn:sdmx:org.sdmx.infomodel.datastructure.DataAttribute=StatCan:Data_Structure_17100005(1.0).UOM" assignmentStatus="Mandatory">
              <structure:ConceptIdentity>
                <Ref id="UOM" maintainableParentID="CONCEPTS_17100005" maintainableParentVersion="1.0" agencyID="StatCan" package="conceptscheme" class="Concept" />
              </structure:ConceptIdentity>
              <structure:LocalRepresentation>
                <structure:Enumeration>
                  <Ref id="CL_17100005_UOM" version="1.0" agencyID="StatCan" package="codelist" class="Codelist" />
                </structure:Enumeration>
              </structure:LocalRepresentation>
              <structure:AttributeRelationship>
                <structure:Dimension>
                  <Ref id="Geography" />
                </structure:Dimension>
                <structure:Dimension>
                  <Ref id="Sex" />
                </structure:Dimension>
                <structure:Dimension>
                  <Ref id="Age_group" />
                </structure:Dimension>
              </structure:AttributeRelationship>
            </structure:Attribute>
            <structure:Attribute id="DGUID" urn="urn:sdmx:org.sdmx.infomodel.datastructure.DataAttribute=StatCan:Data_Structure_17100005(1.0).DGUID" assignmentStatus="Conditional">
              <structure:ConceptIdentity>
                <Ref id="DGUID" maintainableParentID="CONCEPTS_17100005" maintainableParentVersion="1.0" agencyID="StatCan" package="conceptscheme" class="Concept" />
              </structure:ConceptIdentity>
              <structure:LocalRepresentation>
                <structure:Enumeration>
                  <Ref id="CL_17100005_DGUID" version="1.0" agencyID="StatCan" package="codelist" class="Codelist" />
                </structure:Enumeration>
              </structure:LocalRepresentation>
              <structure:AttributeRelationship>
                <structure:Dimension>
                  <Ref id="Geography" />
                </structure:Dimension>
                <structure:Dimension>
                  <Ref id="Sex" />
                </structure:Dimension>
                <structure:Dimension>
                  <Ref id="Age_group" />
                </structure:Dimension>
              </structure:AttributeRelationship>
            </structure:Attribute>
            <structure:Attribute id="SCALAR_FACTOR" urn="urn:sdmx:org.sdmx.infomodel.datastructure.DataAttribute=StatCan:Data_Structure_17100005(1.0).SCALAR_FACTOR" assignmentStatus="Mandatory">
              <structure:ConceptIdentity>
                <Ref id="SCALAR_FACTOR" maintainableParentID="CONCEPTS_17100005" maintainableParentVersion="1.0" agencyID="StatCan" package="conceptscheme" class="Concept" />
              </structure:ConceptIdentity>
              <structure:LocalRepresentation>
                <structure:Enumeration>
                  <Ref id="CL_17100005_SCALAR_FACTOR" version="1.0" agencyID="StatCan" package="codelist" class="Codelist" />
                </structure:Enumeration>
              </structure:LocalRepresentation>
              <structure:AttributeRelationship>
                <structure:Dimension>
                  <Ref id="Geography" />
                </structure:Dimension>
                <structure:Dimension>
                  <Ref id="Sex" />
                </structure:Dimension>
                <structure:Dimension>
                  <Ref id="Age_group" />
                </structure:Dimension>
              </structure:AttributeRelationship>
            </structure:Attribute>
            <structure:Attribute id="VECTOR_ID" urn="urn:sdmx:org.sdmx.infomodel.datastructure.DataAttribute=StatCan:Data_Structure_17100005(1.0).VECTOR_ID" assignmentStatus="Mandatory">
              <structure:ConceptIdentity>
                <Ref id="VECTOR_ID" maintainableParentID="CONCEPTS_17100005" maintainableParentVersion="1.0" agencyID="StatCan" package="conceptscheme" class="Concept" />
              </structure:ConceptIdentity>
              <structure:AttributeRelationship>
                <structure:Dimension>
                  <Ref id="Geography" />
                </structure:Dimension>
                <structure:Dimension>
                  <Ref id="Sex" />
                </structure:Dimension>
                <structure:Dimension>
                  <Ref id="Age_group" />
                </structure:Dimension>
              </structure:AttributeRelationship>
            </structure:Attribute>
            <structure:Attribute id="NB_DECIMAL" urn="urn:sdmx:org.sdmx.infomodel.datastructure.DataAttribute=StatCan:Data_Structure_17100005(1.0).NB_DECIMAL" assignmentStatus="Mandatory">
              <structure:ConceptIdentity>
                <Ref id="NB_DECIMAL" maintainableParentID="CONCEPTS_17100005" maintainableParentVersion="1.0" agencyID="StatCan" package="conceptscheme" class="Concept" />
              </structure:ConceptIdentity>
              <structure:AttributeRelationship>
                <structure:Dimension>
                  <Ref id="Geography" />
                </structure:Dimension>
                <structure:Dimension>
                  <Ref id="Sex" />
                </structure:Dimension>
                <structure:Dimension>
                  <Ref id="Age_group" />
                </structure:Dimension>
              </structure:AttributeRelationship>
            </structure:Attribute>
            <structure:Attribute id="SYMBOL" urn="urn:sdmx:org.sdmx.infomodel.datastructure.DataAttribute=StatCan:Data_Structure_17100005(1.0).SYMBOL" assignmentStatus="Conditional">
              <structure:ConceptIdentity>
                <Ref id="SYMBOL" maintainableParentID="CONCEPTS_17100005" maintainableParentVersion="1.0" agencyID="StatCan" package="conceptscheme" class="Concept" />
              </structure:ConceptIdentity>
              <structure:LocalRepresentation>
                <structure:Enumeration>
                  <Ref id="CL_17100005_SYMBOL" version="1.0" agencyID="StatCan" package="codelist" class="Codelist" />
                </structure:Enumeration>
              </structure:LocalRepresentation>
              <structure:AttributeRelationship>
                <structure:PrimaryMeasure>
                  <Ref id="OBS_VALUE" />
                </structure:PrimaryMeasure>
              </structure:AttributeRelationship>
            </structure:Attribute>
            <structure:Attribute id="STATUS_CAN" urn="urn:sdmx:org.sdmx.infomodel.datastructure.DataAttribute=StatCan:Data_Structure_17100005(1.0).STATUS_CAN" assignmentStatus="Conditional">
              <structure:ConceptIdentity>
                <Ref id="STATUS_CAN" maintainableParentID="CONCEPTS_17100005" maintainableParentVersion="1.0" agencyID="StatCan" package="conceptscheme" class="Concept" />
              </structure:ConceptIdentity>
              <structure:LocalRepresentation>
                <structure:Enumeration>
                  <Ref id="CL_17100005_STATUS_CAN" version="1.0" agencyID="StatCan" package="codelist" class="Codelist" />
                </structure:Enumeration>
              </structure:LocalRepresentation>
              <structure:AttributeRelationship>
                <structure:PrimaryMeasure>
                  <Ref id="OBS_VALUE" />
                </structure:PrimaryMeasure>
              </structure:AttributeRelationship>
            </structure:Attribute>
            <structure:Attribute id="TERMINATED" urn="urn:sdmx:org.sdmx.infomodel.datastructure.DataAttribute=StatCan:Data_Structure_17100005(1.0).TERMINATED" assignmentStatus="Conditional">
              <structure:ConceptIdentity>
                <Ref id="TERMINATED" maintainableParentID="CONCEPTS_17100005" maintainableParentVersion="1.0" agencyID="StatCan" package="conceptscheme" class="Concept" />
              </structure:ConceptIdentity>
              <structure:LocalRepresentation>
                <structure:Enumeration>
                  <Ref id="CL_17100005_TERMINATED" version="1.0" agencyID="StatCan" package="codelist" class="Codelist" />
                </structure:Enumeration>
              </structure:LocalRepresentation>
              <structure:AttributeRelationship>
                <structure:Dimension>
                  <Ref id="Geography" />
                </structure:Dimension>
                <structure:Dimension>
                  <Ref id="Sex" />
                </structure:Dimension>
                <structure:Dimension>
                  <Ref id="Age_group" />
                </structure:Dimension>
              </structure:AttributeRelationship>
            </structure:Attribute>
            <structure:Attribute id="SECURITY_LEVEL" urn="urn:sdmx:org.sdmx.infomodel.datastructure.DataAttribute=StatCan:Data_Structure_17100005(1.0).SECURITY_LEVEL" assignmentStatus="Conditional">
              <structure:ConceptIdentity>
                <Ref id="SECURITY_LEVEL" maintainableParentID="CONCEPTS_17100005" maintainableParentVersion="1.0" agencyID="StatCan" package="conceptscheme" class="Concept" />
              </structure:ConceptIdentity>
              <structure:LocalRepresentation>
                <structure:Enumeration>
                  <Ref id="CL_17100005_SECURITY_LEVEL" version="1.0" agencyID="StatCan" package="codelist" class="Codelist" />
                </structure:Enumeration>
              </structure:LocalRepresentation>
              <structure:AttributeRelationship>
                <structure:PrimaryMeasure>
                  <Ref id="OBS_VALUE" />
                </structure:PrimaryMeasure>
              </structure:AttributeRelationship>
            </structure:Attribute>
          </structure:AttributeList>
          <structure:MeasureList id="MeasureDescriptor" urn="urn:sdmx:org.sdmx.infomodel.datastructure.MeasureDescriptor=StatCan:Data_Structure_17100005(1.0).MeasureDescriptor">
            <structure:PrimaryMeasure id="OBS_VALUE" urn="urn:sdmx:org.sdmx.infomodel.datastructure.PrimaryMeasure=StatCan:Data_Structure_17100005(1.0).OBS_VALUE">
              <structure:ConceptIdentity>
                <Ref id="OBS_VALUE" maintainableParentID="CONCEPTS_17100005" maintainableParentVersion="1.0" agencyID="StatCan" package="conceptscheme" class="Concept" />
              </structure:ConceptIdentity>
            </structure:PrimaryMeasure>
          </structure:MeasureList>
        </structure:DataStructureComponents>
      </structure:DataStructure>
    </structure:DataStructures>
  </message:Structures>
</message:Structure>

Négociation de contenu

À l'aide du mécanisme de négociation de contenu HTTP, vous pouvez sélectionner la représentation de données à retourner et vous pouvez également indiquer au service de comprimer les données à retourner.

Sélection du format

Les formats de données suivants sont pris en charge par le service Web :

  • Formats de données :
    • SDMX-ML 2.1 Format de données génériques : application/vnd.sdmx.genericdata+xml;version=2.1. Il s'agit de la valeur par défaut pour les requêtes de données.
    • SDMX-ML 2.1 Données particulières à une structure : application/vnd.sdmx.structurespecificdata+xml;version=2.1
    • SDMX-JSON (en anglais seulement) : application/vnd.sdmx.data+json;version=1.0.0-wd
    • CSV: text/csv
  • Formats de métadonnées :
    • SDMX-ML Format de la structure : application/vnd.sdmx.structure+xml;version=2.1

Pour obtenir de plus amples renseignements sur les divers formats SDMX-ML, veuillez vous reporter à la documentation sur le format SDMX (en anglais seulement).

Les types MIME génériques (application/json, application/xml) sont également pris en charge, mais ils indiqueront toujours la plus récente version des formats SDMX pris en charge par ces services Web. Cette version changera dans le futur, chaque fois que de nouvelles versions des divers formats SDMX seront disponibles.

Par conséquent, il est fortement recommandé que les responsables de la mise en œuvre utilisent l'un des types MIME particuliers susmentionnés, plutôt qu'un type MIME générique, pour éviter tout problème avec de nouvelles versions de formats.

Compression des résultats

Vous pouvez également activer la compression des données en utilisant le champ Accept-Encoding HTTP header. Les messages comprimés sont généralement considérablement plus petits que les messages non comprimés, ce qui peut mener à des améliorations au moment du transfert de grandes quantités de données sur le réseau.

Codes d'état

Le service Web retourne les codes d'état HTTP suivants :

Codes d'état HTTP
Code État Description
200 OK Votre requête pourrait être traitée avec succès et les données avoir été retournées.
304 Aucune modification Aucune modification depuis l'horodatage fourni dans l'en-tête If-Modified-Since.
400 Erreur de syntaxe En cas de problème syntaxique ou sémantique avec les paramètres que vous avez fournis, le code d'état HTTP 400 sera retourné.
404 Aucun résultat trouvé Le code d'état HTTP 404 sera retourné si aucun résultat ne correspond à la requête.
406 Inacceptable Si vous demandez une représentation de ressource que nous ne prenons pas en charge, le code d'état HTTP 406 sera retourné. Reportez-vous à la section sur la négociation de contenu (en anglais seulement) pour visualiser les représentations prises en charge.
500 Erreur interne du serveur En cas de problème de notre côté, le code d'état HTTP 500 sera retourné. N'hésitez pas à essayer de nouveau plus tard ou à communiquer avec notre assistance téléphonique.
501 Aucune mise en œuvre Ce service Web offre un sous-ensemble de la fonctionnalité offerte par la spécification du service Web SDMX RESTful. Quand vous utilisez une fonction que nous n'avons pas encore mise en œuvre, le code d'état HTTP 501 sera retourné.
503 Service non accessible Si notre service Web est temporairement indisponible, le code d'état HTTP 503 sera retourné.

Conseils utiles

Le groupe de travail technique SDMX publie une liste de conseils et d'astuces pour les clients du service Web (en anglais seulement), lesquels valent la peine d'être lus.

Le groupe de travail technique SDMX a également publié un aide-mémoire (PDF, 83 Ko) (en anglais seulement) qui résume, sur deux pages A4, les principaux points de l'API SDMX 2.1 RESTful.

Si la documentation ne contient pas les renseignements dont vous avez besoin, ou si vous avez des commentaires généraux ou une rétroaction au sujet de notre service Web, veuillez communiquer avec nous.

Toutes les requêtes d'échantillon dans le présent tutoriel peuvent également être exécutées à l'aide d'outils en ligne de commande comme curl ou wget :

wget -O data.xml \
--header="Accept:application/vnd.sdmx.structurespecificdata+xml;version=2.1" \
https://sdw-wsrest.ecb.europa.eu/service/data/EXR/M.NOK.EUR.SP00.A
curl -k -o data.xml \
--header "Accept:application/vnd.sdmx.structurespecificdata+xml;version=2.1" \
https://sdw-wsrest.ecb.europa.eu/service/data/EXR/M.NOK.EUR.SP00.A

Annexe 1

Tableau 17100005 - Estimations de la population au 1er juillet, par âge et sexe

Thumb - Tableau 17100005 - Estimations de la population au 1er juillet, par âge et sexe

1ière dimension – Géographie
Codes pour 1ière dimension – Géographie
Code Name_en
1 Canada
2 Terre-Neuve-et-Labrador
3 Île-du-Prince-Édouard
4 Nouvelle-Écosse
5 Nouveau-Brunswick
6 Québec
7 Ontario
8 Manitoba
9 Saskatchewan
10 Alberta
11 Colombie-Britannique
12 Yukon
13 Territoires du Nord-Ouest incluant Nunavut
14 Territoires du Nord-Ouest
15 Nunavut
2ième dimension – Sexe
Codes pour 2ième dimension – Sexe
Code Name_en
1 Les deux sexes
2 Hommes
3 Femmes
3ième dimension - Âge
Codes pour 3ième dimension - Âge
Code Name_en
1 Tous Âges
2 0 an
3 1 an
4 2 ans
5 3 ans
6 4 ans
7 0 à 4 ans
8 5 ans
9 6 ans
10 7 ans
11 8 ans
12 9 ans
13 5 à 9 ans
14 10 ans
15 11 ans
16 12 ans
17 13 ans
18 14 ans
19 10 à 14 ans
20 15 ans
21 16 ans
22 17 ans
23 18 ans
24 19 ans
25 15 à 19 ans
26 20 ans
27 21 ans
28 22 ans
29 23 ans
30 24 ans
31 20 à 24 ans
32 25 ans
33 26 ans
34 27 ans
35 28 ans
36 29 ans
37 25 à 29 ans
38 30 ans
39 31 ans
40 32 ans
41 33 ans
42 34 ans
43 30 à 34 ans
44 35 ans
45 36 ans
46 37 ans
47 38 ans
48 39 ans
49 35 à 39 ans
50 40 ans
51 41 ans
52 42 ans
53 43 ans
54 44 ans
55 40 à 44 ans
56 45 ans
57 46 ans
58 47 ans
59 48 ans
60 49 ans
61 45 à 49 ans
62 50 ans
63 51 ans
64 52 ans
65 53 ans
66 54 ans
67 50 à 54 ans
68 55 ans
69 56 ans
70 57 ans
71 58 ans
72 59 ans
73 55 à 59 ans
74 60 ans
75 61 ans
76 62 ans
77 63 ans
78 64 ans
79 60 à 64 ans
80 65 ans
81 66 ans
82 67 ans
83 68 ans
84 69 ans
85 65 à 69 ans
86 70 à 74 ans
87 75 à 79 ans
88 80 à 84 ans
89 85 à 89 ans
90 90 ans et plus
91 0 à 14 ans
92 0 à 15 ans
93 0 à 16 ans
94 0 à 17 ans
95 15 à 49 ans
96 15 à 64 ans
97 16 à 64 ans
98 17 à 64 ans
99 18 à 24 ans
100 18 à 64 ans
101 18 ans et plus
102 25 à 44 ans
103 45 à 64 ans
104 65 ans et plus
105 Âge médian
106 70 ans
107 71 ans
108 72 ans
109 73 ans
110 74 ans
111 75 ans
112 76 ans
113 77 ans
114 78 ans
115 79 ans
116 80 ans
117 81 ans
118 82 ans
119 83 ans
120 84 ans
121 85 ans
122 86 ans
123 87 ans
124 88 ans
125 89 ans
126 90 à 94 ans
127 90 ans
128 91 ans
129 92 ans
130 93 ans
131 94 ans
132 95 à 99 ans
133 95 ans
134 96 ans
135 97 ans
136 98 ans
137 99 ans
138 100 ans et plus

Annexe 2 : Exemples utilisant CURL

Exemples de structure SDMX:

curl -X GET -k -i 'https://www150.statcan.gc.ca/t1/wds/sdmx/statcan/rest/structure/Data_Structure_13100101'

curl -X GET -k -i 'https://www150.statcan.gc.ca/t1/wds/sdmx/statcan/v1/rest/structure/Data_Structure_13100101'

pid=13100101

curl -X GET -k -H 'Accept: application/vnd.sdmx.structure+xml;version=2.1' -i 'https://www150.statcan.gc.ca/t1/wds/sdmx/statcan/rest/structure/Data_Structure_13100101'

curl -X GET -k -H 'Accept: application/vnd.sdmx.structure+xml;version=2.1' -i 'https://www150.statcan.gc.ca/t1/wds/sdmx/statcan/v1/rest/structure/Data_Structure_13100101'

pid=13100101

Header:

Accept: application/vnd.sdmx.structure+xml;version=2.1

curl -X GET -k -H 'Accept: application/xml' -i 'https://www150.statcan.gc.ca/t1/wds/sdmx/statcan/rest/structure/Data_Structure_13100101'

curl -X GET -k -H 'Accept: application/xml' -i 'https://www150.statcan.gc.ca/t1/wds/sdmx/statcan/v1/rest/structure/Data_Structure_13100101'

pid=13100101

Header:

Accept: application/xml

Exemples de données SDMX:

curl -X GET -k -H 'Accept: application/vnd.sdmx.structurespecificdata+xml;version=2.1' -i 'https://www150.statcan.gc.ca/t1/wds/sdmx/statcan/rest/data/DF_13100101/1.1.1+2+3+4?startPeriod=2014&endPeriod=2015'

curl -X GET -k -H 'Accept: application/vnd.sdmx.structurespecificdata+xml;version=2.1' -i 'https://www150.statcan.gc.ca/t1/wds/sdmx/statcan/v1/rest/data/DF_13100101/1.1.1+2+3+4?startPeriod=2014&endPeriod=2015'

pid = 13100101

Header:

Accept: application/vnd.sdmx.structurespecificdata+xml;version=2.1
dimensions are separated by "." and members are separated by "+". The date format should be "yyyy-mm-dd". if value of "day" is missing, the default value is "01"

curl -X GET -k -H 'Accept: application/vnd.sdmx.data+json;version=1.0.0-wd' -i 'https://www150.statcan.gc.ca/t1/wds/sdmx/statcan/rest/data/DF_18100002/1.1+2?startPeriod=2018-01&endPeriod=2018-05'

curl -X GET -k -H 'Accept: application/vnd.sdmx.data+json;version=1.0.0-wd' -i 'https://www150.statcan.gc.ca/t1/wds/sdmx/statcan/v1/rest/data/DF_18100002/1.1+2?startPeriod=2018-01&endPeriod=2018-05'

pid = 18100102

Header:

Accept: application/vnd.sdmx.data+json;version=1.0.0-wd

curl -X GET -k -H 'Accept: application/vnd.sdmx.genericdata+xml;version=2.1' -i 'https://www150.statcan.gc.ca/t1/wds/sdmx/statcan/rest/data/DF_13100101/1.1.1+2+3+4?startPeriod=2014&endPeriod=2015'

curl -X GET -k -H 'Accept: application/vnd.sdmx.genericdata+xml;version=2.1' -i 'https://www150.statcan.gc.ca/t1/wds/sdmx/statcan/v1/rest/data/DF_13100101/1.1.1+2+3+4?startPeriod=2014&endPeriod=2015'

pid = 13100101

Header:

Accept: application/vnd.sdmx.genericdata+xml;version=2.1

curl -X GET -k -H 'Accept: application/xml' -i 'https://www150.statcan.gc.ca/t1/wds/sdmx/statcan/rest/data/DF_13100101/1.1.1+2+3+4?startPeriod=2014&endPeriod=2015'

curl -X GET -k -H 'Accept: application/xml' -i 'https://www150.statcan.gc.ca/t1/wds/sdmx/statcan/v1/rest/data/DF_13100101/1.1.1+2+3+4?startPeriod=2014&endPeriod=2015'

pid = 13100101

Header:

Accept: application/xml

curl -X GET -k -H 'Accept: application/json' -i 'https://www150.statcan.gc.ca/t1/wds/sdmx/statcan/rest/data/DF_13100101/1.1.1+2+3+4?startPeriod=2014&endPeriod=2015'

curl -X GET -k -H 'Accept: application/json' -i 'https://www150.statcan.gc.ca/t1/wds/sdmx/statcan/v1/rest/data/DF_13100101/1.1.1+2+3+4?startPeriod=2014&endPeriod=2015'

pid = 13100101

Header:

Accept: application/xml

curl -X GET -k -H 'Accept: application/json' -i 'https://www150.statcan.gc.ca/t1/wds/sdmx/statcan/rest/data/DF_13100101/1.1.1+2+3+4?firstNObservations=1'

curl -X GET -k -H 'Accept: application/json' -i 'https://www150.statcan.gc.ca/t1/wds/sdmx/statcan/v1/rest/data/DF_13100101/1.1.1+2+3+4?firstNObservations=1'

curl -X GET -k -H 'Accept: application/xml' -i 'https://www150.statcan.gc.ca/t1/wds/sdmx/statcan/rest/data/DF_13100101/1.1.1+2+3+4?lastNObservations=1'

curl -X GET -k -H 'Accept: application/xml' -i 'https://www150.statcan.gc.ca/t1/wds/sdmx/statcan/v1/rest/data/DF_13100101/1.1.1+2+3+4?lastNObservations=1'

Exemples utilisant vecteur

curl -X GET -k -H 'Accept: application/xml' -i 'https://www150.statcan.gc.ca/t1/wds/sdmx/statcan/rest/vector/v114809245?lastNObservations=1'

curl -X GET -k -H 'Accept: application/xml' -i 'https://www150.statcan.gc.ca/t1/wds/sdmx/statcan/v1/rest/vector/v114809245?lastNObservations=1'

curl -X GET -k -H 'Accept: application/json' -i 'https://www150.statcan.gc.ca/t1/wds/sdmx/statcan/rest/vector/v114809245?firstNObservations=1'

curl -X GET -k -H 'Accept: application/json' -i 'https://www150.statcan.gc.ca/t1/wds/sdmx/statcan/v1/rest/vector/v114809245?firstNObservations=1'
Date de modification :