Page 1 of 1

Loading data

Posted: Thu Oct 23, 2014 9:26 am
by ral
I have a simple problem that is driving me crazy. I am trying to load some data into an Eviews workfile. When I attempt to import the 49 data series, I obtain NAs rather than the data themselves.

Here is the code:

cd ...\mydirectory

wfcreate(wf="persistwgtpi", page="monthly") m 1980M1 2014M9

' Read in data
' Change sheet for different countries
read(b2,s=sweden) cpisubcomp.xlsx 49

Thanks in advance.

Re: Loading data

Posted: Thu Oct 23, 2014 9:27 am
by EViews Gareth
The READ command has not been supported since EViews 4. As such it does not support .xlsx files. Use WFOPEN or IMPORT instead.