powered by
Gets historical data from B3 indexes
index_get( index_name, first_date, last_date = Sys.Date(), cache_folder = cachedir(), do_cache = TRUE )
A data.frame/tibble with index data
a string with the index name
First date
Last date
Location of cache folder (default = cachedir())
Whether to use cache or not (default = TRUE)
if (FALSE) { index_get("IBOV", as.Date("1977-01-01"), as.Date("1999-12-31")) }
Run the code above in your browser using DataLab