Gets the composition of listed B3 indexes.

index_comp_get(index_name, cache_folder = cachedir(), do_cache = TRUE)

Arguments

index_name

a string with the index name

cache_folder

Location of cache folder (default = cachedir())

do_cache

Whether to use cache or not (default = TRUE)

Value

a character vector with symbols that belong to the given index name

Examples

if (FALSE) {
index_comp_get("IBOV")
}