Difference between revisions of "Codelist"

From Fusion Registry Wiki
Jump to navigation Jump to search
m
Line 2: Line 2:
 
[[Category:SDMX Structures]]
 
[[Category:SDMX Structures]]
 
=Overview=
 
=Overview=
An SDMX Codelist is a list of classification codes.
+
An SDMX Codelist is a managed list of classification codes.
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 17: Line 17:
 
| Concept ID || CODELIST
 
| Concept ID || CODELIST
 
|}
 
|}
=Information Model Context=
+
=SDMX Information Model=
 
=Usage=
 
=Usage=
SDMX Codelists are lists of classification codes principally used for defining the 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'.
+
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>
 +
By convention, the Codelist IDs are given a 'CL_' prefix to
 +
=Examples=
 +
==A Simple Frequency Codelist: CL_FREQ==
 +
{| class="wikitable"
 +
|-
 +
! Code ID !! Code Name
 +
|-
 +
| A || Annual
 +
|-
 +
| S || Half-yearly, semester
 +
|-
 +
| Q || Quarterly
 +
|-
 +
| M || Monthly
 +
|-
 +
| W || Weekly
 +
|-
 +
| D || Daily
 +
|-
 +
| B || Daily - Business Week
 +
|-
 +
| N || Minutely
 +
|}

Revision as of 05:22, 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. 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'.
By convention, the Codelist IDs are given a 'CL_' prefix to

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