Tally Pol.is export format
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
6bsn3yezre-participants-votes.csv
6bsn3yezre-tally.csv
6bsn3yezre-tally.json
CNAME
LICENSE
README.md
po25-12-01-participants-votes.csv
po25-12-01-tally.csv
po25-12-01-tally.json
polis-tally-mathexp.pl
polis-tally.pl
talkto01-11-30-participants-votes.csv
talkto01-11-30-tally.csv
talkto01-11-30-tally.json
talkto01x-11-30-participants-votes.csv
talkto01x-11-30-tally.csv
talkto01x-11-30-tally.json
talkto02-12-04-participants-votes.csv
talkto02-12-04-tally.csv
talkto02-12-04-tally.json
talkto03-12-11-participants-votes.csv
talkto03-12-11-tally.csv
talkto03-12-11-tally.json
talkto04-12-16-participants-votes.csv
talkto04-12-16-tally.csv
talkto04-12-16-tally.json
talkto05-12-28-tally.csv
talkto05-12-28-tally.json
talkto06-12-31-tally.csv
talkto06-12-31-tally.json
talkto07-04-14-participants-votes.csv
talkto07-04-14-tally.csv
talkto07-04-14-tally.json
talkto08-04-21-participants-votes.csv
talkto08-04-21-tally.csv
talkto08-04-21-tally.json
talkto09-04-28-participants-votes.csv
talkto09-04-28-tally.csv
talkto09-04-28-tally.json
talkto10-05-05-participants-votes.csv
talkto10-05-05-tally.csv
talkto10-05-05-tally.json
talkto11-05-12-participants-votes.csv
talkto11-05-12-tally.csv
talkto11-05-12-tally.json
talkto12-05-19-participants-votes.csv
talkto12-05-19-tally.csv
talkto12-05-19-tally.json
talkto13-05-26-participants-votes.csv
talkto13-05-26-tally.csv
talkto13-05-26-tally.json
talkto14-11-03-participants-votes.csv
talkto14-11-03-tally.csv
talkto14-11-03-tally.json
talkto15-11-10-participants-votes.csv
talkto15-11-10-tally.csv
talkto15-11-10-tally.json
talkto16-11-17-participants-votes.csv
talkto16-11-17-tally.csv
talkto16-11-17-tally.json
talkto17-11-24-participants-votes.csv
talkto17-11-24-tally.csv
talkto17-11-24-tally.json
talkto18-12-01-participants-votes.csv
talkto18-12-01-tally.csv
talkto18-12-01-tally.json
talkto19-12-08-participants-votes.csv
talkto19-12-08-tally.csv
talkto19-12-08-tally.json
talkto20-12-15-participants-votes.csv
talkto20-12-15-tally.csv
talkto20-12-15-tally.json
talkto21-12-22-participants-votes.csv
talkto21-12-22-tally.csv
talkto21-12-22-tally.json
talkto22-04-27-participants-votes.csv
talkto22-04-27.csv
talkto22-04-27.json
talkto23-05-01-participants-votes.csv
talkto23-05-01-tally.csv
talkto23-05-01-tally.json
talkto24-05-11-participants-votes.csv
talkto24-05-11-tally.csv
talkto24-05-11-tally.json
talkto25-05-18-participants-votes.csv
talkto25-05-18-tally.csv
talkto25-05-18-tally.json
talkto26-05-25-participants-votes.csv
talkto26-05-25-tally.csv
talkto26-05-25-tally.json
talkto27-06-01-participants-votes.csv
talkto27-06-01-tally.csv
talkto27-06-01-tally.json
talkto28-06-08-participants-votes.csv
talkto28-06-08-tally.csv
talkto28-06-08-tally.json
talkto29-06-15-participants-votes.csv
talkto29-06-15-tally.csv
talkto29-06-15-tally.json
vtaiwan-data-integration-2018-10-31-participants-votes.csv
vtaiwan-data-integration-2018-10-31-tally-timestamp.csv
vtaiwan-data-integration-2018-10-31-tally.csv
vtaiwan-data-integration-2018-10-31-tally.json
vtaiwan-eliquor-03-31-participants-votes.csv
vtaiwan-eliquor-03-31-tally.csv
vtaiwan-eliquor-03-31-tally.json
vtaiwan-uberx-08-09-participants-votes.csv
vtaiwan-uberx-08-09-tally.csv
vtaiwan-uberx-08-09-tally.json

README.md

polis-tally

Tally Pol.is export format

Prerequisites

Perl modules Text::CSV_XS and JSON::XS from CPAN.

Usage

First, obtain the pol.is export zip file by navigating to the /export page such as https://pol.is/m/8s9hcwinjf/export (you can do this for any pol.is pages created by yourself or configured as "Open Data").

Then unzip the file and cd into the directory, and run:

perl /path/to/polis-tally.pl output.json

This will generate both a .json file and a .csv file with the same basename.