Extraction, fixing, transformation and enrichment of the open data provided by Bulgarian Parliament
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


This is the code I use to extract, fix and transform the open data of the Buglarian parliament. The data there is unfortunaltely not indexed and often is not valid xml. This script downloads all the MP, absense and bill data. Documenation is not available yet. Future optimization will include server load reduction, load arguments, cron job optimization and better visualization.

The data included is as follows:
- MP profiles including absenses and consultants
- MP Absenses sorted by data and by MP
- Consultants for MPs, parliament groups and parliament committees
- Data on bills - laws, law propositions, decisions and official declarations.
- Parliament groups - members, proposed bills, changes of members over time, consultants
- Parliament committees - members, discussed bills, documents, changes of members over time, consultants
- Parliament committee sittings - when, where, attending MPs, what points were discussed, transcripts and resulting reports
- Parliament delegations - members, changes of members over time
- Parliament friendship groups - members
- Parliament procruement data - all public procurement requests with dates, description and registry numbers
- Plenary transcripts, agenda and parliamentary control. 
- Votes during plenary sessions for each MP and each topic in the agenda. 

All these are remixed and linked. The included XSD describes the data. There is a number of lists that link to individual MP profiles or bill files. These lists are sorted in various ways. Please rever to index.html for a general guide.