Description Usage Arguments References Examples
View source: R/base_extraction.R
Create a time series matrix mts
extracting information from Bacen (Banco Central do Brasil) API.
1 | base_extraction(series_code)
|
series_code |
Vector with the series encoding following the Bacen (Banco Central do Brasil) standards. |
Central Bank of Brazil
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | # Extracting GDP serie at real-time from Central Bank of Brasil data base
## Not run:
gdp<-base_extraction(22099)
# Industrial production (21859) serie at real-time from Central Bank of Brasil data base
ind_prod<-base_extraction(21859)
# Creating real time data base with the series:
# Vehicles production (1373);
# Industrial production, general index (21859).
mybase<-base_extraction(c(1373,21859))
# Creating real time data base with the series:
# Exchange rate - Free - United States dollar (1);
# Interest rate - CDI (12).
mybase<-base_extraction(c(1,12))
# Creating real time data base with the series:
# Vehicles production (1373);
# Credit Sales Index (1453);
# Retail sales (1455);
# Industrial production, general index (21859).
mybase<-base_extraction(c(1373,1453,1455,21859))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.