Hi forum,
Phone Your Rep is a LiveView app to enable civic engagement (currently U.S. specific). The user enters their address and the app returns a list of all of the offices, including small local district offices, for their elected representatives in Washington D.C. Having quick access to all of the local district offices for a legislator makes it easier for a citizen to amplify the power of their voice on the issues that they care about most. The vast majority of calls are routed to the capitol switchboard, creating bottlenecks and a small surface area for the voter’s influence.
PYR maintains its own geographic database of voting districts built from public census data, and can find the accurate district for a particular location without relying on external services. It also sorts the local offices by distance to the query point, so the more relevant data is at the top. Updates to legislator and office data are scheduled daily to prevent stale information (thanks to BEAM/OTP).
EDIT: You can copy and paste this address to test functionality
1375 E Buena Vista Dr, Orlando, FL 32830
Users can also download legislator contacts directly to their phone with vCard generation. Encoding contact info in QR Codes is planned for the future.
Also on the roadmap is an expansion of data to local representatives, and a GraphQL API. It would also be great to have collaboration on making this engine extendable to other governments and jurisdictions outside of the U.S.
This is an attempted rewrite of one of my first big projects years ago, originally written in Ruby on Rails. I’ve been working on this rewrite for a bit over a week. Thanks for checking this out, any feedback, contributions, code review, is all welcome!