get.series: Get a complete time series from a BETS database

Description Usage Arguments

Description

Extracts a complete time series from either the Central Bank of Brazil (BCB), the Brazilian Institute of Geography and Statistics (IBGE) or the Brazilian Institute of Economics (FGV/IBRE).

Usage

1
2
get.series(code, from = "", to = "", data.frame = FALSE,
  frequency = NULL)

Arguments

code

A character. The unique code that references the time series. This code can be obtained by using the BETSsearch function.

from

A character or a Data object. Starting date of the time series (format YYYY-MM-DD).

to

A character or a Data object. Ending date of the time series (format YYYY-MM-DD).

data.frame

A boolean. True if you want the output to be a data frame. True to ts output.

frequency

An integer. The frequency of the time series. It is not needed. It is going to be used only if the metadata for the series is corrupted.


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