Importing ASCII data

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason

jthodge
Posts: 77
Joined: Tue Oct 21, 2008 5:52 am

Importing ASCII data

Postby jthodge » Thu Dec 04, 2008 12:00 pm

I'm trying to read a messy undelimited ASCII file into a workfile as pure rows of text from which I will use various string functions to extract my data. Here is the coding that I am currently using:

read(t=dat, d= ) %filename rawdata $

I use the option "d= " to indicate that there are no delimiters (other than the end of each row). The problem is that the first row of the ASCII file appears to have been dropped. The first observation in the alpha series is the second row from the file. Eviews correctly names my alpha series "rawdata" instead of using the first row as a series name. I've also tried using the option skiprow=0, but that doesn't solve the problem. So what happened to the first row of the file?

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13600
Joined: Tue Sep 16, 2008 5:38 pm

Re: Importing ASCII data

Postby EViews Gareth » Thu Dec 04, 2008 12:24 pm

I think we'd need to see the file to answer this properly. Could you email in to support@eviews.com along with your serial number?


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests