No description, website, or topics provided.
Clone or download
eblur Update README.md
Added instructions for using the files
Latest commit 3adf9cd Oct 26, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md Update README.md Oct 26, 2018
about.markdown Added about file Dec 16, 2015
make_sig_list.py Backup of signatures that went into printed version for SCOTUS Dec 16, 2015
make_sig_list_html.py Signature list in html format Dec 16, 2015
responses.tsv Final list of responses Dec 16, 2015
responses_printed.tsv Backup of signatures that went into printed version for SCOTUS Dec 16, 2015
scotus_letter.tex Committing raw tex files Dec 15, 2015
signature_list.tex
signature_list_html Signature list in html format Dec 16, 2015

README.md

scotus

This repo contains Python scripts for taking in tab-separated-value ascii files (e.g., output from a spreadsheet) and producing an html (or latex) ready list of signatures for displaying on the web.

How to use these files

You can export the results of a Google form survey to a Google spreadsheet. In the spreadsheet, click on File -> Download As -> Tab-separated value (tsv) to get an ascii file of tab separated values.

Modify the attributes of the Signature object in make_sig_list.py or make_sig_list_html.py to correspond to the columns in your .tsv file.

Modify the Signature.format_sig_string method if necessary to print the signatures as you desire. (Default is to print Name, Title, and Affiliation)

Run python make_sig_list_html.py in the terminal.

Note that the signatures will be printed in random order each time you run the script. To turn that off, comment out the random.shuffle(siglist) line.