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

VoteEvent: Add requirement attribute #55

Open
jamesturk opened this issue Sep 25, 2015 · 1 comment
Open

VoteEvent: Add requirement attribute #55

jamesturk opened this issue Sep 25, 2015 · 1 comment

Comments

@jamesturk
Copy link
Member

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.

via @crdunwel opencivicdata/python-opencivicdata#38

@jpmckinney
Copy link
Member

The Motion class in Popolo has a requirement field: http://www.popoloproject.com/specs/motion.html

@jpmckinney jpmckinney added OCDEP and removed proposal labels Feb 20, 2017
@jpmckinney jpmckinney changed the title vote "required" attribute vote "requirement" attribute Feb 21, 2017
@jpmckinney jpmckinney changed the title vote "requirement" attribute VoteEvent: Add requirement attribute Feb 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants