Hello,
This is my first post and despite my best efforts, I could not find an answer online or on this forum. If there is a link to a forum post already answered that would be very helpful.
I have imported an Excel file of a recent study. It requires a significant amount of data cleaning. A proportion of this data cleaning will require manual corrections using the data editor. In order for my work to be transparent and reproducible. Is it possible to track each observation change by a unique identifier variable (e.g., Patient 1 or Patient 2 etc.)
So for example, if I change an observation in variable (var) to 99 in the data editor, the output window log may read:
replace var = 99 in 1
The 1 reflects the stata observation line, but this may change etc if sort used.
Is it possible to change the "1" to a unique identifier variable that may be tracked more easily? Or are people tracking these changes manually on a log file.
Apologies if this is unclear,
David
This is my first post and despite my best efforts, I could not find an answer online or on this forum. If there is a link to a forum post already answered that would be very helpful.
I have imported an Excel file of a recent study. It requires a significant amount of data cleaning. A proportion of this data cleaning will require manual corrections using the data editor. In order for my work to be transparent and reproducible. Is it possible to track each observation change by a unique identifier variable (e.g., Patient 1 or Patient 2 etc.)
So for example, if I change an observation in variable (var) to 99 in the data editor, the output window log may read:
replace var = 99 in 1
The 1 reflects the stata observation line, but this may change etc if sort used.
Is it possible to change the "1" to a unique identifier variable that may be tracked more easily? Or are people tracking these changes manually on a log file.
Apologies if this is unclear,
David
Comment