You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The turnout report is used for displaying the current voter turnout per administrative area. Administrative areas of interest are Regions, Constituencies and Sub Constituencies. That said, the current report structure does support Admin area reports but with a bad user experience, hence the need for updating it.
Proposed changes
Create filter drop-downs for filtering the report per the Administrative area's selected. The Administrative ares list with be based the one's that have result forms in archived state and results in the final entry. The filters will the following in the exact order:
Regions.
Constituencies.
Sub Constituencies.
Selecting region's should update the Constituencies and Sub Constituencies list with the one's in the region's selected.
The turnout report will consist of the following columns:
Administrative area
Total voters
Voters voted
Male voters
Female voters
Turnout
The Administrative area column value's should be the last Administrative Area selected so that we can display turn out per Administrative Area i.e.
On initial page load, no filter would have been selected so the report will be showing turnout per region(s).
If a region(s) is selected, the report will still show turnout per the selected regions.
If a constituenciey(s) is selected, the report will still show turnout per the selected constituenciey(s).
If a sub constituenciey(s) is selected, the report will still show turnout per the selected sub constituenciey(s).
Task check list
Create filter drop-downs for filtering the report per the Administrative area's. The filters will the following in the exact order:
Regions.
Constituencies.
Sub Constituencies.
The following Django queries should help with logic:
@JohnMwashuma for the sections: male_voters, female_voters and unisex_voters. I would like to confirm that we are showing the number of voters registered for each of these categories and not not the number of votes by people in these categories.
@JohnMwashuma for the sections: male_voters, female_voters and unisex_voters. I would like to confirm that we are showing the number of voters registered for each of these categories and not not the number of votes from people in these categories.
Actually thinking about this, it should be number of votes from people in these categories.
Context
The turnout report is used for displaying the current voter turnout per administrative area. Administrative areas of interest are Regions, Constituencies and Sub Constituencies. That said, the current report structure does support Admin area reports but with a bad user experience, hence the need for updating it.
Proposed changes
Administrative area
column value's should be the last Administrative Area selected so that we can display turn out per Administrative Area i.e.Task check list
Create filter drop-downs for filtering the report per the Administrative area's. The filters will the following in the exact order:
The following Django queries should help with logic:
Create a turnout report per Administrative areas selected. The following Django queries will help with this logic:
Regions turnout report:
Constituencies turnout report:
Sub Constituencies turnout report:
Update the
TurnoutReportDataView
view filterqueryset method with the above logicRelated to
#394
The text was updated successfully, but these errors were encountered: