From: Dan Davison <davison@stats.ox.ac.uk>
To: Johan Ekh <ekh.johan@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Tag table entries?
Date: Mon, 03 May 2010 16:52:03 -0400 [thread overview]
Message-ID: <878w80674c.fsf@stats.ox.ac.uk> (raw)
In-Reply-To: <n2p417457b51005031319q9644763cz52a682ff4c42fc08@mail.gmail.com> (Johan Ekh's message of "Mon, 3 May 2010 22:19:59 +0200")
Johan Ekh <ekh.johan@gmail.com> writes:
> Hi all,
> I wonder if it is possible to tag rows in a table?
>
> For example, if I have a table of expenses, i.e. columns with "date", "note" and "sum",
> and then want to group the entries into different categories such as "groceries", "car" etc.
>
> Can I do this someway?
Hi Johan,
You can't attach metadata such as tags to table rows. Two things come to
mind.
1. If you just want the table for visual purposes (as opposed for doing
calculations with it), then you could use column-view. I.e. you would
have a subtree for groceries and a subtree for car; categories such
as date, note and sum would be stored in properties.
http://orgmode.org/manual/Column-view.html#Column-view
Visibility cycling works in column view so you can group and ungroup the rows.
[is there anyway of creating a normal Org table from a column view
"table"?]
2. org-babel: If you're happy with a suitable supported language, then
store the category label in a column and you can transform the master
table however you want. R would be a convenient language for working
with a table like this.
Dan
>
> Best regards,
> Johan
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next prev parent reply other threads:[~2010-05-03 20:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-03 20:19 Tag table entries? Johan Ekh
2010-05-03 20:52 ` Dan Davison [this message]
2010-05-04 6:36 ` Johan Ekh
2010-05-04 8:36 ` Darlan Cavalcante Moreira
2010-05-04 14:35 ` Johan Ekh
2010-05-05 9:27 ` Darlan Cavalcante Moreira
2010-05-05 18:29 ` Johan Ekh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878w80674c.fsf@stats.ox.ac.uk \
--to=davison@stats.ox.ac.uk \
--cc=ekh.johan@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.