Am 29.09.2021 um 22:20 schrieb Cottrell, Allin:
Ah, never mind. Using an artificial panel dataset as per your
specification, I see that the --panel-time option seems to have been
subject to bitrot since I last tested it. We'll see about fixing that.
Thanks, Allin! Does that mean that time-related sample restrictions
would become available, too?
Example:
smpl t > 1980:1 --restrict
which works nicely in a pure time-series context, but up to now has
failed in a quarterly panel even with panel-time set.
Replacing "t" with $obsdate doesn't help, either. Using $obsdate >
19800101 does work as a workaround, but it's not so nice to manually do
the conversion to iso format. What about overloading the built-in
isodate() function to allow a string like "1980:1", such that 'smpl t >
isodate("1980:1") --restrict' would become possible. (But perhaps
functions inside a smpl command are not allowed, either?) OTOH I can see
that there is an ambiguity between quarterly and monthly here. Hm.
thanks
sven