From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Davison Subject: Re: Tracking finances with Babel Date: Sun, 01 Aug 2010 23:12:57 -0400 Message-ID: <87r5ih1zd2.fsf@stats.ox.ac.uk> References: <87lj8prcvg.fsf@riotblast.dunsmor.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=42448 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OflSa-0006cw-FV for emacs-orgmode@gnu.org; Sun, 01 Aug 2010 23:13:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OflSZ-0001Pt-0n for emacs-orgmode@gnu.org; Sun, 01 Aug 2010 23:13:04 -0400 Received: from markov.stats.ox.ac.uk ([163.1.210.1]:59786) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OflSY-0001Pg-OY for emacs-orgmode@gnu.org; Sun, 01 Aug 2010 23:13:02 -0400 In-Reply-To: <87lj8prcvg.fsf@riotblast.dunsmor.com> (Jason Dunsmore's message of "Sun, 01 Aug 2010 21:01:55 -0500") 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: Jason Dunsmore Cc: emacs-orgmode@gnu.org Hi Jason, Thanks for the clear example. While we're talking about this particular problem, I thought I'd mention that there's also a nice off-the-shelf solution in R: #+tblname: daily-expenses | Expense | Category | |---------+----------| | 2 | Food | | 1 | House | | 10 | Clothes | | 3 | Food | | 5 | House | #+begin_src R :var tab=daily-expenses :colnames yes attach(tab) aggregate(Expense ~ Category, FUN=sum) #+end_src #+results: | Category | Expense | |----------+---------| | Clothes | 10 | | Food | 5 | | House | 6 | Dan Jason Dunsmore writes: > Hello, > > There was a thread on tracking finances with Org-mode back in May: > http://thread.gmane.org/gmane.emacs.orgmode/24877 > > I had a different solution to the problem which I documented on Worg: > http://orgmode.org/worg/org-contrib/babel/uses.php#tracking-finances > > This is my first real use of Babel, so please let me know if there are > ways I can improve. > > Regards, > Jason