[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: import long variable
Dear all,
I have a database in '.txt' format. My database has a 18-characters variable
(idvar). When I try to pass it to '.dta' format, I write the
following dictionary:
-------------------------------
dictionary {
_column(1) double idvar %18f
....
}
-------------------------------
My problem is that Stata approximates the last numbers of 'idvar'. I
already know that the problem could be solved importing the variable like
"string". Do you know another way to solve this problem?
Thank you very much.
*
* 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/