FetchTimeSeries-methods {MacrobondAPI}R Documentation

Download one or more series from the database

Description

Download one or more series from the database.

Value

The result is a list of TimeSeries objects in the same order as requested. The elements in the list are named with the names of the series.

Methods

signature(request = "ANY")

The name of a series or a list of series names.

signature(request = "SeriesRequest")

A list of series names or an object created by calling CreateUnifiedTimeSeriesRequest.

See Also

FetchOneTimeSeries CreateUnifiedTimeSeriesRequest

Examples

# Get the series for US GDP and CPI and plot the GDP series
seriesUs <- FetchTimeSeries(c("usgdp", "uscpi"))
plot(seriesUs$usgdp)

[Package MacrobondAPI version 1.1-5 Index]