Description Usage Arguments Value
Ensure that x is a Date
1 | ensureDate(x, origin = "1970-01-01", dates = NULL)
|
x |
Date, fac, chr, num, data.frame, or list that might be or contain something that should be a Date |
origin |
for Dates that may have lost their attributes, and coerced to integer, the origin for reasserting their Date-ness. default=1970-01-01 |
dates |
for data.frame method, columns of |
x encoded as a Date unless all of x is numbers less than 1000, for datamart numeric survey coding.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.