Page 1 of 1

Data input: READ, IMPORT

Posted: Tue Jul 19, 2016 1:09 am
by shuchang
Hi Gareth,

I am a long term Eviews user, but new to Eviews 9. I have great problems inputting data into a wf, and the READ I am so familiar with doesn't work now. I got empty series (no data, no heading) when using the commands:

read(b2, t=xls, sheet=total) volume_boe_eviews.xls 1
read(b2, t=xls, sheet=ndf) volume_boe_eviews.xls 8
read(b2, t=xls, sheet=df) volume_boe_eviews.xls 8
read(b2, t=xls, sheet=spot) volume_boe_eviews.xls 8
read(b2, t=xls, sheet=swap) volume_boe_eviews.xls 8

Please advise what to do. Also what would be the IMPORT command for doing this?

Best,

Chang

Re: Data input: READ, IMPORT

Posted: Tue Jul 19, 2016 6:29 am
by EViews Gareth

Code: Select all

import volume_boe_eviews.xls range="total"

Re: Data input: READ, IMPORT

Posted: Tue Jul 19, 2016 6:36 am
by shuchang
I tried the import command. I got the message: 'incomplete date spec (no start date)'

Re: Data input: READ, IMPORT

Posted: Tue Jul 19, 2016 8:24 am
by EViews Steve
If you manually drag the spreadsheet onto EViews, and use our Import wizard to perform the import, it will generate an IMPORT command in the capture window for you to use in your programs with all the proper settings.

Re: Data input: READ, IMPORT

Posted: Wed Jul 20, 2016 12:21 am
by shuchang
Thanks.

Do you recommend to use IMPORT rather than READ now? The READ command I was so familiar with doesn't work now.



chang

Re: Data input: READ, IMPORT

Posted: Wed Jul 20, 2016 6:21 am
by EViews Gareth
We stopped supporting READ in EViews 4.

Re: Data input: READ, IMPORT

Posted: Wed Jul 20, 2016 7:46 am
by EViews Steve
As an aside, maybe we should start warning our users when they use deprecated commands in their programs. Not sure where we would show that though -- maybe the program log window (if there is one).

Re: Data input: READ, IMPORT

Posted: Wed Jul 20, 2016 8:01 am
by shuchang
This might be useful indeed. For example, I always used READ as the main input method and didn't realise that it's outdated until this time it failed to work.

Many thanks.

Best,

Chang