#DefundtheNYPD council member lookup tool

June 6, 2020

Lucy Merriam recently put together a collaborative spreadsheet to track NYC city council members’ positions on defunding the NYPD. I put together a little web app that lets you look up your council member’s position, contact info, and public statements. For example, here’s speaker Corey Johnson’s position.

Under the hood, this uses a Google Places widget to look up addresses, the NYC Geoclient API to look up representative information for each district, and the google-spreadsheet package to fetch information about each representative from the collaborative spreadsheet. Initially, the rendering code was just a big template string, but now I’m using Vue to make data binding simpler and less error-prone.

The source is on GitHub here.