get.data.frame: Get a BETS series as a data.frame.

Description Usage Arguments Value Author(s)

Description

By default, BETS.get returns a ts object. However, there are many situations in which is more convenient to work with a data.frame. So, get.data.frame receives the code of a BETS series and returns a data.frame containing the data of the corresponding series. Alternatively, a ts can be supplied, in which case the BETS databases will not be searched.

Usage

1

Arguments

code

An integer. The unique identifier of the series within the BETS database.

ts

An ts object. A time series to be formatted as a data.frame.

Value

A data.frame. The first column contains the dates. The second, its values.

Author(s)

Talitha Speranza talitha.speranza@fgv.br


nmecsys/BETSlite documentation built on May 14, 2019, 6:13 a.m.