Loads bundled clinical trial example data for use in examples and vignettes. The data simulates a Phase II study (STUDY-001) with 48 subjects enrolled over 6 months across four SDTM-flavored domains.
Usage
datom_example_data(domain = c("dm", "ex", "lb", "ae"), cutoff_date = NULL)Arguments
- domain
One of
"dm"(demographics, 48 rows),"ex"(exposure, 48 rows),"lb"(labs, ~720 rows: 3 visits x 5 tests per subject), or"ae"(adverse events, ~80 rows).- cutoff_date
Optional date string (
"YYYY-MM-DD") to filter rows whose primary date column is on or before this date, simulating a point-in-time EDC extract. The date column used per domain:RFSTDTC(dm),EXSTDTC(ex),LBDTC(lb),AESTDTC(ae).