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: From: Abhimanyu Arora <abhimanyu.arora1987@gmail.com>


From   Nick Cox <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: From: Abhimanyu Arora <abhimanyu.arora1987@gmail.com>
Date   Mon, 2 Apr 2012 09:28:23 +0100

Without information on the _precise_ problem here, I think we are
reduced to guessing. My guess is that you need to go back to the
original *.csv.

What "strange characters"? What does "not recognizable completely"?

Nick

On Mon, Apr 2, 2012 at 9:01 AM,  <owner-statalist@hsphsun2.harvard.edu> wrote:

> My data was in around 50 csv files in one folder. I wanted to merge
> the data into a single stata dataset. So I used the following commands
> in order to first create 50 stata datasets to be merged.
>
>
> fs
>
> foreach file in `r(files)' {
> insheet using `file'
> save `file',replace
> clear
> }
>
> I now discover that the csv files have strange characters and the data
> is not recognizable completely. Do you think it would be possible to
> retrieve my data?
>
*
*   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