Documente Academic
Documente Profesional
Documente Cultură
This is a very simple API to allow anyone to download crowd sourced election results and incident
reports. The crowd sourced information will come form the Ziemozi app which will be free to
download from the end of January.
The API allows for downloading of all or subsections of the data using simple calls of the format
https://<ServiceUrl>?query_string.
ServiceUrl are
NOTE : These URLs are test environment URLs hosted on restdb.io and are rate limited. It is
preferable to download all available data at once and do analysis on your own client as
multiple calls may fail.
{ "request" : {
"state": "Enugu"
},
"result" :
[
{
"_id":"5c3ca13b4b4fa15f00005ebc",
"votes": 500,
"confidence": 0.4543417396489531,
"booth": "HILTOP",
"election": "PRESIDENTIAL_2019",
"picture": "https://media.premiumtimesng.com/wp-content/files/2015/03/Kano-PUs-Results.jpg",
"reportedBy": “Letha.Gusikowski@Larkin.ca,08090878901",
"reportedFrom": “7,6,7.65”,
"party": "PDP",
"ward": "UNADU1002",
"state": "Enugu",
"lga": "IgboEze South",
"constituency": "Nsukka/IgboEze Federal "
"_version":"6",
"_created": "2019-01-14T14:48:27.320Z",
"_createdby": "mockdata generator",
"_mock": "true",
"_changed": "Mon Jan 14 2019 18:51:44 GMT+0100 (CET)",
"_changedby": "james.agada@cwlgroup.com"
},
{}
]
}
The response is a JSON document with two major objects - the request object shows the original
request while the result object has an array of result elements showing the results as reported. The
following tables show the fields for results and for incidents.
"_id":"5c3ca13b4b4fa15f00005ebc", Record id
"constituency": "Nsukka/IgboEze Federal " The constituency from which the report
arises
NOTE: There could be multiple records for the same booth for same election from different people
or even the same person. Some records may also have incomplete details for instance no picture
or empty fields. You have to apply your own logic to get unique and acceptable result. For
instance a simple check will reject all records without an accompanying picture OR records
reported by only one person. If anyone can get the GPS location of polling booths, further
analysis of the image can retrieve the location where the picture was taken from and compare it
with the location where the report was sent from. Election results may also show records for
things like REGISTEREDVOTERS, ACCREDITEDVOTERS, VOTESCAST, VOIDVOTES under
parties.
"election": “PRESIDENTIAL_2019”
"reportedFrom": "42.3271"
"reportedBy": "Jimmy.Stoltenberg@yahoo.com"
"reportedAt": "1985-12-15T23:00:00.000Z"
"picture": "http://www.Stracke.biz/"
"incident_date": "2012-05-24T22:00:00.000Z"
"incident_value": "sapiente"
"_version": 1
"_created": "2019-01-15T05:34:43.598Z"
"_mock": true