curl https://projects.fivethirtyeight.com/2018-midterm-election-forecast/house/home.json > 538Forecast-2018-09-09.json
cat 538Forecast-2018-09-09.json | ruby 538-json-parser.rb > 538-forematted.csv
Upload 538-forematted.csv
to Google Sheet
Export and Download From FEC Source
cp ~/Downloads/totals-2018-09-09T14_16_50.csv FEC-2018-09-09.csv
Export as CSV Google Sheet
cp ~/Downloads/2018\ House\ \$\ Efficiency\ -\ Primary\ Winners.csv ./PrimaryWinners.csv
cat FEC-2018-09-09.csv | ruby reconcile_names.rb > reconciled.csv
Upload reconciled.csv
to Google Sheet
guard # to run haml
aws s3 cp --profile effective-elections --acl public-read public/index.html s3://effective-elections/index.html