Hi there,
I have a long stata file (1.7 million observations) of GPS coordinates with a unique identifier for each participant (variable "P_num", n= 100 participants).
I want to write an .xlsx file for each participant with just their data (signified by the unique value in variable "P_num").
Essentially, I want to drop all observations except for one participant, write an xlsx file, then do this for the next 99 participants without having to manually do it.
Any suggestions would be very welcome,
Thank you in advance,
Tim
I have a long stata file (1.7 million observations) of GPS coordinates with a unique identifier for each participant (variable "P_num", n= 100 participants).
I want to write an .xlsx file for each participant with just their data (signified by the unique value in variable "P_num").
Essentially, I want to drop all observations except for one participant, write an xlsx file, then do this for the next 99 participants without having to manually do it.
Any suggestions would be very welcome,
Thank you in advance,
Tim
Comment