Hello everyone,
I would like to manipulate a log file within Stata after it is created. E.g. after creating a log file with various kind of output, I would like to select a specific frequency table within this log file to suppress values that are below a certain value.
Because log files store all the information as text, I searched for ways to manipulate text within Stata. However, I have found nothing helpful except how to work with string variables. Can someone tell me if it is even possible to manipulate log files as I have described?
The motivation of my question is to program a (semi-)automated statistical disclosure control with log files as input.
Best regards
Benjamin
I would like to manipulate a log file within Stata after it is created. E.g. after creating a log file with various kind of output, I would like to select a specific frequency table within this log file to suppress values that are below a certain value.
Because log files store all the information as text, I searched for ways to manipulate text within Stata. However, I have found nothing helpful except how to work with string variables. Can someone tell me if it is even possible to manipulate log files as I have described?
The motivation of my question is to program a (semi-)automated statistical disclosure control with log files as input.
Best regards
Benjamin
Comment