Spyglass is a Code for America project by the Charlotte Team for the 2014 fellowship.
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.
TODO
git clone https://github.com/citygram/citygram-services.git
cd citygram-services
cp .env.sample .env
gem install bundler
bundle install
bundle exec rackup