Giter Club home page Giter Club logo

elections-api's People

Contributors

alyttical avatar astraluma avatar dependabot[bot] avatar jacebrowning avatar quirogas avatar ramona-saintandre avatar rycieos avatar seankeckler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

elections-api's Issues

Clean up proposal text

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

Pick license

I'm leaning toward something less permissive, like GPL.

Page results

Or we could just require the filter to be sufficient to limit results.

What should be on the homepage?

Right now we're just rendering the README to show examples.

We could:

  • keep something like this
  • serve Swagger UI at / instead of /docs
  • something else?

Return 404 on unknown queries

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"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.