View source: R/scraper-company.R
company_info_get | R Documentation |
Gets informations like sector, subsector, segment, total number of shares and many more.
company_info_get(code, cache_folder = cachedir(), do_cache = TRUE)
code |
Represents the company, can be the stock symbol, like |
cache_folder |
Location of cache folder (default = cachedir()) |
do_cache |
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.
data.frame with company information
## Not run:
company_info_get(c("PETR", "VALE", "MGLU"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.