Hi Statalist,
I have exported some data from RedCap.
For a cohort of 100 people, multiple bloodtests have been taken on 5 different trial days (named 1-5). The trial days all are different dates. Instead of the answers of the blood tests being written according to the right trial date, they have their own row (postpartum_data_co_arm_1). I would like the bloodtest variables to be moved "up" to the correct date/trial day.
all dates are in date format.
Is there any way to do this?
I tried generating a match flag, but it does not indicate match between the dates?
I hope the picture makes sense :-)
Comment