Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: how does insheet determine datatypes?


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   RE: st: how does insheet determine datatypes?
Date   Fri, 5 Jan 2007 20:34:09 -0000

Correct. What I had in mind, as you now doubt guess, 
is that -destring- offers scope to automate and 
document any conversion process. 

Nick 
[email protected] 

Phil Schumm
 
> On Jan 5, 2007, at 2:09 PM, Nick Cox wrote:
> > But my understanding is that you may be better off importing as  
> > string and doiny your own conversions.
> 
> 
> Indeed, but in this particular case I am working with a large number  
> of files, and am setting up a process that will be repeated 
> by others  
> (with potentially different data files).  Thus, examining the data  
> beforehand to determine the correct types is not possible.  Given  
> this, the fact that -insheet- reads the data twice (see Bill's  
> response at http://www.stata.com/statalist/archive/2007-01/ 
> msg00114.html) is very reassuring.

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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