4
Date & Text Handling
Master date conversions, study day calculations, and string manipulation techniques essential for clinical programming and CDISC standards.
Progress
0 of 5 objectives
Learning Objectives
Objective 1
Convert dates using lubridate functions (ymd, dmy, mdy) for clinical data
Objective 2
Calculate study days (e.g., AESTDY = AESTDTC - RFSTDTC + 1)
Objective 3
Use stringr functions for text manipulation (str_detect, str_replace, str_trim)
Objective 4
Practice deriving AESTDY and cleaning adverse event
Objective 5
Handle date/time formats and missing date scenarios in clinical contexts