[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: long invalid varname error on insheet
I'm at the end of my wits -- I've been trying to import a csv file
into stata for the last 30 minutes... I've tried converting it to a
tab separated file with no luck. I've tried renaming the variable
names, no luck. If I delete the first line, it works just fine...
Guess I'll just import it without line 1 and rename all the variable
names. Anyone know why this is happening? I'm attaching the culprit
first line below.
. insheet using traf_reg.tsv
long invalid varname
error in line 1 of file
r(198);
recnum
,lfadd
,ltadd
,rfadd
,rtadd
,prfix
,prtyp
,name
,type
,sffix
,fcc
,zipl
,zipr
,shplng
,fid1
,name1
,vol6
,date6
,lat
,long
,xstrt
,xdir
,xdist
,date1,vol1,date2,vol2,date3,vol3,date4,vol4,date5,vol5,dyna,rutid,tcid
*
* 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/