Fetching Macrobond data, resize workfile

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

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

tvonbrasch
Posts: 284
Joined: Fri Apr 15, 2011 5:35 am

Fetching Macrobond data, resize workfile

Postby tvonbrasch » Thu Aug 10, 2017 2:41 am

Hi

When importing data from macrobond i use the fetch command

Code: Select all

   fetch(d=mb, link) var


I want the workfile to automatically resize if the data in the mb-database has more observations than the size of the workfile. This option is available in the import command. But how can I do this if I want to fetch data from Macrobond?
Thomas

EViews Jason
EViews Developer
Posts: 672
Joined: Tue Sep 16, 2008 3:50 pm

Re: Fetching Macrobond data, resize workfile

Postby EViews Jason » Thu Aug 10, 2017 7:55 am

Unfortunately that option is not available for database fetches. You will have to create a workfile that is too large and then adjust the sample to the last non-NA value in the series. I should note however the sample will be incorrect if series in the database does in fact end with NAs.

tvonbrasch
Posts: 284
Joined: Fri Apr 15, 2011 5:35 am

Re: Fetching Macrobond data, resize workfile

Postby tvonbrasch » Thu Aug 10, 2017 9:12 am

Ok, excellent, thanks for the tip!
Thomas


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 3 guests