citizenlabsgr / elections-api Goto Github PK
View Code? Open in Web Editor NEWAPI for voter registration status and sample ballots in Michigan.
Home Page: https://michiganelections.io
License: GNU General Public License v3.0
API for voter registration status and sample ballots in Michigan.
Home Page: https://michiganelections.io
License: GNU General Public License v3.0
We don't require authentication so this button serves no purpose.
And never cache 5xx
responses.
Parse judge finance links: https://mvic.sos.state.mi.us/Voter/GetMvicBallot/1828/683/
Ideally, each proposal's text should be able to pass as Markdown:
A proposed constitutional amendment to establish a commission of citizens with exclusive authority to adopt district boundaries for the Michigan Senate, Michigan House of Representatives and U.S. Congress, every 10 years\n \n \nThis proposed constitutional amendment would:\n· Create a commission of 13 registered voters randomly selected by the Secretary of State:\n - 4 each who self-identify as affiliated with the 2 major political parties; and\n - 5 who self-identify as unaffiliated with major political parties\n· Prohibit partisan officeholders and candidates, their employees, certain relatives, and lobbyists from serving as commissioners\n· Establish new redistricting criteria including geographically compact and contiguous districts of equal population, reflecting Michigan's diverse population and communities of interest. Districts shall not provide disproportionate advantage to political parties or candidates.\n· Require an appropriation of funds for commission operations and commissioner compensation.\nShould this proposal be adopted?
cc @diiq
Proposal vs. Election
These are blank on ballots.
I'm leaning toward something less permissive, like GPL.
All links should forward to https://michiganelections.io/.
I don't think these are very useful and they add clutter to the UI.
Or we could just require the filter to be sufficient to limit results.
And set this as the "source of truth".
Right now we're just rendering the README to show examples.
We could:
/
instead of /docs
We should only return an empty response when we recognize all parts of a query.
These queries should return a 404
with an error message:
/api/ballots/?election_id=999999
/api/ballots/?precinct_county="Not A Real Place"
At a minimum, we should have a link back to the homepage.
http://www.django-rest-framework.org/topics/browsable-api/#advanced-customization
cc @diiq
https://webapps.sos.state.mi.us/MVIC/SampleBallot.aspx?d=1828&ed=676 has the wrong political party listed for senators: http://michiganelections.io/api/positions/?precinct_id=1217
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.