sdmxdf: convert time series to data.frame

View source: R/SdmxClient.R

sdmxdfR Documentation

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

## Not run: 
a=getSDMX('ECB', 'EXR.A|Q|M|D.USD.EUR.SP00.A')
ddf = sdmxdf(a)
ddf = sdmxdf(a, meta=TRUE)

## End(Not run)

RJSDMX documentation built on Feb. 16, 2023, 6:10 p.m.