Description Usage Arguments Value Examples
Converts all date columns to date format (in place via data.table). Uses the data.table IDate class which his much faster than the base as.Date() function. IDate is still recognized as an R date class. Note that this function needs to be improved to take advantage of attributes or classes. This is intended to run as part of load_data().
1 | make_dates(dt = NULL, dd = data_dict)
|
dt |
The data table in which to convert date columns |
dd |
The data dictionary with variable types to identify date columns |
Variable(s) converted to an R date class
1 | ## Not run: # nothing here yet
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.