View source: R/odata-expectativas.R
get_twelve_months_inflation_expectations | R Documentation |
Statistics of inflation's market expectations for the next 12 months. All statistics are computed based on expectations provided by many financial institutions in Brazil: banks, funds, risk managers, so on and so forth. These expections and its statistics are used to build the FOCUS Report weekly released by the Brazilian Central Bank.
get_twelve_months_inflation_expectations(
indic = NULL,
start_date = NULL,
end_date = NULL,
...
)
indic |
a character vector with economic indicators names. They are case sensitive and don't forget the accents. |
start_date |
series initial date.
Accepts ISO character formated date and |
end_date |
series final date.
Accepts ISO character formated date and |
... |
additional parameters to be passed to the API
The |
There are inflation's expectations available for the following indicators:
IGP-DI
IGP-M
INPC
IPA-DI
IPA-M
IPCA
IPCA Administrados
IPCA Alimentação no domicílio
IPCA Bens industrializados
IPCA Livres
IPCA Serviços
IPCA-15
IPC-FIPE
Check <https://olinda.bcb.gov.br/olinda/servico/Expectativas/versao/v1/documentacao#ExpectativasMercadoInflacao12Meses> for more details
A data.frame
with the requested data.
## Not run:
indic <- c("IPCA", "IGP-M")
end_date <- "2018-06-22"
x <- get_twelve_months_inflation_expectations(indic, end_date = end_date, `$top` = 10)
# return all indicators for the specified date range
start_date <- "2021-01-01"
x <- get_twelve_months_inflation_expectations(start_date = start_date, `$top` = 20)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.