Description Usage Arguments Value Note See Also Examples
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).
1 | BETS.get(code, from = "", to = "", data.frame = FALSE, frequency = NULL)
|
code |
A |
from |
A |
to |
A |
data.frame |
A |
frequency |
An |
A ts
(time series) object containing the desired series.
Due to the significant size of the databases, it could take a while to retrieve the values. However, it shouldn't take more than 90 seconds.
ts
, BETS.search
and seas
1 2 3 4 5 6 7 8 9 10 | # Anual series: GDP at constant prices, in R$ (brazilian reais)
#BETS.get(1208)
# International reserves - Cash concept
#int.reserves <- BETS.get("3543")
#plot(int.reserves)
# Exchange rate - Free - United States dollar (purchase)
#us.brl <- BETS.get(3691)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.