Function to revise the format for missing values and dates in user-provided
check_log(log, dateformat, colid = 1, datecols = c(),
logPath, logtype)
Data.frame containing the revised log.
Data frame with the log as read by data.table::fread
.
Character specifying the expected date format used in the log.
Numeric with the column containing the file ID.
Numeric with the column/s containing the dates.
Character containing the full path to the activity log that is being checked.
Character which accepts "activity log" or "study dates log" at the moment. Only used for warning messages.
Vincent T van Hees <v.vanhees@accelting.com> Jairo H Migueles <jairo@jhmigueles.com>