View source: R/scraper-indexes.R
index_get | R Documentation |
Gets historical data from B3 indexes
index_get(
index_name,
first_date,
last_date = Sys.Date(),
cache_folder = cachedir(),
do_cache = TRUE
)
index_name |
a string with the index name |
first_date |
First date |
last_date |
Last date |
cache_folder |
Location of cache folder (default = cachedir()) |
do_cache |
Whether to use cache or not (default = TRUE) |
A data.frame/tibble with index data
## Not run:
index_get("IBOV", as.Date("1977-01-01"), as.Date("1999-12-31"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.