company_info_get {rb3}R Documentation

Gets information about the company

Description

Gets informations like sector, subsector, segment, total number of shares and many more.

Usage

company_info_get(code, cache_folder = cachedir(), do_cache = TRUE)

Arguments

code

Represents the company, can be the stock symbol, like PETR4 or the first four characters PETR

cache_folder

Location of cache folder (default = cachedir())

do_cache

Whether to use cache or not (default = TRUE)

Details

The code parameter can be the stock symbol, but the returned data refers to the company, always.

Value

data.frame with company information

Examples

## Not run: 
company_info_get(c("PETR", "VALE", "MGLU"))

## End(Not run)


[Package rb3 version 0.0.11 Index]