michaelmulley / openparliament Goto Github PK
View Code? Open in Web Editor NEWKeeping tabs on Canada's Parliament
Home Page: http://openparliament.ca/
License: GNU Affero General Public License v3.0
Keeping tabs on Canada's Parliament
Home Page: http://openparliament.ca/
License: GNU Affero General Public License v3.0
It would be nice to have a single RSS feed for all the debates. This would be a one-stop resource that would allow people keep tabs on everything that's going on (a "river of news").
Committee memberships: maybe. Cabinet posts: definitely.
Get email when new items match this search is possible in sayit version?
Tnks
After following your installation instructions, when running "python manage.py runserver", I got caught with "Error: No module named compressor".
Running "pip install django_compressor" fixed the error.
Running command git clone -q git://github.com/wylee/django-haystack.git /root/openparliament/src/django-haystack
fatal: unable to connect to github.com:
github.com[0: 140.82.113.4]: errno=Connection timed out
ERROR: Command errored out with exit status 128: git clone -q git://github.com/wylee/django-haystack.git /root/openparliament/src/django-haystack Check the logs for full command output.
OK, so I feel stupid even suggesting this, as I'm sure it's on your radar. I actually came into the queues expecting to find a thread to catch up on. But it wasn't here. And so: Hello! Care to do a braindump on how you see that fitting into your amazing project?
Feeds are only implicitly linked via a < link rel >. Add an icon and text to the Politician page.
The home page shows a vote (that failed) in the 41st parliament, but the bills page shows bills for the 40th parliament.
Following the link on the vote, I can get to bills for the 41st parliament at http://openparliament.ca/bills/41-1/
Hi, please tell me if with short budget make a custom work with parser and scraper for this hanard or debate:
http://www.concejodemedellin.gov.co/concejo/m21_gallery/23698.pdf
Is possible?
Tnks
We are currently working on a project that utilizes the openparliament API (great project by the way) and noticed that the resulting query to the /politicians/ API returns only 308 MPs (number of MPs during the period from 2011-2015), instead of the current 338 MPs.
Only after manually setting the limit to >338 are more politicians returned. And even then, only 333 results are listed, so there seem to be some of them missing, still.
I'm currently trying to find out which of them are missing, to maybe give a direction where to look.
... so that they don't show up in e-mail alerts, RSS, and when browsing through a politician's statements in the house.
Yes, that means Peter Milliken's page will be kinda barren. But it also means Denise Savoie's constituents get a more useful service.
Either via a sort option, or an easy way to jump to the last page.
Get an e-mail whenever a particular MP speaks
Hi!
Can we please get the descriptions/example usage for the filters without one on http://api.openparliament.ca/bills/ and http://api.openparliament.ca/committees/ (if these are used).
Thanks!
A search box restricted to the given politician
RSS feed for new bills, as they're introduced
Hi is possible?
personal page; House page; PARLINFO; Wikipedia; Pundit's Guide, maybe; twitter; facebook
Alas, free will is not often evident in the House: while votes are conducted on the individual level, they are virtually always conducted along party lines. Acknowledge this, track how each party voted on a given bill, and label votes against party line. (Howdtheyvote does this already.)
Maybe find or write a generic rss-to-email system?
Would accept postal code or name
Many people are entering a politician's last name, at which they get a jillion pages of search results, often leading off with pages of very old entries. The politician in question is virtually always the first search result, and clicking on the linked name will take you to the politician page, which then provides a reasonably clear answer to "what has my MP been saying recently." But the current UI isn't leading people to click on that first result.
I changed the search view to, when you enter a full politician's name (e.g. "thomas mulcair") into search, redirect you to the appropriate MP page. But this can't and shouldn't be the behaviour when you enter just "mulcair." Maybe including a headshot would make people more likely to look at the politician result?
In the statement section from the debates, when clicking on "Link & Sharing", the option to go the the link to this statement in the parliament site is linking to a broken link.
It seems that the format a the link has changed.
The current link in openParliament is : http://www.ourcommons.ca/en/parliamentary-business#Int-10230856
The link that should be there is: http://www.ourcommons.ca/DocumentViewer/en/42-1/house/sitting-318/hansard#Int-10230856
Hi please tell me how install in local and virgin ubuntu 14.04 enviroment, tnks
Downloading/unpacking PIL>=1.1.6 (from -r requirements.txt (line 7))
Could not find any downloads that satisfy the requirement PIL>=1.1.6 (from -r requirements.txt (line 7))
Some externally hosted files were ignored (use --allow-external PIL to allow).
Cleaning up...
No distributions at all found for PIL>=1.1.6 (from -r requirements.txt (line 7))
Storing debug log for failure in /home/notroot/.pip/pip.log
Start with displaying a percentage of votes instead of a raw number. Then, maybe, build a simple election results view.
There are no hover events so it's impossible to make the share buttons show to share a quote on twitter for instance.
It would be great to have an RSS feed for activity on bills, such as votes and being mentioned in the House.
E-mail / mail / constituency office?
We're not parsing them correctly at the moment (because they're weird in the parl.gc.ca version - speaker names aren't linked or labelled as such). We should, uh, parse them correctly.
It appears that the /committees/ endpoint will never return results. The request is handled successfully, however (200 OK). Since there are committees listed on the web side, my feeling is that this is a bug.
Response matches that of http://api.openparliament.ca/committees/.
Search is currently sorted by relevance. Add options to sort by date (desc).
Many requests for this. This is at least partly related to a usability bug where people enter a politician's last name and want to use the search interface to find recent activity.
A search box -- free text, restricted to the chosen politician
I would like to choose which MP activity feeds to subscribe to. For example, a feed that only has votes or only has media mentions.
It is easy to get to the API documentation for MPs, Bills, Debates and Committees, because they are listed in the top menu on every page, but Votes and Ballots are less easy to find. I'm not sure if there are other API pages that could also do with more exposure, but it would be nice if these were either added to the top menu, or if there was an index for all API listed on the API page at http://api.openparliament.ca/api/.
This already exists -- /hansard/[hansard_id]/[statement_sequence]/ -- but there should be an icon to reveal it for each statement.
Hey!
I'm trying to filter my query with a time_range so that I can only return the debate text of a section of the proceedings, based on the day's agenda but the time_range filter doesn't seem to be working.
For example, this doesn't work:
https://api.openparliament.ca/speeches/?document=%2Fdebates%2F2017%2F5%2F17%2F&time=time__range%3D2012-10-19+10%3A00%2C2012-10-19+11%3A00
That API call was built using the example for the time field. I copy pasted it verbatim but it doesn't work.
The following formats work (as one would expect) but I had no luck making range work
2012-09-04 06:00
2012-09-04 06:00:00
2012-09-04 06:00:00.000000
2012-09-04 06:00Z
2012-09-04 06:00:00+0800
2012-09-04 06:00:00.000000-08:00
I just got an email alert confirmation, the subject includes a template variable, not the real value.
SpringtideCollectiveOrg/openhousens.ca#48 (comment)
how delete word with ñ and á, é, í, ó, pls help
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.