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

Add election results #33

Open
Putr opened this issue Feb 13, 2016 · 8 comments
Open

Add election results #33

Putr opened this issue Feb 13, 2016 · 8 comments

Comments

@Putr
Copy link
Member

Putr commented Feb 13, 2016

No description provided.

@collentine
Copy link
Contributor

How would the .json part of this be constructed?

It would be a nice feature BUT not sure it's a good idea for PAPI. This type of data would need regular updates unlike the other data in PAPI that is chosen explicitly to be as static as possible. Believe this type of enhancement might be an option for version 2.0 but not now. PPI wiki does a good job collecting and displaying this info already http://wiki.pp-international.net/Elections_2013 and PT will set up a page for better coverage of them too.

@Fafrin
Copy link
Contributor

Fafrin commented Feb 15, 2016

well, you should create an list of results. once the results for i.e. national2017 are there, it will not change.

@Putr
Copy link
Member Author

Putr commented Feb 15, 2016

The benefit of moving this data from the wiki to this project is the API - it'll be machine readable and than any other project (PPI website, PPEU website, Piratetimes election tracker app etc.) can ingest this centrally maintained dataset easily via the API. This means that to update ALL represenstations you just need to update the info in one place.

I suggested elections results as they are usually tracked on Wikipedia pages for specific parties and are usually covered by PT, so it'll not be that hard to add them.

Besides this does not have to be an exhaustive dataset. Just best effort - that'll be much better than what we have now.

My thinking here is to make the "Registry" a snapshot of every party - how active they are, how much reach they have, what is their status (like registered, ran for office), what were their results etc.

This, I think, would be very helpful as active parties would now KNOW which other parties are active that they are not interacting with yet, and facilitate P2P connections

@Putr
Copy link
Member Author

Putr commented Feb 15, 2016

The json could be:

"elections": [
  {
    "date": "",
    "type": "national",
    "body": "Parliment"
    "votes": 1203302,
    "percent": 1.3
    "elected": false
OR
    "elected": {
        "members": 3,
        "ofTotal": 100,
        "type": "Members of parliment"

  }
]

@Fafrin
Copy link
Contributor

Fafrin commented Feb 15, 2016

well, what about coalitions? (How should we count votes and elected members there).
We have a situation, where we got into elected in coalition into council, and after some time, as elected member of coalition partner stepped down, another of our membes become "elected".
We should also track, if the result is still valid/until when it is valid.

@Fafrin
Copy link
Contributor

Fafrin commented Feb 26, 2016

In concluson to my previous post;

Its not about "elected" or rather, nuber of elected representatives is only part of an election results.
But there is other value - current number of representatives (I dont think that we need to keep history of that in the register), so I proporse:

"elections": [
  {
    "date": "",
    "type": "national",
    "body": "Parliment"
    "votes": 1203302,
    "percent": 1.3
    "elected": {
        "members": 3,
        "ofTotal": 100,
        "type": "Members of parliment"

  }
]
"representatives": [
 {
   "type": national
   "body": senate
   "count": 1
   "ofTotal" 81
   "name" Člen senátu parlamentu České republiky
 }
]

@collentine
Copy link
Contributor

collentine commented Jun 1, 2016

Seems like a lot of information to collect but if someone is willing to do it...

I can collect
`

  • date
  • year
  • type (local/region/national/EU) <- this could be multiple values.
  • percent
  • seats (if elected)
    `

anything outside of this would require a lot more work since I'd do most of gathering from PPI wiki stating only these values

@Fafrin
Copy link
Contributor

Fafrin commented Jun 2, 2016

Shouldnt elections have some name? (Like local elections to the City council of Olomouc?)
Should we track when the mandate ends? (to note old, no longer valid election results?)
How should we note coalitions and such?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants