Skip to content

Download results of a voting on an open format (Open Data) #7116

@andreslucena

Description

@andreslucena

ref V-VP.07

Closely related with "Download results of an Election on an open format (Open Data)" (S-V.02) #5968

As a visitor, I want to download the results of the voting in an open format (CSV). As Decidim has already a "Download Open Data" link in the footer, we would need to implement it in a file there. On Decidim Barcelona that'd be called www.decidim-barcelona-open-data-votings.csv.

The format for this file would be based on what we already have for consistency, with these columns:

id;url;title/es;title/ca;description/es;description/ca;start_time;end_time;voting_type/es;voting_type/ca;scope/id;scope/name/es;scope/name/ca;banner_image_url;introductory_image_url

Where:

Column Description
id Voting ID
url Voting URL
title/es Title on Spanish (* depends on the instance, one for every i18n lang)
title/ca Title on Catalan (* depends on the instance, one for every i18n lang)
description/es Description on Spanish
description/ca Description on Catalan
start_time Start time column
end_time End time column
voting_type/es Which kind of voting is, in Spanish
voting_type/ca Which kind of voting is, in Catalan
scope/id Scope ID
scope/name/es Scope name in Spanish
scope/name/ca Scope name in Catalan
banner_image_url Full URL of the banner image
introductory_image_url Full URL of the introductory image

(Please note that this needs a review and could change with whatever makes sense at the technical level)

Acceptance criteria

  • As a visitor I can download the Votings on the Open Data file after the voting is published

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions