Postby maragloria » Thu Nov 18, 2021 4:01 pm
Hello Gareth,
I'll try to make it more clear.
In the page Zap_cg I got stacked qtly data in "datavalue".
I'm unstacking into a new q page (not shown in the file I've sent), using "serie_name" as the id:
pageunstack(page=q,namepat =*_?) serie_name start_date @ datavalue
In the page Zap_cg, there're also a few alpha objects storing some metadata. I would like to add some of these metadata as attributes to the unstacked time series in the new page q.
So, for instance, the first line in the stacked "datavalue" is BIS_CRDGGOV_ARG - 92Q4. This turns into a time series called BIS_CRDGGOV_ARG running from 92Q4 to 21Q1 when unstacked. I would like to add "Argentina: Adjusted Credit to the General Government [Nom Val] (EOP, % of GDP)" found in the alpha object haver_desc as the attribute Description to BIS_CRDGGOV_ARG (the resulting unstacked time series in the new page q). I couldn't manage to do it.