Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 1.11 KB

README.md

File metadata and controls

35 lines (28 loc) · 1.11 KB

Polis Exporter

This is a messy work-in-progress set of scripts for generating a Polis zipped archive from public resources.

Docs: Export format

Usage

npm install

CONVO_ID=xxxxxxxx
node getData.js $CONVO_ID      # Download json data on convo
node makeVotes.js $CONVO_ID    # Make votes.csv from downloaded files
node makeSummary.js $CONVO_ID  # Make summary.csv
node makeComments.js $CONVO_ID # Make comments.csv

Roadmap

  • Write script to download all relevant files
  • Map all relevant CSV export data to data from public REST API
    • Ideally, this would not need supplying a password.
  • Write script to generate...
    • votes.csv
    • summary.csv
    • comments.csv
    • participants-votes.csv
    • stats-history.csv
  • Encapsulate AI calls in a small rest client library
  • Encapsulate processing steps in a library
  • Write a simple webapp to allow viewing of CSV files
  • Allow downloading all CSV's in zip format
  • Allow including xid's when moderator email/pass is supplied
  • Add an explanatory front page