company_cash_dividends_get function

Gets company's dividents in cash

Gets company's dividents in cash

Gets a list of all dividents in cash paid by the company. A cash dividend is a payment made by a company out of its earnings to investors in the form of cash. (https://www.investopedia.com/)

company_cash_dividends_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)

Returns

data.frame with company information

Details

The code parameter can be the stock symbol, but the returned data refers to the company, always. The returned data.frame has all company's symbols that paid dividends in cash.

Examples

## Not run: company_cash_dividends_get(c("PETR", "VALE", "MGLU")) ## End(Not run)
  • Maintainer: Wilson Freitas
  • License: MIT + file LICENSE
  • Last published: 2025-02-18