Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vote "requirement" attribute #38

Closed
crdunwel opened this issue May 7, 2015 · 1 comment
Closed

Vote "requirement" attribute #38

crdunwel opened this issue May 7, 2015 · 1 comment

Comments

@crdunwel
Copy link
Contributor

crdunwel commented May 7, 2015

Different kinds of votes in different legislatures require different percentages of support to pass. Seems like important information to store about a vote - more important than shoving it into extra attributes. 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. This may make more sense though to push to extra attributes.

@jamesturk
Copy link
Member

to opencivicdata/docs.opencivicdata.org#55 for discussion

@jpmckinney jpmckinney changed the title Vote "requires" attribute Vote "requirement" attribute Feb 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants