Dear all,
I know that insheet has been superseded by import delimited. However, I obtained different results using one or another.
When I use: import delimited "C:\Myfile.txt", delimiter(tab) varnames(1) asdouble clear
I get (14 vars, 29346 obs)
Instead, with: insheet using "C:\Myfile.txt", clear
The result is (14 vars, 29,542 obs)
I double checked the file in the wordpad and Excel, and the correct number of observations is 29542. I also tried several encondings (Stata 14.0) and the results are the same.
For some reason, import do not includes the last 196 rows. At the breakpoint there is no special character or change in the format.
Is there any update that I am missing?
Best,
Daniel Oda
I know that insheet has been superseded by import delimited. However, I obtained different results using one or another.
When I use: import delimited "C:\Myfile.txt", delimiter(tab) varnames(1) asdouble clear
I get (14 vars, 29346 obs)
Instead, with: insheet using "C:\Myfile.txt", clear
The result is (14 vars, 29,542 obs)
I double checked the file in the wordpad and Excel, and the correct number of observations is 29542. I also tried several encondings (Stata 14.0) and the results are the same.
For some reason, import do not includes the last 196 rows. At the breakpoint there is no special character or change in the format.
Is there any update that I am missing?
Best,
Daniel Oda
Comment