election_day.views.vote.districts ================================= .. py:module:: election_day.views.vote.districts Functions --------- .. autoapisummary:: election_day.views.vote.districts.view_vote_districts election_day.views.vote.districts.view_vote_districts_proposal election_day.views.vote.districts.view_vote_districts_counter_proposal election_day.views.vote.districts.view_vote_districts_tie_breaker election_day.views.vote.districts.view_vote_districts_map_proposal election_day.views.vote.districts.view_vote_districts_map_counter_proposal election_day.views.vote.districts.view_vote_districts_map_tie_breaker election_day.views.vote.districts.view_ballot_as_table election_day.views.vote.districts.view_vote_districts_table_proposal election_day.views.vote.districts.view_vote_districts_table_counter_proposal election_day.views.vote.districts.view_vote_districts_table_tie_breaker election_day.views.vote.districts.view_ballot_by_district election_day.views.vote.districts.view_ballot_districts_as_map election_day.views.vote.districts.view_ballot_districts_svg Module Contents --------------- .. py:function:: view_vote_districts(self: onegov.election_day.models.Vote, request: onegov.election_day.request.ElectionDayRequest) -> onegov.core.types.RenderData " The main view (proposal). .. py:function:: view_vote_districts_proposal(self: onegov.election_day.models.Vote, request: onegov.election_day.request.ElectionDayRequest) -> onegov.core.types.RenderData " The main view (proposal). .. py:function:: view_vote_districts_counter_proposal(self: onegov.election_day.models.Vote, request: onegov.election_day.request.ElectionDayRequest) -> onegov.core.types.RenderData " The main view (counter-proposal). .. py:function:: view_vote_districts_tie_breaker(self: onegov.election_day.models.Vote, request: onegov.election_day.request.ElectionDayRequest) -> onegov.core.types.RenderData " The main view (tie-breaker). .. py:function:: view_vote_districts_map_proposal(self: onegov.election_day.models.Vote, request: onegov.election_day.request.ElectionDayRequest) -> webob.response.Response A static link to the map of the proposal. .. py:function:: view_vote_districts_map_counter_proposal(self: onegov.election_day.models.Vote, request: onegov.election_day.request.ElectionDayRequest) -> webob.response.Response A static link to the map of the counter proposal. .. py:function:: view_vote_districts_map_tie_breaker(self: onegov.election_day.models.Vote, request: onegov.election_day.request.ElectionDayRequest) -> webob.response.Response A static link to the map of the tie breaker. .. py:function:: view_ballot_as_table(self: onegov.election_day.models.Ballot, request: onegov.election_day.request.ElectionDayRequest) -> onegov.core.types.RenderData " View the results of the entities of ballot as table. .. py:function:: view_vote_districts_table_proposal(self: onegov.election_day.models.Vote, request: onegov.election_day.request.ElectionDayRequest) -> webob.response.Response A static link to the table by districts of the proposal. .. py:function:: view_vote_districts_table_counter_proposal(self: onegov.election_day.models.Vote, request: onegov.election_day.request.ElectionDayRequest) -> webob.response.Response A static link to the table by districts of the counter proposal. .. py:function:: view_vote_districts_table_tie_breaker(self: onegov.election_day.models.Vote, request: onegov.election_day.request.ElectionDayRequest) -> webob.response.Response A static link to the table of the tie breaker by districts. .. py:function:: view_ballot_by_district(self: onegov.election_day.models.Ballot, request: onegov.election_day.request.ElectionDayRequest) -> onegov.core.types.JSON_ro Returns the data for the ballot map. .. py:function:: view_ballot_districts_as_map(self: onegov.election_day.models.Ballot, request: onegov.election_day.request.ElectionDayRequest) -> onegov.core.types.RenderData " View the results of the districts of ballot as map. .. py:function:: view_ballot_districts_svg(self: onegov.election_day.models.Ballot, request: onegov.election_day.request.ElectionDayRequest) -> onegov.core.types.RenderData " Download the results of the districts of ballot as a SVG.