upload series with period

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

ravage
Posts: 7
Joined: Mon Nov 03, 2014 5:27 pm

upload series with period

Postby ravage » Wed Nov 18, 2015 11:47 pm

Hi,
Small but important (for me) question. How would you upload a series from eViews into a database with a period in it?
Say I have these in eViews:
FHPICLXTAM_IAUS_MGME
FHPICLXTAM_IAUS_MGPE
FHPICLXTAM_IAUS_MGSY
is there any possibility to convert it to
FHPICLXTAM.IAUS_MGME
FHPICLXTAM.IAUS_MGPE
FHPICLXTAM.IAUS_MGSY
as it is uploaded into a fame database?

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

Re: upload series with period

Postby EViews Jason » Thu Nov 19, 2015 9:47 am

You can with the use of object aliasing in the database. It is a bit cumbersome if you have a lot of series but doable.

Open your FAME database

Code: Select all

dbopen(t=fame) myfamedatabase
In the Fame database window, select view->object aliases. Add lines similiar to

Code: Select all

myeviewsseries = myfameseries.myfameext
For example,

Code: Select all

FHPICLXTAM_IAUS_MGME=FHPICLXTAM.IAUS_MGME FHPICLXTAM_IAUS_MGPE=FHPICLXTAM.IAUS_MGPE
Now if you drag your EViews series from the workfile to the Fame window or if you use the store command (see example below), the series will get renamed.

Code: Select all

store myeviewsseries


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests