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

The format for this file would be based on what we already have for consistency, with these columns:
id;election/id;election/title/es;election/title/ca;question/id;question/title/es;question/title/ca;answer/id;answer/title/es;answer/title/ca;answer/votes
Where:
| Column |
Description |
| id |
Answer ID |
| election/id |
Election ID that belongs this Answer to |
| election/title/es |
Election on spanish (* depends on the instance, one for every i18n lang) |
| election/title/ca |
Election on catalan (* depends on the instance, one for every i18n lang) |
| question/id |
Question ID that belongs this Answer to |
| question/title/es |
Question on spanish (* depends on the instance, one for every i18n lang) |
| question/title/ca |
Question on catalan (* depends on the instance, one for every i18n lang) |
| answer/id |
Answer ID |
| answer/title/es |
Answer on spanish (* depends on the instance, one for every i18n lang) |
| answer/title/ca |
Answer on catalan (* depends on the instance, one for every i18n lang) |
| answer/votes |
Total votes that this Answer has |
(Please note that this needs a review and could change with whatever makes sense at the technical level)
Acceptance criteria
ref: S-V.02
As a visitor I want to download the results of an election in an open format (CSV). As Decidim has already a "Download Open Data" link in the footer, we would need to implement in a file there. On Decidim Barcelona that'd be called
www.decidim-barcelona-open-data-elections.csv.The format for this file would be based on what we already have for consistency, with these columns:
id;election/id;election/title/es;election/title/ca;question/id;question/title/es;question/title/ca;answer/id;answer/title/es;answer/title/ca;answer/votesWhere:
(Please note that this needs a review and could change with whatever makes sense at the technical level)
Acceptance criteria