Create object date
date(file, id, get_visit, get_date = dplyr::contains, str_date = "DAT")
| file | A character scalar. Path to the date's parameters in the excel table. |
|---|---|
| id | A column name of the subject id in the dataset, without quotes. |
| get_visit | A function, which select necessary visit or event e.g. dplyr::start_with, dplyr::contains. |
| get_date | A function, which select dates from necessary visit e.g. dplyr::matches, dplyr::contains, default: dplyr::contains. |
| str_date | A date's pattern in column names, default: "DAT". |
The object date.