Component

class sdmxthon.model.component.Component(id_: str | None = None, uri: str | None = None, urn: str | None = None, annotations=None, local_representation: Representation | None = None, concept_identity: Concept | None = None)

Bases: IdentifiableArtefact

A component is an abstract super class used to define qualitative and quantitative data and metadata items that belong to a Component List and hence a Structure. Component is refined through its sub-classes.

property concept_identity

Association to a Concept in a Concept Scheme that identifies and defines the semantic of the Component

property local_representation

Association to the Representation of the Component if this is different from the coreRepresentation of the Concept which the Component uses (ConceptUsage)

property representation

Extracts the representation from a Component

Dimension

class sdmxthon.model.component.Dimension(id_: str | None = None, uri: str | None = None, urn: str | None = None, annotations=None, local_representation: Representation | None = None, concept_identity: Concept | None = None, concept_role: str | None = None, position: int | None = None)

Bases: Component

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.

property position

Position of the Dimension in the DimensionList

TimeDimension

class sdmxthon.model.component.TimeDimension

Bases: Dimension

A metadata concept that identifies the component in the key structure that has the role of “time”.

MeasureDimension

class sdmxthon.model.component.MeasureDimension

Bases: Dimension

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.

Attribute

class sdmxthon.model.component.Attribute(id_: str | None = None, uri: str | None = None, urn: str | None = None, annotations=None, local_representation: Representation | None = None, concept_identity: Concept | None = None, assignmentStatus: str | None = None, relatedTo=None)

Bases: Component

A characteristic of an object or entity.

property assignment_status

Defines the usage status of the Attribute (Mandatory, Conditional)

property related_to

Association to a AttributeRelationship.

PrimaryMeasure

class sdmxthon.model.component.PrimaryMeasure

Bases: Component

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.