Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Tracking comments in a data audit do-file


From   Michael McCulloch <[email protected]>
To   [email protected]
Subject   Re: st: Tracking comments in a data audit do-file
Date   Mon, 25 Nov 2013 17:22:48 -0800

Thank you Nick, the addnote module is very helpful.


Best wishes,
Michael McCulloch

--
Pine Street Foundation, since 1989
124 Pine Street | San Anselmo | California | 94960-2674  
P: (415) 407-1357 | F: (206) 338-2391 | http://www.PineStreetFoundation.org

On Nov 24, 2013, at 9:15 AM, Nick Cox wrote:

> There are lots of ways to do it, going back to
> 
> STB-14  os10  . . . . . . . . A method for taking notes during a Stata session
>        (help addnote, notefile if installed) . . . . . . . . . . .  W. Rising
>        7/93    pp.10--11; STB Reprints Vol 3, pp.68--69
>        allows appending notes to a file without interrupting a
>        Stata session
> 
> if not earlier. One is to treat your do file as a new Stata dataset
> with a single string variable and to use the string functions to
> select lines of interest.
> 
> Nick
> [email protected]
> 
> 
> On 24 November 2013 17:07, Michael McCulloch
> <[email protected]> wrote:
>> Hello,
>> I am conducting a data audit,  recording my steps with a do-file.
>> 
>> As I examine each variable, at the last line of that section in the audit do-file, I type a comment, for example:
>> 
>> .tab date uti if id==. //id is okay; only missing are dates 17may2013 to 28may2013, during pilot work prior to study launch
>> 
>> Is there a way to flag these lines of code for which I wrote these comments, so that a report can be generated, itemizing each of these lines//comments
>> 
>> Best wishes,
>> Michael McCulloch
>> 
>> --
>> Pine Street Foundation, since 1989
>> 124 Pine Street | San Anselmo | California | 94960-2674
>> P: (415) 407-1357 | F: (206) 338-2391 | http://www.PineStreetFoundation.org
>> 
>> 
>> *
>> *   For searches and help try:
>> *   http://www.stata.com/help.cgi?search
>> *   http://www.stata.com/support/faqs/resources/statalist-faq/
>> *   http://www.ats.ucla.edu/stat/stata/
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/statalist-faq/
> *   http://www.ats.ucla.edu/stat/stata/


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index