Post #4477307
2026-07-05 17:53 UTC
Probably the closest thing to a "pre-processing" step right now is: there are a few institutions who only let me download monthly data in PDF format. (Looking at you, Betterment.)
I use the standard-ish Unix pdftotext tool to convert these into text files, and then parse them with an annoying-to-maintain PEG grammar.
But I don't want to depend on tools like that being in the path, _or_ on their output being stable, so I do the conversion to text when the PDF file appears and then check it into the repo alongside the original PDF (in case I need to regenerate it due to a bug).
...also I don't necessarily recommend parsing statement PDFs. Sometimes they change arbitrarily. Betterment used to provide CSV and I just haven't had the spoons to migrate away yet.
Replies (0)
No replies.