SDMX: Class "SDMX"

Description Usage Arguments Value Slots Warning Note See Also

View source: R/SDMX-methods.R

Description

An abstract class from which SDMX classes are derived

Usage

1
SDMX(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 "SDMX"

Slots

xmlObj

Object of class "XMLInternalDocument" derived from XML package

schema

Object of class "SDMXSchema", handles the version of SDMX-ML format

header

Object of class "SDMXHeader", handles the SDMX-ML document header

footer

Object of class "SDMXFooter", handles the SDMX-ML document footer

Warning

This class is not useful in itself, but all SDMX classes in this package derive from it.

Note

Currently, the approach drafted in rsdmx package was to rely on XML package, read the xml object and store it as part of the SDMX R object. Another approach being investigated is to use XML handlers throughthe Simple API for XML (SAX) that could avoid to load the full XML tree in the SDMX R object (xmlObj). Indeed, SDMX data could be huge and causes issues of memory if the complete XML tree is loaded in the R user session.

@author Emmanuel Blondel, emmanuel.blondel1@gmail.com

See Also

readSDMX


rsdmx documentation built on Feb. 7, 2021, 1:07 a.m.