Open Putr opened 8 years ago
well, you should create an list of results. once the results for i.e. national2017 are there, it will not change.
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
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"
}
]
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.
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
}
]
Seems like a lot of information to collect but if someone is willing to do it...
I can collect `
anything outside of this would require a lot more work since I'd do most of gathering from PPI wiki stating only these values
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?
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.