Skip to content

lfucg/citygram-services

Repository files navigation

spy-glass (aka Citygram connector)

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

Why are we doing this?

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.

What will this do in the future?

TODO

Who is this made by?

Setup

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

About

Citygram ETL for lexington

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published