SDMXCode {rsdmx} | R Documentation |
Class "SDMXCode"
Description
A basic class to handle a SDMX Code
Usage
SDMXCode(xmlObj, namespaces)
Arguments
xmlObj |
object of class "XMLInternalDocument derived from XML package |
namespaces |
object of class "data.frame" given the list of namespace URIs |
Value
an object of class "SDMXCode"
Slots
id
Object of class "character" giving the ID of the code (required). In SDMX 2.0 documents, this slot will handle the 'value' attribute
urn
Object of class "character" giving the code urn
parentCode
Object of class "character" giving the parent code
label
Object of class "list" giving the code label (by language). In SDMX 2.0, it takes the code 'Description' element vs. 'Name' element in SDMX 2.1. This property deprecated and kept now for backward compatibility.
name
Object of class "list" giving the code name (by language).
description
Object of class "list" giving the code description (by language).
Warning
This class is not useful in itself, but all SDMX non-abstract classes will encapsulate it as slot, when parsing an SDMX-ML document (Codelists, or DataStructureDefinition)
Author(s)
Emmanuel Blondel, emmanuel.blondel1@gmail.com