Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: SV: Re:Reading data into Stata


From   "Sergiy Radyakin" <serjradyakin@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: SV: Re:Reading data into Stata
Date   Thu, 9 Oct 2008 17:32:48 -0400

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 <even.bergseng@umb.no> wrote:
> Maybe a look at -infix- or -infile- could help you?
>
> Best regards,
> Even
>
> ________________________________________
> Fra: owner-statalist@hsphsun2.harvard.edu [owner-statalist@hsphsun2.harvard.edu] p&#229; vegne av Victor M. Zammit [vmz@vol.net.mt]
> Sendt: 9. oktober 2008 22:01
> Til: statalist@hsphsun2.harvard.edu
> 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/



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