Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

st: -lookfor_all- now has the ability to search through variable and dataset notes


From   Dan Blanchette <dan.blanchette@duke.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: -lookfor_all- now has the ability to search through variable and dataset notes
Date   Tue, 29 Jun 2010 10:41:32 -0400 (EDT)

Thanks to Kit Baum the latest version of -lookfor_all- is now available
to be downloaded from the SSC:

    . ssc install lookfor_all, replace

The -lookfor_all- help page on the SSC website:
http://repec.org/bocode/l/lookfor_all.html

Michael Mitchell suggested that -lookfor_all- should be also able to search through variable and/or dataset notes if the user wanted to also search for
keywords that might exist in notes so I added the options:

    vnotes - also search for words in variable notes
    dnotes - also search for words in dataset notes
    notes  - also search for words in both variable notes and dataset notes

So if you are trying to find a dataset that you have stored away in some directory, you should be able to use -lookfor_all- to find it by specifying a keyword or set of keywords that should exist as a variable name, or in a variable label, or a value label or now in a variable note or dataset note.
-lookfor_all-  by default searches through Stata datasets only in the current
directory but can also search through Stata datasets in subdirectories or through Stata datasets in a whole different directory tree.

Authors
    Zurab Sajaia
    The World Bank
    zsajaia@hotmail.com

    Michael Lokshin
    The World Bank
    mlokshin@worldbank.org

    Dan Blanchette
    Center for Entrepreneurship and Innovation
    Duke University's Fuqua School of Business
    Dan.Blanchette@Duke.edu

HTH,
Dan Blanchette
Research Associate
Center for Entrepreneurship and Innovation
Duke University's Fuqua School of Business
dan.blanchette@duke.edu
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index