Description Usage Arguments Value
View source: R/populate_div_yield.R
This function will add a yield
column to a data.table which will be
populated with the dividend yield. This yield uses the daily closing price
and the dividend closest in time to that date (so likely an overestimate for
about a month prior to any historic dividend raise).
1 |
d |
a |
a data.table
with the same information as d
but with a column for
yield added (and sorted by date if not already)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.