Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: RE: inputting string variables in comma-separated files


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: RE: inputting string variables in comma-separated files
Date   Sun, 23 May 2004 19:25:41 +0100

Note that -help infile1- doesn't hint at this 
solution. One needs to read the manual entry
(me too, as I had forgotten this detail 
through lack of recent use). 

Nick 
[email protected] 

> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]On Behalf Of 
> Rebecca Kalmus
> Sent: 23 May 2004 19:19
> To: [email protected]
> Subject: st: RE: inputting string variables in comma-separated files
> 
> 
> That does work.  Thanks for your help!
> 
> Rebecca Kalmus
> 
> ******************************************************************
> 
> From "Nick Cox" <[email protected]>
> To <[email protected]>
> Subject st: RE: RE: inputting string variables in 
> comma-separated files
> Date Thu, 20 May 2004 16:35:25 +0100
> 
> Try some variation on
> . infile a b str80 c d e using my.csv
> where the "str80" must precede the variable
> name and where "80" can be replaced by the
> largest number of digits.
> Nick
> [email protected]
> *
> *   For searches and help try:
> *   http://www.stata.com/support/faqs/res/findit.html
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
> 

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index