Difference between revisions of "Hierarchical Codelist"

From FMR Knowledge Base
Jump to navigation Jump to search
(Overview)
 
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:SDMX Structures]]
+
__NOTOC__
 +
[[Category:SDMX 2.1 Structures]]
 
=Overview=
 
=Overview=
Hierarchical Codelists enable the construction of one or more Code Hierarchies (view on top of Codelists).  
+
Hierarchical Codelists are used for data discovery by allowing complex hierarchies of codes to be defined, potentially from multiple different code lists. Software tools designed for users to explore and search a catalogue of data sets typically use Hierarchical Codelists to display a tree structure much like Windows File Explorer.
 +
 
 +
In SDMX 2.1, Hierarchical Codelists do not explicitly link to any other structures like Dataflows. As such, the result of a user choosing a code is left entirely to the designers of the tools.
 +
 
 +
The principal features of the '''Hierarchical Codelist''' are:
 +
* A child code can have more than one parent.
 +
* There can be more than one code that has no parent (known as Root codes in the Registry).
 +
* There may be many hierarchies (or “views”) defined, in terms of the associations between the codes. Each hierarchy serves a particular purpose in the reporting, analysis, or dissemination of data.
 +
* The levels in a hierarchy can be explicitly defined or they can be implicit: (i.e., they exist only as parent/child relationships in the coding structure).
 +
 
 
==Structure Properties==
 
==Structure Properties==
 
{| class="wikitable"
 
{| class="wikitable"
Line 8: Line 18:
 
|-
 
|-
 
! scope=row style="text-align: left;"  | Maintainable
 
! scope=row style="text-align: left;"  | Maintainable
| [[Maintainable|Yes]]
+
| [[Maintainable V10|Yes]]
 
|-
 
|-
 
! scope=row style="text-align: left;"  | Identifiable
 
! scope=row style="text-align: left;"  | Identifiable
| [[Identifiable|Yes]]
+
| [[Identifiable V10|Yes]]
 
|-
 
|-
 
! scope=row style="text-align: left;"  | Item Scheme
 
! scope=row style="text-align: left;"  | Item Scheme
| [[Item_Scheme|Yes]]
+
| [[Item_Scheme_V10|Yes]]
  
 
|-
 
|-
 
! scope=row style="text-align: left;"  | SDMX Information Model Versions  
 
! scope=row style="text-align: left;"  | SDMX Information Model Versions  
| 1.0, 2.0, 2.1
+
| 2.0, 2.1
 
|-
 
|-
! scope=row style="text-align: left;"  | URN - ConceptScheme namespace
+
! scope=row style="text-align: left;"  | URN - HierarchicalCodelist namespace
| <nowiki>urn:sdmx:org.sdmx.infomodel.conceptscheme.ConceptScheme</nowiki>
+
| <nowiki>urn:sdmx:org.sdmx.infomodel.codelist.hierarchicalcodelist </nowiki>
 
|-
 
|-
! scope=row style="text-align: left;"  | URN - concept namespace
 
| <nowiki>urn:sdmx:org.sdmx.infomodel.concept.Concept</nowiki>
 
 
|}
 
|}
  
 
==Context within the SDMX 2.1 Information Model==
 
==Context within the SDMX 2.1 Information Model==
  
[[File:HCL1.png|900px]]<br>
+
[[File:HCL1.png|Hierarchical Codelist|600px]]<br>
 +
 
 +
==Usage==
 +
Codes used in the Hierarchical Codelist are not themselves contained in the list. Instead, they are referenced from the lists and are therefore maintained in one of more Codelists. In the Registry, these are known as Referenced Codelists.
  
The schematic illustrates the core artifacts of the SDMX 2.1 Information Model, and how Hierarchical Codelists and Codes fit in.
+
A Hierarchical Codelist may contain many hierarchies and is multi-lingual.
  
==Usage==
+
[[Hierarchal_Codelists|Creating and maintaining Hierarchical Codelists]]
Coming soon.
 
  
 
==Conventions==
 
==Conventions==
 
'''Heirarchial Codelist IDs'''
 
'''Heirarchial Codelist IDs'''
IDs are conventionally uppercase using underscores '_' as separators if required. Examples:
+
IDs are conventionally uppercase using underscores '_' as separators if required.  
  
{| class="wikitable"
+
Note that organisations wishing to be compliant with accepted models for statistical classifications should ensure that the Id is the number associated with the '''Level''', where Levels are numbered consecutively starting with level 1 at the highest Level.
|-
+
 
! Agency !! Heirarchial Codelist !! Description !! SDMX-ML
+
[[Identifiable V10|You can seem more examples and information on Identities in this article]].
|-
 
| ???? || ???? || No examples found || [examples? SDMX-ML]
 
|
 
|}
 

Latest revision as of 03:29, 30 March 2024

Overview

Hierarchical Codelists are used for data discovery by allowing complex hierarchies of codes to be defined, potentially from multiple different code lists. Software tools designed for users to explore and search a catalogue of data sets typically use Hierarchical Codelists to display a tree structure much like Windows File Explorer.

In SDMX 2.1, Hierarchical Codelists do not explicitly link to any other structures like Dataflows. As such, the result of a user choosing a code is left entirely to the designers of the tools.

The principal features of the Hierarchical Codelist are:

  • A child code can have more than one parent.
  • There can be more than one code that has no parent (known as Root codes in the Registry).
  • There may be many hierarchies (or “views”) defined, in terms of the associations between the codes. Each hierarchy serves a particular purpose in the reporting, analysis, or dissemination of data.
  • The levels in a hierarchy can be explicitly defined or they can be implicit: (i.e., they exist only as parent/child relationships in the coding structure).

Structure Properties

Structure Type Standard SDMX Structural Metadata Artefact
Maintainable Yes
Identifiable Yes
Item Scheme Yes
SDMX Information Model Versions 2.0, 2.1
URN - HierarchicalCodelist namespace urn:sdmx:org.sdmx.infomodel.codelist.hierarchicalcodelist

Context within the SDMX 2.1 Information Model

Hierarchical Codelist

Usage

Codes used in the Hierarchical Codelist are not themselves contained in the list. Instead, they are referenced from the lists and are therefore maintained in one of more Codelists. In the Registry, these are known as Referenced Codelists.

A Hierarchical Codelist may contain many hierarchies and is multi-lingual.

Creating and maintaining Hierarchical Codelists

Conventions

Heirarchial Codelist IDs IDs are conventionally uppercase using underscores '_' as separators if required.

Note that organisations wishing to be compliant with accepted models for statistical classifications should ensure that the Id is the number associated with the Level, where Levels are numbered consecutively starting with level 1 at the highest Level.

You can seem more examples and information on Identities in this article.