Page 1 of 1

create string variable with cross section identifiers

Posted: Tue May 18, 2021 12:18 am
by tvonbrasch
Hi

How can I efficiently, and without the creation of another workpage, create a string variable with cross section identifiers from a panel workpage?

The following code works:

Code: Select all

pageunstack(page=aux) id id01 @ k %idseries= id.@crossids pagedelete aux string idseries=%idseries
but I have to create and delete an auxiliary workpage ...
t

Re: create string variable with cross section identifiers

Posted: Tue May 18, 2021 8:21 am
by EViews Gareth

Code: Select all

%idseries = @wjoin(@uniquevals(id))

Re: create string variable with cross section identifiers

Posted: Tue May 18, 2021 1:01 pm
by tvonbrasch
Great, thanks!
t