[Gretl-devel] Regarding the dataset command (Was: Feature request for sorting of variables)

Riccardo (Jack) Lucchetti r.lucchetti at univpm.it
Thu Oct 4 10:14:48 EDT 2007


On Thu, 4 Oct 2007, Allin Cottrell wrote:

> On Thu, 4 Oct 2007, Riccardo (Jack) Lucchetti wrote:
>
>> How would you like something like the following?
>>
>> dataset <subcommand> <argument>
>>
>> where <subcommand> could be either "delete", "keep", "deleteobs"
>> or "keepobs". The first two refer to variables (columns) and
>> have a list as the argument, the last two to observations (rows)
>> and the argument follows the same conventions we now use for the
>> "smpl" command (with all the caveats when applied to a
>> time-series dataset).
>
> I quite like the "keep" idea (handy if you have a dataset
> containing a lot of "junk"), and I also like the idea of moving
> "delete" (for variables) into place under the "dataset" command.
>
> The old "delete" command could be kept as an alias, at least for a
> while.
>
> As for deleteobs and keepobs, these seem to me somewhat
> redundant given the smpl command and the ability to save the
> dataset.


Ok. Deal?


Riccardo (Jack) Lucchetti
Dipartimento di Economia
Università Politecnica delle Marche

r.lucchetti at univpm.it
http://www.econ.univpm.it/lucchetti


More information about the Gretl-devel mailing list