Go to file
2015-10-04 18:50:31 -04:00
.gitignore Plop this on S3 already 2015-09-13 22:56:29 -04:00
.rubocop_todo.yml Leave myself more breadcrumbs 2015-10-04 18:41:08 -04:00
.rubocop.yml Leave myself more breadcrumbs 2015-10-04 18:41:08 -04:00
config.ru Leave myself more breadcrumbs 2015-10-04 18:41:08 -04:00
cpi_fetcher.rb Leave myself more breadcrumbs 2015-10-04 18:41:08 -04:00
Gemfile Leave myself more breadcrumbs 2015-10-04 18:41:08 -04:00
Gemfile.lock Leave myself more breadcrumbs 2015-10-04 18:41:08 -04:00
LICENSE License plates 2015-08-27 00:40:16 -04:00
mini_s3put.rb Make the AWS code a smidge more robust 2015-10-04 18:50:31 -04:00
Procfile Use correct $PORT 2015-08-27 00:42:28 -04:00
README.md Leave myself more breadcrumbs 2015-10-04 18:41:08 -04:00

cpi-feed

Transforms this into this 🎉.

usage

This is intended for use with Google Sheets via:

=IMPORTDATA("http://s3.amazonaws.com/meatballhat/cpi/current.csv")

deployment

A copy of this thing is deployed to Heroku with a Heroku Scheduler addon configured to run the following once daily:

bundle exec ruby cpi_fetcher.rb | bundle exec ruby mini_s3put.rb