gbcbd_get_series: Imports time series data from BCB-SGS System (Banco Central do Brasil, sistema de series temporais)
Description
Using BCB's oficial API at <https://www.bcb.gov.br/>, this function will download data for a specific set of ids and dates.
The main advantage is the use of caching and parallel computing for fast operations. You can search for available series at <https://www.bcb.gov.br/?sgs>
Id of time series. The name of the vector sets the name of the series in the output (e.g i.d <- c('SELIC' = 11)).
You can search for ids in the official BCB-SGS webpage <https://www.bcb.gov.br/?sgs>
first.date
First date of time series
last.date
Last date of time series
format.data
The format of the datasets - long (default, series incremented by rows) or wide (series incremented by columns)
be.quiet
Logical. Should functions output messages to screen? - FALSE (default) or TRUE
use.memoise
Logical. Sets the use of caching system - TRUE (default) or FALSE
cache.path
Path to save cache files - 'rbcb2_cache' (default)
do.parallel
Logical for parallel data importation - FALSE (default)