Description Usage Arguments Value
View source: R/fct_get_historical.R
A function to get historical dividend information from dividendinformation.com
1 | get_historical_dividends(tickers, start_date = NULL, verbose = TRUE)
|
tickers |
A string identifying the ticker of the stock to get information on, all caps |
start_date |
A string identifying the date on which the information should start (ymd format), if NULL, returns all available information |
verbose |
Logical to determine if the function will output info as it runs |
a data frame with the following columns
date = the date the dividend was paid
amount_per_share = the amount per share in dollars
ticker = the ticker of the stock/fund
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.