LOOKFORIT:  Search variable names and labels for some string or strings (an enhancement of lookfor)


If you want to use lookforit, then feel free to use Stata's command ssc install to download and install lookforit:
   ssc install lookforit, replace

Disclaimer:  There is no warranty on this software either expressed or implied.  This program is released under the terms and conditions of GNU General Public License.

About lookforit

Programmer:  Dan Blanchette ()
Center for Entrepreneurship and Innovation
Duke University's Fuqua School of Business
Durham, NC  USA
Developed at The Carolina Population Center at The University of North Carolina at Chapel Hill
Date:  19Nov2003
Last updated:  04Mar2009


Search variable names and variable labels for some string or strings

lookforit string [string [...]]


Description

lookforit is an enhancement of the base Stata command lookfor.  It searches all variable names and variable labels just as lookfor does.  Like lookfor, lookforit can search for multiple strings but can only do a simple search, i.e. no &'s, |'s, or enclosing strings in quotes.  The ways that lookforit differs are as follows:
  1. lookforit does a case sensitive search if the user types any upper case characters, otherwise, it performs a case insensitive search.
       . lookforit female
    finds "Female", "FEMALE", "feMale", or even "FemalePatient"
       . lookforit Female
    only finds "Female"

  2. lookforit lists variables alphabetically

  3. The variable names are clickable links to the data editor that opens Stata's data editor to that variable column.

Examples


   . lookforit job

   . lookforit employment Salary

   . lookforit inc

Also see

Online:  help for lookfor, ds




Back to Main Page



Questions or comments?
   Send them to Dan Blanchette ()