Hi Alex,

What this does is simply convert the same table output that you would have
seen without the CSV format to CSV.
If you look carefully, you will see some of the numbers rendered from the
postings.
The way you're invoking this  is not useful at the moment (though I admit
it's not obvious why), for instance, the formatting of inventories with
multiple currencies is split between multiples lines, as it would in the
table rendering. This report outputs the same data that is being rendered
in the HTML view. This makes little sense for a CSV output.

I have been thinking about rendering inventories in a single "cell", and to
implement an explicit "flattening" of posting rows when an inventory with
multiple currencies or lots has to be rendered, on multiple lines. The
shell doesn't do this well at the moment, but ultimately, this type of
output should be reduceable to a shell command.

Now, I have been thinking about building an explicit export report of all
postings to a table format.
I'm wondering if what I have in mind is what you're looking for.
What would you like to see exactly?
One row per posting?
And would you replicate the fields of each transaction?






On Thu, Aug 11, 2016 at 11:32 PM, Alex Johnstone <[email protected]> wrote:

>
> I'm trying to export all my transactions to csv. I was using bean-report
> to do so with the following line;
>
> bean-report -f csv -o ~/Documents/money.csv money.beancount register
>
> I also tried journal instead of register.
>
> However, the csv that gets exported is just the top line of each
> transaction:
>
> 2015-10-29,*,Netflix,,
>
> If someone could point me in the right direction I'd appreciate that.
>
> Thanks,
> Alex
>
> --
> You received this message because you are subscribed to the Google Groups
> "Beancount" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/beancount/58e9eed0-2aef-4a89-b589-7cc804a8ace6%40googlegroups.com
> <https://groups.google.com/d/msgid/beancount/58e9eed0-2aef-4a89-b589-7cc804a8ace6%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/CAK21%2BhO2%2BkCsrE%2BD9Ydxa2pHcx-M%2B%3Dx4LapWi8_TW%3D6vvdWSwg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to