Description Usage Arguments Value
Calculate the maximum date offset between a date column in a data.frame and the current date.
1 2 | getDateOffset(df, date_colname, units = "years", format = "%d%m%Y",
curr_date = Sys.Date())
|
df |
a data.frame |
date_colname |
the column name of the date column |
units |
expected units, "years" or all other units accepted by |
curr_date |
default, |
a numeric value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.