# NOT RUN {
indic <- c("IPCA", "C<U+00E2>mbio")
x <- get_market_expectations("annual", indic, `$top` = 10)
x <- get_market_expectations("monthly", "Selic", `$top` = 20)
# get monthly expectations for top 5 indicators since 2021
x <- get_market_expectations("top5s-monthly", start_date = "2021-01-01")
# get annual expectations for top 5 indicators since 2021
x <- get_market_expectations("top5s-annual", `$top` = 20)
# get all inflation expectations for 12 months ahead starting on 2021-01
x <- get_market_expectations("inflation-12-months", start_date = "2021-01-01")
# get all IPCA expectations informed by financial institutions since 2020
x <- get_market_expectations("institutions", "IPCA", start_date = "2020-01-01")
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab