Description Usage Arguments Value Examples
View source: R/get_dividends.R
This function downloads all available dividend payments history of a given company.
1 2 3 4 5 6 | 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
1 | dividends <- get_dividends('MSFT')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.