Skip to main content

Parse PDF-to-XML converted lobby list of German Bundestag

Project description

Use pdftohtml to get an XML file from the pdf.

pdftohtml -xml input.pdf output.xml

Then use the extractor with first and last relevant page number to convert to parsed JSON:

python extract_lobby.py 4 690 < lobbylist.xml > lobbylist.json

Here is [extracted JSON (15th of June 2012)](http://stefanwehrmeyer.com/projects/verbaendeliste/20120615.json).

License: MIT-License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

verbaendeliste-bundestag-0.1.0.tar.gz (5.6 kB view hashes)

Uploaded Source

Built Distribution

verbaendeliste_bundestag-0.1.0-py2.py3-none-any.whl (6.3 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page