Learn R Programming

rbcb (version 0.1.10)

get_institutions_market_expectations: Get market expectations sent by officially recognized Institutions that contribute with expectations

Description

Statistics of market expectations sent by institutions. 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.

Usage

get_institutions_market_expectations(
  indic = NULL,
  start_date = NULL,
  end_date = NULL,
  ...
)

Value

A data.frame with the requested data.

Arguments

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 Date.

end_date

series final date. Accepts ISO character formated date and Date.

...

additional parameters to be passed to the API

indic argument must be one of indicators listed in Details. Respecting the case, blank spaces and accents.

The ... is to be used with API's parameters. $top to specify the maximum number of rows to be returned, this returns the $top rows, in chronological order. There is also $skip to ignore the first rows.

Details

There are market expectations available for the following indicators:

  • Balança Comercial

  • Câmbio

  • Conta corrente

  • Dívida bruta do governo geral

  • Dívida líquida do setor público

  • IGP-DI

  • IGP-M

  • INPC

  • Investimento direto no país

  • 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

  • PIB Agropecuária

  • PIB Despesa de consumo da administração pública

  • PIB despesa de consumo das famílias

  • PIB Exportação de bens e serviços

  • PIB Formação Bruta de Capital Fixo

  • PIB Importação de bens e serviços

  • PIB Indústria

  • PIB Serviços

  • PIB Total

  • Produção industrial

  • Resultado nominal

  • Resultado primário

  • Selic

  • Taxa de desocupação

Check <https://olinda.bcb.gov.br/olinda/servico/Expectativas/versao/v1/documentacao#ExpectativasMercadoInstituicoes> for more details

Examples

Run this code
if (FALSE) {
indic <- "IPCA"
x <- get_institutions_market_expectations(indic, `$top` = 10)

x <- get_institutions_market_expectations(`$top` = 20)
}

Run the code above in your browser using DataLab