[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [help-recutils] select certain fields for output, ob-rec.el
From: |
Jose E. Marchesi |
Subject: |
Re: [help-recutils] select certain fields for output, ob-rec.el |
Date: |
Mon, 18 May 2015 17:00:02 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
I have been reading through the rec-utils and rec-mode infos and the
2011 emails, upon which the above source code block is based.
Is there way of using the -p or -P with the selex that will give the
following?
| Date | Description | Amount |
|-----------------+-------------------------+-------------|
| 2014-01-10 | 110.206 shs Foo | 5290.99 |
| 2014-01-10 | 6940.029 shs Bar | 17003.07|
Is there a Field expression that should be used?
You can use :fields Date,Description,Amount:
#+begin_src rec :data Guarascio.rec :type Account :fields
Date,Description,Amount
Schedule = 'A'
#+end_src
Other supported keywords are:
:join to join with a field.
:groupby for grouping
:cmdline to pass arbitrary options to recsel.
It is easy to add more keywords if needed :)