Difference between revisions of "Codelist"

From Fusion Registry Wiki
Jump to navigation Jump to search
(Usage)
Line 20: Line 20:
 
=Usage=
 
=Usage=
 
SDMX Codelists are lists of classification codes principally used for defining the set of allowed values for enumerated components in [[Data Structure Definition|Data Structure Definitions]] or [[Metadata Structure Definition|Metadata Structure Definitions]].<br>
 
SDMX Codelists are lists of classification codes principally used for defining the set of allowed values for enumerated components in [[Data Structure Definition|Data Structure Definitions]] or [[Metadata Structure Definition|Metadata Structure Definitions]].<br>
Each code is treated as a separated [[Item]] so must have an ID and a Name, but can also have an optional Description. Code IDs are unique within a Codelist, but the same Code ID may be safely used in other Codelists. For instance: The code 'A' may be used in a Frequency Codelist to represent 'Annual', but also appear in an Industry Codelist to represent 'Agriculture'.<br>
+
Each code is treated as a separated [[Item]] so must have an ID and a Name, but can also have an optional Description. While Code IDs are unique within a Codelist, the same Code ID may be safely used in other Codelists. For instance: The code 'A' may be used in a Frequency Codelist to represent 'Annual', but also appear in an Industry Codelist to represent 'Agriculture'.<br>
By convention, the Codelist IDs are given a 'CL_' prefix to  
+
By convention, Codelist IDs are given a 'CL_' prefix to distinguish them from other structures. For instance: CL_FREQ, CL_REF_AREA, CL_AGE.
 +
 
 
=Examples=
 
=Examples=
 
==A Simple Frequency Codelist: CL_FREQ==
 
==A Simple Frequency Codelist: CL_FREQ==

Revision as of 05:25, 17 December 2019

Overview

An SDMX Codelist is a managed list of classification codes.

Structure Type Standard SDMX Structural Metadata Artefact
Maintainable Yes
Identifiable Yes
Item Scheme Yes
SDMX Information Model Versions 1.0, 2.0, 2.1
Concept ID CODELIST

SDMX Information Model

Usage

SDMX Codelists are lists of classification codes principally used for defining the set of allowed values for enumerated components in Data Structure Definitions or Metadata Structure Definitions.
Each code is treated as a separated Item so must have an ID and a Name, but can also have an optional Description. While Code IDs are unique within a Codelist, the same Code ID may be safely used in other Codelists. For instance: The code 'A' may be used in a Frequency Codelist to represent 'Annual', but also appear in an Industry Codelist to represent 'Agriculture'.
By convention, Codelist IDs are given a 'CL_' prefix to distinguish them from other structures. For instance: CL_FREQ, CL_REF_AREA, CL_AGE.

Examples

A Simple Frequency Codelist: CL_FREQ

Code ID Code Name
A Annual
S Half-yearly, semester
Q Quarterly
M Monthly
W Weekly
D Daily
B Daily - Business Week
N Minutely