powered by
Gets informations like sector, subsector, segment, total number of shares and many more.
company_info_get(code, cache_folder = cachedir(), do_cache = TRUE)
data.frame with company information
Represents the company, can be the stock symbol, like PETR4 or the first four characters PETR
PETR4
PETR
Location of cache folder (default = cachedir())
Whether to use cache or not (default = TRUE)
The code parameter can be the stock symbol, but the returned data refers to the company, always.
code
if (FALSE) { company_info_get(c("PETR", "VALE", "MGLU")) }
Run the code above in your browser using DataLab