customising dtables using a prg

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Jason, EViews Moderator

Posts: 1
Joined: Sun Oct 15, 2017 4:56 pm

customising dtables using a prg

Postby nodarig » Sun Oct 22, 2017 8:13 pm

I am using a dtable, and transforming the data to year and period percentage changes:

group1.ddtabopts transform(1, PCY)
group1.ddtabopts transform(2, PC)

These commands automatically generate the following labels:

"(year % ch.)" and "(% ch.)"

Is there a way to get rid of these labels? I don't want anything to be printed, just the transformed data.

Thanks a lot

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

Re: customising dtables using a prg

Postby EViews Jason » Mon Oct 23, 2017 9:49 am

You will have to freeze the dtable into a table object and then loop through all the rows and manually set the cell contents to get rid of the labels.

Alternatively after freezing the dtable, you can just remove the entire column if you just want the data but I suspect you may still want the series labels.

Return to “Programming”

Who is online

Users browsing this forum: No registered users and 7 guests