BetaNYC / citygram-services-nyc

Web content transformation proxies for open data API's
https://citygram-services-nyc.herokuapp.com/
4 stars 6 forks source link

Stories in Ready

spy-glass (aka Citygram connector)

Spyglass is a Code for America project by the Charlotte Team for the 2014 fellowship.

What does this do now?

This is a registry of micro ETL endpoints. What does that even mean? Good question. Citygram has good overview documentation.

But here's a specific example of the information flow:

CKAN code enforcement -> Citygram connector -> Citygram

This particular Citygram connector pulls the last seven days worth of code complaints and formats them as geojson that Citygram polls many times a day.

It creates a unique key that is a composite of the CaseNo and Status columns. When this key changes, Citygram will create a new event that will be sent to subscribers. Since the key is a composite, an event is created whenever a status changes for a given case.

Why are we doing this?

TODO

What will this do in the future?

TODO

How to contribute

Who is this made by?

See the contributors list.

Technical Overview

TODO

Setup

git clone https://github.com/BetaNYC/citygram-services-nyc.git
cd citygram-services-nyc
cp .env.sample .env
gem install bundler
bundle install
bundle exec rackup

You can now see your site at http://localhost:9292/