Go to file
2016-08-30 11:31:41 -04:00
.gitignore Plop this on S3 already 2015-09-13 22:56:29 -04:00
.rubocop_todo.yml Another li'l round of touchups 2016-08-30 11:28:59 -04:00
.rubocop.yml Leave myself more breadcrumbs 2015-10-04 18:41:08 -04:00
.travis.yml Set a modern ruby version eh 2016-08-30 11:31:41 -04:00
config.ru Leave myself more breadcrumbs 2015-10-04 18:41:08 -04:00
cpi_fetcher.rb Attempt to make an authenticated request to bls 2016-08-30 11:17:20 -04:00
Gemfile Doing the maintenance dance 2016-08-30 10:56:49 -04:00
Gemfile.lock Doing the maintenance dance 2016-08-30 10:56:49 -04:00
LICENSE Another li'l round of touchups 2016-08-30 11:28:59 -04:00
mini_s3put.rb Another li'l round of touchups 2016-08-30 11:28:59 -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