Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: CSV file with variable types


From   Nick Cox <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: CSV file with variable types
Date   Thu, 5 May 2011 01:48:11 +0100

You could read the longer strings into Mata and then chop them into variables.

On Thu, May 5, 2011 at 1:25 AM, Argyn Kuketayev
<akuketayev@mail.primaticsfinancial.com> wrote:
> Nick
>
> thanks for answer, I totally forgot about 244 limit. Is there a work around?
>
> I was handling these strings outside Stata. I need to convert them
> into 600 observations, one for each month. I was going to read in the
> string, then use the tip from your answer in this list to parse and
> create new observations.
>
> I could easily do this in SAS, of course, but thought it would be nice
> to do everything inside Stata.
>
> cheers
> --
> Argyn Kuketayev
> *
> *   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   |   Site index