Looks like a comma is not a separator and can be ignored in the file,
unless it is also a part of STRING and NUMERIC values. (e.g. if it is
3,14159265 in your file, not 3.14159265)
Regards, Sergiy
On Thu, Oct 9, 2008 at 4:07 PM, Even Bergseng <[email protected]> wrote:
> Maybe a look at -infix- or -infile- could help you?
>
> Best regards,
> Even
>
> ________________________________________
> Fra: [email protected] [[email protected]] på vegne av Victor M. Zammit [[email protected]]
> Sendt: 9. oktober 2008 22:01
> Til: [email protected]
> Emne: st: Re:Reading data into Stata
>
> Dear Statalist,
>
> I need to read into Stata,data that has a comma ,sometimes after one string
> variable and sometimes after two,string variables.And after
>
> the comma,one string variable and two numeric variables.,always.The raw list
> of data is thousands of rows long.Is there a way I could
>
> get this raw data into Stata without too much work ? I thank you for any
> help you can give me.
>
> string , string numeric numeric
>
> string string , string numeric numeric
>
> string string , string numeric numeric
>
> string string , string numeric numeric
>
> string , string numeric numeric
>
> string string , string numeric numeric
>
> Victor Michael Zammit
>
> *
> * 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/
>
> *
> * 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/
>
*
* 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/