get_dividends: Dividend payments history

View source: R/get_dividends.R

get_dividendsR Documentation

Dividend payments history

Description

This function downloads all available dividend payments history of a given company.

Usage

get_dividends(
  symbol,
  from = "1950-01-01",
  to = Sys.Date(),
  split_adjust = FALSE
)

Arguments

symbol

Specifies the ticker or symbol the user wants to download the data of, in the form of a string. Example: 'MSFT'

from

Minimum date to get data from

to

Maximum date to get data of

split_adjust

Boolean deciding if data should adjusted with splits

Value

Returns a tibble

Examples


dividends <- get_dividends('MSFT')

aljrico/rfinance documentation built on March 29, 2024, 2:31 a.m.