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]
st: RE: inputst and variable name case
From 
 
Nick Cox <[email protected]> 
To 
 
"'[email protected]'" <[email protected]> 
Subject 
 
st: RE: inputst and variable name case 
Date 
 
Thu, 18 Nov 2010 17:22:20 +0000 
-inputst- is from Roger Newson's package -stcmd-, available in various places. 
You can modify any of those programs if you like, but that modified program then becomes your responsibility. But I think it's much easier to do this in other ways. For example, with -renvars- from the Stata Journal, 
. renvars, lower 
is all you need. Type -findit renvars- and download from the SJ 5-4 files. 
Nick 
[email protected] 
Scott N. Bronson
I am importing a SAS 9.2 dataset into Stata using the inputst command.  While I can import the data fine using inputst, the SAS variable names are a mixture of upper case and lower case, and I would like to have them to all be lower case in Stata.  I know which StatTransfer Command Processor commands that I want to use, but I am having difficulty understanding how (and whether) I can modify the inputst and/or stcmd .ado files to force all imported variable names to be lower case.  Any help would be much appreciated!
*
*   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/