Learn R Programming

rsdmx (version 0.6-3)

SDMXCode: Class "SDMXCode"

Description

A basic class to handle a SDMX Code

Usage

SDMXCode(xmlObj, namespaces)

Value

an object of class "SDMXCode"

Arguments

xmlObj

object of class "XMLInternalDocument derived from XML package

namespaces

object of class "data.frame" given the list of namespace URIs

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

Emmanuel Blondel, emmanuel.blondel1@gmail.com

See Also

readSDMX