On Wed, 2 Sep 2020, Allin Cottrell wrote:
> A nice little project for someone ;-)
Now done in git.
You spoilsport. :)
While we're at it: it may be useful, at times, to sort on more than one
series. Or at least, I had to do this from time to time. At present, you
can do this by constructing an artificial key series. Example with
the Mroz dataset:
<hansl>
open mroz87
series key = WE * 100 + WA
dataset sortby key
print WE WA --byobs --range=1:32
</hansl>
However, this is neither particularly efficient nor elegant. Would you
think it worthwhile to add a list as a possible argument to "dataset
sortby"? Eg
<pseudo-hansl>
list SORT = WE WA
dataset sortby SORT
</pseudo-hansl>
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------