emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Tracking finances with Babel
@ 2010-08-02  2:01 Jason Dunsmore
  2010-08-02  3:12 ` Dan Davison
  0 siblings, 1 reply; 2+ messages in thread
From: Jason Dunsmore @ 2010-08-02  2:01 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: davison

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Tracking finances with Babel
  2010-08-02  2:01 Tracking finances with Babel Jason Dunsmore
@ 2010-08-02  3:12 ` Dan Davison
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Davison @ 2010-08-02  3:12 UTC (permalink / raw)
  To: Jason Dunsmore; +Cc: emacs-orgmode

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 <emacs-orgmode@deathroller.dunsmor.com> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-08-02  3:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-02  2:01 Tracking finances with Babel Jason Dunsmore
2010-08-02  3:12 ` Dan Davison

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).