Skip to content

loleg/open-budget-miner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This script is used to read in the budget data of the Canton of Bern from PDF.

Requires Python 2+ and pdfminer

Data sources

Usage instructions

Use virtualbox to create a local env, then

$ pip install -r requirements.txt

Run the script appending the PDF filename

$ python mine.py data/sample.pdf > output/sample.json

Alternative usage with pdfminer

Download and compile pdfminer

$ git clone https://github.com/euske/pdfminer.git

Make a symlink in this folder

$ ln -s ../pdfminer/build/lib/pdfminer

Run the script appending the PDF filename

$ python mine.py data/sample.pdf > output/sample.json

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages