Feature request: relabeling existing ledger
I can currently use reckon to assign accounts based on transactions in CSV files. But when importing lots of data (last 5 years for example), not all of it is important to deal with straight away.
I can use the default account to assign the rest to Expenses:Other or something similar, but then I lose track of them.
I'd love to be able to provide an existing ledger as input and say that only account X should be processed. This would allow me to explicitly process major entries and chuck everything else into Expenses:TODO, until I have time to come back and process them with reckon --process-ledger some_file --query 'Expenses:TODO' or something similar.
Hi @viraptor thanks for using Reckon!
I think I understand it, it sounds like what you're trying to do is edit existing ledger entries that match a specific account 'Expenses:TODO', is that correct?
If you want to reprocess your ledger file, you could export it as CSV (ledger csv), then filter by a specific account grep Expenses:TODO and pass it back into reckon. Reckon doesn't support editing a ledger file directly.
ex.
ledger csv -f some_file | grep Expenses:TODO |reckon -l some_file -o some_new_file.
Another alternative I see is that when you do the initial import, if reckon could output those TODO transactions into a different file, then you could csv that file and add them to the main file, instead of editing a ledger file. Would that work?