I want to import a text file into a table object using the command
Code: Select all
importtbl(text,name=table) xxx.txtis imported as02
and2
asim
(see picture below). How can this be imported direcly as a text string?NA
Thomas
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
Code: Select all
importtbl(text,name=table) xxx.txtis imported as02
and2
asim
(see picture below). How can this be imported direcly as a text string?NA
Code: Select all
wfopen myfile.txt ftype=ascii rectype=crlf skip=0 fieldtype=delimited delim=tab types=(A,) colhead=0 eoltype=pad badfield=NA @id series01 @smpl @allCode: Select all
importtbl(type=text, ftype=ascii rectype=crlf skip=0 fieldtype=delimited delim=tab types=(A,) colhead=0 eoltype=pad badfield=NA @id series01 @smpl @all) .\lister\indeks_c_konsumaktivitet.txtCode: Select all
importtbl(name=mytable) Indeks_c_konsumaktivitet.txt ftype=ascii rectype=crlf skip=0 fieldtype=delimited delim=tab types=(A,) colhead=0 eoltype=pad badfield=NA
Users browsing this forum: No registered users and 2 guests