Hi, I need a help here.
visit_history variable has the visits for each unique id and it might span to more than 100 events in this strL:
datasets is big, about 2MM ids, and I am looking for an efficiently way to convert that to:
Mata coding is welcome.
Glad for any clue about this. thks.
visit_history variable has the visits for each unique id and it might span to more than 100 events in this strL:
Code:
clear input float id strL visit_history 1 "2021-06-03,2020-12-07" 2 "2021-07-30,2020-12-28,2021-02-02" 3 "2020-09-12" 4 "2021-03-10,2021-02-02" end
Code:
clear input float id strL visit_history 1 "2021-06-03" 1 "2020-12-07" 2 "2021-07-30" 2 "2020-12-28" 3 "2020-09-12" 4 "2021-03-10" 4 "2021-02-02" end
Glad for any clue about this. thks.
Comment