excel read in and match

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

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

seahorse
Posts: 13
Joined: Tue Mar 26, 2013 10:24 am

excel read in and match

Postby seahorse » Tue Feb 03, 2015 10:44 am

Hi folks,

Simple question I think but it is baffling me as there are lots of import commands. I have an eviews file with many pages in it and I would like to update the file with new data I have in Excel. To create the model I used code to readin lots of data and give it a range of attributes. When I try and import the updated data it creates new series rather than updating the existing ones. I hope that makes sense! I have attached the Excel and the Eviews of one of the sheets as an example. Basically I need code that can update the eviews variables with the new data in Excel (I have about 30 of these sheets so I will loop it all through once I can master doing it for one)

Thanks in advance

NG
Attachments
defs.xlsx
Excel from which I want to read the data in
(21.8 KiB) Downloaded 337 times
delfator.wf1
the model into which I want to update the variables
(26.19 KiB) Downloaded 308 times

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13585
Joined: Tue Sep 16, 2008 5:38 pm

Re: excel read in and match

Postby EViews Gareth » Tue Feb 03, 2015 10:54 am

Something like:

Code: Select all

import(mode=o) c:\temp\defs.xlsx colhead=11 namepos=first @freq a @id @date(variable_code) @destid @date


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests