Page 1 of 1

deleting part of series label

Posted: Sat May 27, 2017 11:33 pm
by tvonbrasch
Hi

If I have a series with labels, say
serieslabel.PNG
serieslabel.PNG (32 KiB) Viewed 4209 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

Re: deleting part of series label

Posted: Sun May 28, 2017 7:19 am
by EViews Gareth
When you click on View->Label, which label is it?

Re: deleting part of series label

Posted: Sun May 28, 2017 1:01 pm
by tvonbrasch
It is a remark
label.PNG
label.PNG (25.79 KiB) Viewed 4187 times

Re: deleting part of series label

Posted: Sun May 28, 2017 2:26 pm
by EViews Gareth
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")

Re: deleting part of series label

Posted: Sun May 28, 2017 10:25 pm
by tvonbrasch
ok, great, thanks
thomas