Consistent treatment of {%seriesname}.@attr

For making suggestions and/or requests for new features you'd like added to EViews.

Moderators: EViews Gareth, EViews Moderator

mamo
Posts: 189
Joined: Wed Nov 07, 2012 9:11 am

Consistent treatment of {%seriesname}.@attr

Postby mamo » Fri Feb 13, 2015 2:54 am

Dear Eviews team,

{%seriesname}.@attr("name") provides the name of the series.

@attr also allows for obtaining the values of custom attributes of a series that the user has defined herself.
However, to my knowledge there is no way to read the history of a series within a program.
(I know that @description, @displayname, @name, @updatetime, @source, @remarks are implemented as individual data member of series)

Suggestion:
add a data member "@history" to the set of data members of the series object.
Suggestion 2, preferred:
allow all attributes of a series to be approached in a consistent manner with the @attr data member, i.e.: {%seriesname}.@attr("history"), {%seriesname}.@attr("name"), {%seriesname}.@attr("description"), {%seriesname}.@attr("source"), etc.

Kind regards,
mamo
PS: I am using Eviews 8 on Win7 64 bit

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

Re: Consistent treatment of {%seriesname}.@attr

Postby EViews Gareth » Fri Feb 13, 2015 7:22 am

I don't follow this one.

You can do:

Code: Select all

string a = x.@attr("history")
Follow us on Twitter @IHSEViews

mamo
Posts: 189
Joined: Wed Nov 07, 2012 9:11 am

Re: Consistent treatment of {%seriesname}.@attr

Postby mamo » Fri Feb 13, 2015 10:16 am

Dear Eviews team,
many thanks, your suggested solution works
(I tried this before Iwrote the post, but it seems I must have made a mistake)
Kind regards, mamo


Return to “Suggestions and Requests”

Who is online

Users browsing this forum: No registered users and 8 guests