This is an extension of pdfminer3k, joint work with ianknowles that extracts tabular data (with a focus on institutional accounts) from pdf files published under David Cameron's 2010 transparency push.
Requires pdfminer3k and Pillow packages as detailed in the requirements.txt file (pip install -r requirements.txt
)·
Outputs .csv files in the same directory as the input (.pdf) file. There might be the odd edge case; feel free to fork, unit test, and raise issues!
Funded by the British Academy as part of the NHSSpend project, with earlier related concepts and work funded by the ESRC (ES/M010392/1).