Hello,
I'm trying to write a do file that will automate data quality checks, and as part of that I'd like it to generate a "report" in Excel that will list all the issues I've identified.
I know how to use outsheet to generate a file that lists one column, say all the individuals (pid) who are missing a certain variable, say ecc1:
outsheet pid using filename if mi(ecc1) [, options]
Is there a way to:
a) Do this for multiple lists in the same file?
b) Add column headings to each in order to distinguish them?
I've looked all over the forum and can't find any info on this, so I'm wondering if it's even possible.Thanks so much Statalist!
-Reese
I'm trying to write a do file that will automate data quality checks, and as part of that I'd like it to generate a "report" in Excel that will list all the issues I've identified.
I know how to use outsheet to generate a file that lists one column, say all the individuals (pid) who are missing a certain variable, say ecc1:
outsheet pid using filename if mi(ecc1) [, options]
Is there a way to:
a) Do this for multiple lists in the same file?
b) Add column headings to each in order to distinguish them?
I've looked all over the forum and can't find any info on this, so I'm wondering if it's even possible.Thanks so much Statalist!
-Reese
Comment