There is lots of stuff here, that may provide ideas, too: https://plaintextaccounting.org
Someone kindly added my python tool there, ledgerbil, with which I crudely extend ledger for my own purposes. In some cases I wrap ledger, capturing its output and reformatting/calculating things, e.g a grid to show expenses over months or years, or an investment view that puts number of shares together with the value of them. In others I read the ledgerfile and do my own stuff with the data (there is a scheduler that adds recurring transactions, and an interactive reconciler). John's comment here makes me wonder if I'd be better off taking csv output from ledger for some of the stuff I do. Anyway, this isn't to promote my program so much as point you at the goodies at that site. I could certainly benefit from studying them more, although I greatly enjoy just making things up from scratch, too. Scott On Sunday, June 17, 2018 at 5:51:31 PM UTC-5, Colin Dean wrote: > > So far, most of my needs for reporting have been satisfied by simple > balance reporting, sometimes with some custom formatting. > > For some more advanced stuff, I've got a Ruby script that captures the > output of a few ledger balance reports and then runs some further > calculations. For example, I want to sum the total expenses of a few > accounts, half of the expenses of another few accounts, and then some more > complex logic for some others. Is there a way to do this within ledger? > > Next up, I want to try to calculate my savings rate. Is there something > that would let me effectively capture the output of two balance reports? > E.g. ledger bal --start "Jan 1" (Assets / (Income - Expenses:Taxes)) > > I'm working up in my head some kind of wrapper around ledger that would > let me define simple and complex reports in some kind of manifest format > and then dump that output to a nice-looking report. I've kinda already > cobbled something together for the non-profit for which I use ledger, but I > want to refactor it into something more maintainable than a 1000 line > Makefile ;-) > -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
