It is a google sheets function now
This commit is contained in:
12
README.md
12
README.md
@@ -1,21 +1,17 @@
|
||||
# cpi-feed
|
||||
|
||||
Transforms [this](https://api.bls.gov/publicAPI/v2/timeseries/data/CUUSA210SA0)
|
||||
into [this](https://s3.amazonaws.com/meatballhat/cpi/current.csv) :tada:.
|
||||
into CSV rows.
|
||||
|
||||
## usage
|
||||
|
||||
This is intended for use with Google Sheets via:
|
||||
|
||||
```
|
||||
=IMPORTDATA("https://s3.amazonaws.com/meatballhat/cpi/current.csv")
|
||||
=CURRENTCPI("{bls-token}")
|
||||
```
|
||||
|
||||
## deployment
|
||||
|
||||
A copy of this thing is deployed to Heroku with a Heroku Scheduler addon
|
||||
configured to run the following once daily:
|
||||
|
||||
``` bash
|
||||
bundle exec ./sync
|
||||
```
|
||||
Just like [this
|
||||
example](https://apipheny.io/import-json-google-sheets/).
|
||||
|
Reference in New Issue
Block a user