Changes for page 5 Data Structure Definition and Dataset
Last modified by Artur on 2025/09/10 11:19
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -104,16 +104,15 @@ 104 104 There are three types of dimension each having a common association to Concept: 105 105 106 106 * Dimension 107 -* MeasureDimension TimeDimension 107 +* MeasureDimension 108 +* TimeDimension 108 108 109 109 Note that In the description here //DimensionComponent// can be oany or all of its sub classes i.e. Dimension, MeasureDimension, TimeDimension., and the term “DataAttribute” refers to both DataAttribute and its sub class ReportingYearStartDate. 110 110 111 111 The //DimensionComponent//, DataAttribute, and PrimaryMeasure link to the Concept that defines its name and semantic (/conceptIdentity association to Concept). The DataAttribute, Dimension, and MeasureDimension (but not TimeDimension) can optionally have a +conceptRole association with a Concept that identifies its role in the DataStructureDefinition. Therefore, the allowable roles of a Concept are maintained in a ConceptScheme. Examples of roles are: geography, entity, count, unit of measure. The use of these roles is to enable applications to process the data in a meaningful way (e.g. relating a dimension value to a mapping vector). It is expected that communities (such as the official statistics community) will harmonise these roles with their community so that data can be exchanged and shared in a meaningful way in the community. 112 112 113 -The valid values for a //DimensionComponent//, PrimaryMeasure, or DataAttribute, when used in this DataStructureDefinition, are defined by the Representation. This Representation is taken from the Concept definition (coreRepresentation) unless it is overridden in this DataStructureDefinition (localRepresentation) – see Figure 23. Note that for the MeasureDimension the Representation must be a ConceptScheme and this must always be referenced from the MeasureDimension and cannot therefore be defaulted to the Representation of the Concept associated by the/conceptIdentity. Note also that TimeDimension and ReportingYearStartDate are constrained to specific 114 +The valid values for a //DimensionComponent//, PrimaryMeasure, or DataAttribute, when used in this DataStructureDefinition, are defined by the Representation. This Representation is taken from the Concept definition (coreRepresentation) unless it is overridden in this DataStructureDefinition (localRepresentation) – see Figure 23. Note that for the MeasureDimension the Representation must be a ConceptScheme and this must always be referenced from the MeasureDimension and cannot therefore be defaulted to the Representation of the Concept associated by the/conceptIdentity. Note also that TimeDimension and ReportingYearStartDate are constrained to specific FacetValueTypes 114 114 115 -FacetValueTypes 116 - 117 117 There will always be a DimensionDescriptor grouping that identifies all of the Dimension comprising the full key. Together the Dimensions specify the key of an Observation. 118 118 119 119 The //DimensionComponent// can optionally be grouped by multiple GroupDimensionDescriptors each of which identifies the group of Dimensions that can form a partial key. The GroupDimensionDescriptor must be identified (GroupDimensionDescriptor.id) and this is used in the GroupKey of the DataSet to declare which DataAttributes are reported at this group level in the DataSet. ... ... @@ -137,23 +137,20 @@ 137 137 138 138 The following table details the possible relationships a DataAttribute may specify. Note that these relationships are mutually exclusive, and therefore only one of the following is possible. 139 139 140 -: 141 - 142 142 ((( 143 -|**Relationship**|**Meaning**|**Location in Data Set at which the Attribute is reported** 144 -|None|The value of the attribute does not vary with the values of any other Component.|The attribute is reported at the level of the Dataset Attribute. 140 +(% style="width:1104.83px" %) 141 +|**Relationship**|(% style="width:415px" %)**Meaning**|(% style="width:556px" %)**Location in Data Set at which the Attribute is reported** 142 +|None|(% style="width:415px" %)The value of the attribute does not vary with the values of any other Component.|(% style="width:556px" %)The attribute is reported at the level of the Dataset Attribute. 145 145 |((( 146 146 Dimension 147 147 148 148 (1..n) 149 -)))|The value of the attribute will vary with the value(s) of the referenced Dimension(s). In this case, Group(s) to which the attribute should be attached may optionally be specified.|The attribute is reported at the lowest level of the Dimension to which the Attribute is related, otherwise at the level of the Group if Attachment Group(s) is specified. 150 -|**Relationship**|**Meaning**|**Location in Data Set at which the Attribute is reported** 151 -|Group|((( 152 -The value of the Attribute varies with combination of values for all of the 153 - 154 -Dimensions contained in the Group. This is added as a convenience to listing all Dimensions and the attachment Group, but should only be used when the Attribute value varies based on __all__ Group Dimension values. 155 -)))|The attribute is reported at the level of Group. 156 -|Primary Measure|The value of the Attribute varies with the observed value.|The attribute is reported at the level of Observation. 147 +)))|(% style="width:415px" %)The value of the attribute will vary with the value(s) of the referenced Dimension(s). In this case, Group(s) to which the attribute should be attached may optionally be specified.|(% style="width:556px" %)The attribute is reported at the lowest level of the Dimension to which the Attribute is related, otherwise at the level of the Group if Attachment Group(s) is specified. 148 +|**Relationship**|(% style="width:415px" %)**Meaning**|(% style="width:556px" %)**Location in Data Set at which the Attribute is reported** 149 +|Group|(% style="width:415px" %)((( 150 +The value of the Attribute varies with combination of values for all of the Dimensions contained in the Group. This is added as a convenience to listing all Dimensions and the attachment Group, but should only be used when the Attribute value varies based on __all__ Group Dimension values. 151 +)))|(% style="width:556px" %)The attribute is reported at the level of Group. 152 +|Primary Measure|(% style="width:415px" %)The value of the Attribute varies with the observed value.|(% style="width:556px" %)The attribute is reported at the level of Observation. 157 157 ))) 158 158 159 159 **Figure 25: Representation of DSD Components** ... ... @@ -164,15 +164,16 @@ 164 164 165 165 ==== 5.3.2.2 Definitions ==== 166 166 167 -|**Class**|**Feature**|**Description** 168 -|StructureUsage| |See “SDMX Base”. 163 +(% style="width:1060.83px" %) 164 +|**Class**|**Feature**|(% style="width:695px" %)**Description** 165 +|StructureUsage| |(% style="width:695px" %)See “SDMX Base”. 169 169 |DataflowDefinition|((( 170 170 Inherits from 171 171 //StructureUsage// 172 -)))|Abstract concept (i.e. the structure without any data) of a flow of data that providers will provide for different reference periods. 173 -| |/structure|Associates a Dataflow Definition to the Data Structure Definition. 174 -|DataStructureDefinition| |A collection of metadata concepts, their structure and usage when used to collect or disseminate data. 175 -| |///grouping//|An association to a set of metadata concepts that have an identified structural role in a Data Structure Definition. 169 +)))|(% style="width:695px" %)Abstract concept (i.e. the structure without any data) of a flow of data that providers will provide for different reference periods. 170 +| |/structure|(% style="width:695px" %)Associates a Dataflow Definition to the Data Structure Definition. 171 +|DataStructureDefinition| |(% style="width:695px" %)A collection of metadata concepts, their structure and usage when used to collect or disseminate data. 172 +| |///grouping//|(% style="width:695px" %)An association to a set of metadata concepts that have an identified structural role in a Data Structure Definition. 176 176 |((( 177 177 Group 178 178 ... ... @@ -180,36 +180,36 @@ 180 180 )))|((( 181 181 Inherits from 182 182 //ComponentList// 183 -)))|A set metadata concepts that define a partial key derived from the Dimension Descriptor in a Data Structure Definition. 184 -| |+constraint|Identifies an Attachment Constraint that specifies the sub set of Dimension, Measure, or Attribute values to which an Attribute can be attached. 185 -| |/components|An association to the Dimension and Measure Dimension components that comprise the group. 180 +)))|(% style="width:695px" %)A set metadata concepts that define a partial key derived from the Dimension Descriptor in a Data Structure Definition. 181 +| |+constraint|(% style="width:695px" %)Identifies an Attachment Constraint that specifies the sub set of Dimension, Measure, or Attribute values to which an Attribute can be attached. 182 +| |/components|(% style="width:695px" %)An association to the Dimension and Measure Dimension components that comprise the group. 186 186 |DimensionDescriptor|((( 187 187 Inherits from 188 188 //ComponentList// 189 -)))|An ordered set of metadata concepts that, combined, classify a statistical series, and whose values, when combined (the key) in an instance such as a data set, uniquely identify a specific observation. 190 -| |/components|An association to the Dimension, Measure Dimension, and Time Dimension comprising the Key Descriptor. 186 +)))|(% style="width:695px" %)An ordered set of metadata concepts that, combined, classify a statistical series, and whose values, when combined (the key) in an instance such as a data set, uniquely identify a specific observation. 187 +| |/components|(% style="width:695px" %)An association to the Dimension, Measure Dimension, and Time Dimension comprising the Key Descriptor. 191 191 |AttributeDescriptor|((( 192 192 Inherits from 193 193 //ComponentList// 194 -)))|A set metadata concepts that define the attributes of a Data Structure Definition. 195 -| |/components|An association to a Data Attribute component. 191 +)))|(% style="width:695px" %)A set metadata concepts that define the attributes of a Data Structure Definition. 192 +| |/components|(% style="width:695px" %)An association to a Data Attribute component. 196 196 |MeasureDescriptor|((( 197 197 Inherits from 198 198 199 199 //ComponentList// 200 -)))|A metadata concept that defines the measure of a Data Structure Definition. 201 -| |/components|An association to a measure component. 197 +)))|(% style="width:695px" %)A metadata concept that defines the measure of a Data Structure Definition. 198 +| |/components|(% style="width:695px" %)An association to a measure component. 202 202 |Dimension|((( 203 203 Inherits from 204 204 Component 205 -)))|A metadata concept used (most probably together with other metadata concepts) to classify a statistical series, e.g. a statistical concept indicating a certain economic activity or a geographical reference area. 206 -| |/role|Association to the Concept that specifies the role that that the Dimension plays in the Data Structure Definition. 207 -| |/conceptIdentity|An association to the metadata concept which defines the semantic of the Dimension. 202 +)))|(% style="width:695px" %)A metadata concept used (most probably together with other metadata concepts) to classify a statistical series, e.g. a statistical concept indicating a certain economic activity or a geographical reference area. 203 +| |/role|(% style="width:695px" %)Association to the Concept that specifies the role that that the Dimension plays in the Data Structure Definition. 204 +| |/conceptIdentity|(% style="width:695px" %)An association to the metadata concept which defines the semantic of the Dimension. 208 208 |MeasureDimension|((( 209 209 Inherits from 210 210 211 211 Dimension 212 -)))|A statistical concept that identifies the component in the key structure that has an enumerated list of measures. This dimension has, as its representation the Concept Scheme that enumerates the measure concepts. 209 +)))|(% style="width:695px" %)A statistical concept that identifies the component in the key structure that has an enumerated list of measures. This dimension has, as its representation the Concept Scheme that enumerates the measure concepts. 213 213 |DataAttribute|((( 214 214 Inherits from 215 215 Component ... ... @@ -216,25 +216,25 @@ 216 216 Sub class 217 217 ReportingYear 218 218 StartDay 219 -)))|A characteristic of an object or entity. 220 -| |/role|Association to the Concept that specifies the role that that the Data Attribute plays in the Data Structure Definition. 221 -| |usageStatus|Defines the usage status which is constrained by the data type Usage Status. 222 -| |+relatedTo|Association to a Attribute Relationship. 223 -| |/conceptIdentity|An association to the Concept which defines the semantic of the component. 216 +)))|(% style="width:695px" %)A characteristic of an object or entity. 217 +| |/role|(% style="width:695px" %)Association to the Concept that specifies the role that that the Data Attribute plays in the Data Structure Definition. 218 +| |usageStatus|(% style="width:695px" %)Defines the usage status which is constrained by the data type Usage Status. 219 +| |+relatedTo|(% style="width:695px" %)Association to a Attribute Relationship. 220 +| |/conceptIdentity|(% style="width:695px" %)An association to the Concept which defines the semantic of the component. 224 224 |TimeDimension|((( 225 225 Inherits from 226 226 227 227 Dimension 228 -)))|A metadata concept that identifies the component in the key structure that has the role of “time”. 225 +)))|(% style="width:695px" %)A metadata concept that identifies the component in the key structure that has the role of “time”. 229 229 |ReportingYearStartDay|((( 230 230 Inherits from 231 231 DataAttribute 232 -)))|A specialised Data Attribute whose value is used in conjunction with the predefined reporting periods in the Time Dimension. If this is not present, then by default all reporting period values for the Time Dimension will be assumed to be based on a reporting year start day of January 1. 229 +)))|(% style="width:695px" %)A specialised Data Attribute whose value is used in conjunction with the predefined reporting periods in the Time Dimension. If this is not present, then by default all reporting period values for the Time Dimension will be assumed to be based on a reporting year start day of January 1. 233 233 |PrimaryMeasure|((( 234 234 Inherits from 235 235 //Component// 236 -)))|The metadata concept that is the phenomenon to be measured in a data set. In a data set the instance of the measure is often called the observation. 237 -| |/conceptIdentity|An association to the Concept which carries the values of the measures. 233 +)))|(% style="width:695px" %)The metadata concept that is the phenomenon to be measured in a data set. In a data set the instance of the measure is often called the observation. 234 +| |/conceptIdentity|(% style="width:695px" %)An association to the Concept which carries the values of the measures. 238 238 |//AttributeRelationship//|((( 239 239 Abstract Class 240 240 Sub classes ... ... @@ -245,14 +245,14 @@ 245 245 GroupRelationship 246 246 Dimension 247 247 Relationship 248 -)))|Specifies the type of artefact to which a Data Attribute can be attached in a Data Set. 249 -|NoSpecifiedRelationship| |The Data Attribute is not related to any specific construct. 250 -|PrimaryMeasure Relationship| |The Data Attribute is related to the Primary Measure construct. 251 -|GroupRelationship| |The Data Attribute is related to a Group Dimension Descriptor construct. 252 -| |+groupKey|An association to the Group Dimension Descriptor 253 -|DimensionRelationship| |The Data Attribute is related to a set of Dimensions. 254 -| |+dimensions|Association to the set of Dimensions to which the Data Attribute is related. 255 -| |+groupKey|Association to the Group Dimension Descriptor which specifies the set of Dimensions to which the Data Attribute is attached. 245 +)))|(% style="width:695px" %)Specifies the type of artefact to which a Data Attribute can be attached in a Data Set. 246 +|NoSpecifiedRelationship| |(% style="width:695px" %)The Data Attribute is not related to any specific construct. 247 +|PrimaryMeasure Relationship| |(% style="width:695px" %)The Data Attribute is related to the Primary Measure construct. 248 +|GroupRelationship| |(% style="width:695px" %)The Data Attribute is related to a Group Dimension Descriptor construct. 249 +| |+groupKey|(% style="width:695px" %)An association to the Group Dimension Descriptor 250 +|DimensionRelationship| |(% style="width:695px" %)The Data Attribute is related to a set of Dimensions. 251 +| |+dimensions|(% style="width:695px" %)Association to the set of Dimensions to which the Data Attribute is related. 252 +| |+groupKey|(% style="width:695px" %)Association to the Group Dimension Descriptor which specifies the set of Dimensions to which the Data Attribute is attached. 256 256 257 257 The explanation of the classes, attributes, and associations comprising the Representation is described in the section on the SDMX Base. 258 258