You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Dan Buch 9889d8710b
Un bork mini s3 putter
8 years ago
.gitignore Plop this on S3 already 9 years ago
.rubocop.yml Leave myself more breadcrumbs 9 years ago
.rubocop_todo.yml Another li'l round of touchups 8 years ago
.travis.yml Cachy cache 8 years ago
Gemfile Doing the maintenance dance 8 years ago
Gemfile.lock Doing the maintenance dance 8 years ago
LICENSE Another li'l round of touchups 8 years ago
Procfile Use correct $PORT 9 years ago
README.md Leave myself more breadcrumbs 9 years ago
config.ru Leave myself more breadcrumbs 9 years ago
cpi_fetcher.rb Attempt to make an authenticated request to bls 8 years ago
mini_s3put.rb Un bork mini s3 putter 8 years ago

README.md

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