deleting part of series label

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

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

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

deleting part of series label

Postby tvonbrasch » Sat May 27, 2017 11:33 pm

Hi

If I have a series with labels, say
serieslabel.PNG
serieslabel.PNG (32 KiB) Viewed 3748 times


How do I delete a particular label row?

For example, how do I delete: "Imported from 'C:\Users\vonbr\AppData\ev_temp\103301__ts=15c0b99a670'"

so that the series label becomes:

Code: Select all

 og ideelle organisasjoner
Kvartalsvis nasjonalregnskap, 1. kv. 2017
Tabell 6. Makroøkonomiske hovedstørrelser. Sesongjustert. Faste 2014-priser. Millioner kroner(2)


?

Thomas

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

Re: deleting part of series label

Postby EViews Gareth » Sun May 28, 2017 7:19 am

When you click on View->Label, which label is it?
Follow us on Twitter @IHSEViews

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

Re: deleting part of series label

Postby tvonbrasch » Sun May 28, 2017 1:01 pm

It is a remark
label.PNG
label.PNG (25.79 KiB) Viewed 3726 times

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

Re: deleting part of series label

Postby EViews Gareth » Sun May 28, 2017 2:26 pm

Well interactively, you can just delete them whilst in that view.

Programmatically it is a little more tricky. You can use series.clearremarks to wipe all remarks out.

If you wan to keep some, you'd have first retrieve all the remarks with %a = series.@remarks. Then parse it and remove the ones you want, then set the remainder back as remarks using series.setattr("remarks")
Follow us on Twitter @IHSEViews

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

Re: deleting part of series label

Postby tvonbrasch » Sun May 28, 2017 10:25 pm

ok, great, thanks
thomas


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 19 guests