Learn R Programming

RJSDMX (version 3.4-0)

sdmxdf: convert time series to data.frame

Description

This function is used to transform the output of the getSDMX (or getTimeseries) functions from a list of time series to a data.frame. The metadata can be requested by explicitly passing the appropriate parameters.

Usage

sdmxdf(tslist, meta = FALSE, id = TRUE)

Arguments

tslist

the list of time series to be converted

meta

set this to TRUE if you want metadata to be included (default: FALSE, as this may increase the size of the result quite a bit)

id

set this to FALSE if you do not want the time series id to be included (default: TRUE)

Details

sdmxdf()

Examples

Run this code
if (FALSE) {
a=getSDMX('ECB', 'EXR.A|Q|M|D.USD.EUR.SP00.A')
ddf = sdmxdf(a)
ddf = sdmxdf(a, meta=TRUE)
}

Run the code above in your browser using DataLab