EViews does not read some columns from a .csv.
Posted: Sun Sep 22, 2024 12:26 am
Hi,
I've got an issue with reading a .csv file.
The csv file contains daily data from 05/04/1964 to 09/20/2024 of 64 series. The first column is "Date" formatted as yyyymmdd. The problem is EViews does not read columns after "EXR".
I'm using EViews version 13 at home and version 14 at work. Both versions have the same problem.
Data in CSV file:
Data in EViews:
Currently, I have the following line, where %freq is one of "A" "Q" "M" "D":
The line works well with frequencies "A" "Q" "M", except "D". My guess is it is because of many blanks at the beginning of the daily data after "EXR".
I have tried the followings as well:
The same result as shown above.
This reads all columns but fails to treat the first "Date" column as dates.
Any suggestion?
I've got an issue with reading a .csv file.
The csv file contains daily data from 05/04/1964 to 09/20/2024 of 64 series. The first column is "Date" formatted as yyyymmdd. The problem is EViews does not read columns after "EXR".
I'm using EViews version 13 at home and version 14 at work. Both versions have the same problem.
Data in CSV file:
Data in EViews:
Currently, I have the following line, where %freq is one of "A" "Q" "M" "D":
Code: Select all
import %tmp_file ftype=ascii rectype=crlf skip=0 fieldtype=delimited delim=comma colhead=1 namepos=all eoltype=pad badfield=NA @freq {%freq} @id @date(date) @smpl @all I have tried the followings as well:
Code: Select all
wfopen(scan=all) %tmp_fileCode: Select all
read(name, label=1) %tmp_file 1000Any suggestion?