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" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
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 
n.j.cox@durham.ac.uk 

> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu]On Behalf Of 
> Rebecca Kalmus
> Sent: 23 May 2004 19:19
> To: statalist@hsphsun2.harvard.edu
> Subject: st: RE: inputting string variables in comma-separated files
> 
> 
> That does work.  Thanks for your help!
> 
> Rebecca Kalmus
> 
> ******************************************************************
> 
> From "Nick Cox" <n.j.cox@durham.ac.uk>
> To <statalist@hsphsun2.harvard.edu>
> 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
> n.j.cox@durham.ac.uk
> *
> *   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index