Bookmark and Share

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]

Re: st: AW: import string variables


From   Tyler Frazier <[email protected]>
To   [email protected]
Subject   Re: st: AW: import string variables
Date   Fri, 28 May 2010 17:42:01 +0200

Im sure tostring would work with the format(), probably better, but I
noticed some observations importing as double.  Some of the characters
at the end seem to be disappearing. Im still learning these commands
to, thanks!

On Fri, May 28, 2010 at 5:29 PM, Martin Weiss <[email protected]> wrote:
>
> <>
>
> You can always -tostring- once they have been imported into Stata.
> -tostring- also takes a -format()- option if you want the leading null.
>
>
>
> HTH
> Martin
>
>
> -----Ursprüngliche Nachricht-----
> Von: [email protected]
> [mailto:[email protected]] Im Auftrag von Tyler Frazier
> Gesendet: Freitag, 28. Mai 2010 17:15
> An: [email protected]
> Betreff: st: import string variables
>
> I am having a terrible time to import string variables to Stata -- I
> have tried every which way that seems possible -- txt, excel, access,
> but none of them seem to work. they all convert the numbers to text.
>
> the variables are in this format 02   050   005   010   etc etc
>
> any suggestions?
>
> thanks,
> Ty
> *
> *   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index