View source: R/get_dividends.R
get_dividends | R Documentation |
This function downloads all available dividend payments history of a given company.
get_dividends(
symbol,
from = "1950-01-01",
to = Sys.Date(),
split_adjust = FALSE
)
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 |
Returns a tibble
dividends <- get_dividends('MSFT')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.