election_day.views.election_compound.data

Functions

view_election_compound_data(→ onegov.core.types.RenderData)

" The main view.

view_election_compound_data_as_json(...)

View the raw data as JSON.

view_election_compound_data_as_csv(...)

View the raw data as CSV.

view_election_compound_parties_data_as_json(...)

View the raw parties data as JSON.

view_election_compound_parties_data_as_csv(...)

View the raw parties data as CSV.

Module Contents

election_day.views.election_compound.data.view_election_compound_data(self: onegov.election_day.models.ElectionCompound, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

“ The main view.

election_day.views.election_compound.data.view_election_compound_data_as_json(self: onegov.election_day.models.ElectionCompound, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.JSON_ro[source]

View the raw data as JSON.

election_day.views.election_compound.data.view_election_compound_data_as_csv(self: onegov.election_day.models.ElectionCompound, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

View the raw data as CSV.

election_day.views.election_compound.data.view_election_compound_parties_data_as_json(self: onegov.election_day.models.ElectionCompound, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.JSON_ro[source]

View the raw parties data as JSON.

election_day.views.election_compound.data.view_election_compound_parties_data_as_csv(self: onegov.election_day.models.ElectionCompound, request: onegov.election_day.request.ElectionDayRequest) onegov.core.types.RenderData[source]

View the raw parties data as CSV.