Difference between revisions of "Category Scheme V10"

From FMR Knowledge Base
Jump to navigation Jump to search
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:SDMX Structures]]
+
__NOTOC__[[Category:SDMX 2.1 StructuresV10]]
 +
[[Category:SDMX 2.1 Structures]]
 
=Overview=
 
=Overview=
A Category Scheme is a container for [[Category|Categories]]. An example of a category scheme is one which categorises data - sometimes known as subject matter domain scheme or a data category scheme. The individual Categories can be associated to any set of identifiable Artefacts, known as a Categorisation.
+
A Category Scheme is a container for [[Category|Categories]]. An example of a category scheme is one which categorises data - sometimes known as a subject matter domain scheme or a data category scheme. The individual Categories can be associated to any set of identifiable Artifacts, known as a Categorisation.
 
   
 
   
 
==Structure Properties==
 
==Structure Properties==
Line 9: Line 10:
 
|-
 
|-
 
! 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
Line 28: Line 29:
  
 
==Context within the SDMX 2.1 Information Model==
 
==Context within the SDMX 2.1 Information Model==
[[File:L_CategoryScheme.png|900px]]
+
[[File:L_CategoryScheme.png|Category Scheme|600px]]
 
 
The schematic illustrates the core artefacts of the SDMX 2.1 Information Model, and how Category Schemes, Categorys and Categorisations fit in.
 
  
 
=Usage=
 
=Usage=
Line 52: Line 51:
 
|}
 
|}
  
=Flat Concept Schemes=
+
=Flat Category Schemes=
<p>Flat Concept Schemes are simple lists of codes with no explicit or implied relationships or hierarchies.</p>
+
<p>Flat Category Schemes are simple lists of codes with no explicit or implied relationships or hierarchies.</p>
  
<p> Example: SDMX Cross Domain Concept Scheme</p>
+
<p> Example Category Scheme</p>
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
 
! Code ID !! Code Name !! Description
 
! Code ID !! Code Name !! Description
 
|-
 
|-
| ACC_CONV || Accounting conventions || Practical procedures, standards and other aspects used when compiling data from diverse so...
+
| PUBLIC || Public Sector || Artifacts relating to the Public Sector.
|-
 
| ACCURACY || Accuracy || Closeness of computations or estimates to the unknown exact or true values that the statistics w...
 
|-
 
| ACTION_TYPE || Action type || Behaviour to be undertaken by a system processing the information contained in a SDMX mess...
 
|-
 
| AGE || Age || Length of time that an entity has lived or existed.
 
 
|-
 
|-
| CIVIL_STATUS || Civil status || Legal, conjugal status of each individual in relation to the marriage laws or customs of the countr...
+
| PRIVATE || Private Sector || Artifacts relating to the Private Sector
 
|-
 
|-
 
|}
 
|}
=Concept Schemes with Simple Hierarchies=
+
 
 +
=Category Schemes with Simple Hierarchies=
 
<p>SDMX allows simple hierarchies to be defined within flat Concept Schemes by making a code the parent of codes that logically sit under it in the hierarchy.</p>
 
<p>SDMX allows simple hierarchies to be defined within flat Concept Schemes by making a code the parent of codes that logically sit under it in the hierarchy.</p>
  
<p>Imagine a Concept Scheme including a Concept 'CONTACT' containing individual codes for details such as Name, Address, and Email etc. A simple hierarchy for CONTACT can be created by setting CONTACT as the parent for each of the Contact detail codes:</p>
+
<p>Example: SDMX STAT_SUBJECT_MATTER</p>
  
 
<p>
 
<p>
Line 81: Line 75:
 
! Code ID !! Code Name !! Parent
 
! Code ID !! Code Name !! Parent
 
|-
 
|-
| CONTACT || Contact || (none)
+
| DEMO_SOCIAL_STAT || Demographic and social statistics || (none)
 +
|-
 +
| POP_MIGRATION || Population and migration || DEMO_SOCIAL_STAT
 +
|-
 +
| LABOUR || Labour || DEMO_SOCIAL_STAT
 
|-
 
|-
| CONTACT_NAME || Contact name || CONTACT
+
| EDUCATION || Education || DEMO_SOCIAL_STAT
 
|-
 
|-
 +
|}
 +
A Category can only have one parent meaning that it can only appear once in a simple Category Scheme hierarchy.

Latest revision as of 01:56, 27 March 2024

Overview

A Category Scheme is a container for Categories. An example of a category scheme is one which categorises data - sometimes known as a subject matter domain scheme or a data category scheme. The individual Categories can be associated to any set of identifiable Artifacts, known as a Categorisation.

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 - CategoryScheme namespace urn:sdmx:org.sdmx.infomodel.categorycheme.CategoryScheme
URN - categorisation namespace urn:sdmx:org.sdmx.infomodel.categorycheme.Categorisation

Context within the SDMX 2.1 Information Model

Category Scheme

Usage

Categories are used within a Category Scheme and has the facility to have one or more child codes as well as being multi-lingual.

The SDMX Cross Domain Concept Scheme provides a range of standardised Concepts maintained by the SDMX Statistical Working Group (SWG) and can be viewed on the Global Registry site https://registry.sdmx.org/items/conceptscheme.html.

More information on Category schemes can be found in this article.

Conventions

Category Scheme IDs IDs are conventionally uppercase using underscores '_' as separators if required. Examples:

Agency Category Scheme ID ID Description SDMX-ML
ESTAT ESA2010TP ESA 2010 - Transmission programme [ https://registry.sdmx.org/ws/public/sdmxapi/rest/categoryscheme/ESTAT/ESA2010TP/1.0 SDMX-ML]
SDMX STAT_SUBJECT_MATTER SDMX Statistical Subject-Matter Domains [ https://registry.sdmx.org/ws/public/sdmxapi/rest/categoryscheme/SDMX/STAT_SUBJECT_MATTER/1.0 SDMX-ML]

Flat Category Schemes

Flat Category Schemes are simple lists of codes with no explicit or implied relationships or hierarchies.

Example Category Scheme

Code ID Code Name Description
PUBLIC Public Sector Artifacts relating to the Public Sector.
PRIVATE Private Sector Artifacts relating to the Private Sector

Category Schemes with Simple Hierarchies

SDMX allows simple hierarchies to be defined within flat Concept Schemes by making a code the parent of codes that logically sit under it in the hierarchy.

Example: SDMX STAT_SUBJECT_MATTER

Code ID Code Name Parent
DEMO_SOCIAL_STAT Demographic and social statistics (none)
POP_MIGRATION Population and migration DEMO_SOCIAL_STAT
LABOUR Labour DEMO_SOCIAL_STAT
EDUCATION Education DEMO_SOCIAL_STAT

A Category can only have one parent meaning that it can only appear once in a simple Category Scheme hierarchy.