election_day.views.election.data

Functions

view_election_data(→ onegov.core.types.RenderData)

" The main view.

view_election_data_as_json(→ onegov.core.types.JSON_ro)

View the raw data as JSON.

view_election_data_as_csv(→ onegov.core.types.RenderData)

View the raw data as CSV.

view_election_parties_data_as_json(...)

View the raw parties data as JSON.

view_election_parties_data_as_csv(...)

View the raw parties data as CSV.

view_election_aggregated_connections_data(...)

" View the list connections as JSON.

Module Contents

election_day.views.election.data.view_election_data(self: onegov.election_day.models.Election, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

“ The main view.

election_day.views.election.data.view_election_data_as_json(self: onegov.election_day.models.Election, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.JSON_ro[source]

View the raw data as JSON.

election_day.views.election.data.view_election_data_as_csv(self: onegov.election_day.models.Election, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

View the raw data as CSV.

election_day.views.election.data.view_election_parties_data_as_json(self: onegov.election_day.models.Election, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

View the raw parties data as JSON.

election_day.views.election.data.view_election_parties_data_as_csv(self: onegov.election_day.models.Election, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

View the raw parties data as CSV.

election_day.views.election.data.view_election_aggregated_connections_data(self: onegov.election_day.models.Election, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.JSON_ro[source]

“ View the list connections as JSON.