opencivicdata / docs.opencivicdata.org

Open Civic Data project documentation
https://open-civic-data.readthedocs.io
44 stars 33 forks source link

Votes "requires" attribute #47

Closed crdunwel closed 9 years ago

crdunwel commented 9 years ago

**Not sure where issues of data format modification suggestions should be raised so raising it in this project. Also, the spec in the docs may be outdated so if these things were later included then apologies.

Different kinds of votes in different legislatures require different percentages of support to pass. Seems like important information to store about a vote. The @opencongress congress scrapers include this attribute in votes as you can see in the following example.

{
  "requires": "1/2", 
  "result": "Failed", 
  "result_text": "Failed"
}

The result_text may also be relevant too since we're storing passing as a boolean value instead of the actual text specific to the vote type. For instance, "Nomination Confirmed" for federal votes in OCD would be reduced to a boolean value on passed so we'd lose how the legislature labels the passing of the vote.

Arguments for / against including these attributes?