From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Davison Subject: Re: Tag table entries? Date: Mon, 03 May 2010 16:52:03 -0400 Message-ID: <878w80674c.fsf@stats.ox.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O92ch-00023K-S8 for emacs-orgmode@gnu.org; Mon, 03 May 2010 16:52:16 -0400 Received: from [140.186.70.92] (port=45068 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O92cc-0001zQ-QK for emacs-orgmode@gnu.org; Mon, 03 May 2010 16:52:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O92cb-00027x-0x for emacs-orgmode@gnu.org; Mon, 03 May 2010 16:52:10 -0400 Received: from markov.stats.ox.ac.uk ([163.1.210.1]:33009) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O92ca-00027g-OQ for emacs-orgmode@gnu.org; Mon, 03 May 2010 16:52:08 -0400 In-Reply-To: (Johan Ekh's message of "Mon, 3 May 2010 22:19:59 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Johan Ekh Cc: emacs-orgmode@gnu.org Johan Ekh writes: > Hi all, > I wonder if it is possible to tag rows in a table? > > For example, if=C2=A0 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 "gro= ceries", "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 ro= ws. [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