Hi all;
I have been using STATA in the past couple of years and developed lots of codes so far in both do and ado files. I wanted to see how I can convert the ado/do files into txt files (not manually by copying and pasting but saving or exporting if they work for do/ado files). The bigger purpose of this work is that I would like to analyze all my codes to see the frequency of each command I used. I think that can be best done by converting the do/ado codes into texts, reading txt files, and counting each command entered as string variables.
Does anyone know how I can convert do/ado file codes into txt?
Thanks
Related Posts with Converting do/ado files into text by code
Saving regression coefficients from 3 regressions in one same datasetI have the dataset that include further below. I ran the following three regressions on this dataset…
In a call to a another do-file: log results from the anotherdo-fileHello, The case is that I am running a do-file and I am logging the session. When this do-file call…
Extracting stringsHi there! I am working on cleaning up some text data, and have a quick question. I have the followi…
Stata I/O error on save despite ample disk spaceI'm running Stata 15.1 MP/4-core in macOS 10.14.5. I have 32 GB of memory. I'm appending a series o…
Multiple treatments per observation, difference in differenceHi all, I am investigating the impact of metro station accessibility on housing values. For this, I…
Subscribe to:
Post Comments (Atom)
0 Response to Converting do/ado files into text by code
Post a Comment