Page 1 of 1

set workfile range to imported data series

Posted: Wed Dec 02, 2015 4:34 pm
by Jariel
I got a workfile with an equation in it, and a csv file with data in it.
I want both the workfile and the csv file merged into the same workfile, but the workfile range should equal the range of the csv file.

If i do this:

Code: Select all

wfopen equation.WF1 import data.csv
Then the range of the workfile equals the equation.WF1 (but i want it to equal data.csv)

I basically want to do this:

Code: Select all

wfopen data.csv
The range gets set to the range i want that way.

But i can't just use the import command to get the equation:

Code: Select all

import equation.WF1
I don't know the needed range beforehand, so i can't use pagestruct either.

Re: set workfile range to imported data series

Posted: Wed Dec 02, 2015 5:15 pm
by EViews Gareth
Import has a resize option that tells EViews to resize the destination workfile to accommodate all of the data in the source file.

Re: set workfile range to imported data series

Posted: Wed Dec 02, 2015 5:19 pm
by Jariel
Thanks must have missed that.