The OPA Data Liberator was created at Philly Tech Week's Hackathon on April 30, 2011.
This application aims to fill a gap in the City of Philadelphia's Office of Property Assessment (OPA) web site: the ability to search by owner. Currently, the OPA web site allows you to search by address and view the owner information, tax balances, etc. as it is all public record, but it does not allow you to search by owner.
We were given a list of properties which we imported into a MySQL database. From there, we created a Ruby script that scrapes the data from the OPA Property Search site, and puts it into the MySQL database.
We then created a public front-end (what you're viewing now) with an owner search box. The data you input is sent to the back-end PHP script, which queries the database for all owners that match the specified string. When you select the owner, it sends another query to get all the properties listed with that string as the owner, and geocodes their location if it hasn't already been cached.. The front-end then puts those properties into the select box and plots them on the map with a link to their OPA info page.
While this application does not currently utilize any open data, its creation (and subsequent naming) was intended to 'liberate' this data from the OPA web site. The team is engaging in talks with the OPA in hopes that they release the data in a compiled, downloadable format, in line with other data sets on OpenDataPhilly. So far the OPA has been quite receptive. It's up to their IT department now. We'll keep you posted.
The source code is available on github
- Adam Hinz - Ruby Scraper Script, Front-End HTML/CSS, Front-End Javascript/JQuery
- Joanne Cheng - Front End HTML/CSS, Front-End Javascript, Google Maps API
- Tim Wisniewski - Back-End PHP, Minor Front-End Work
- Mjumbe Wawatu Poe - Overall Assistance & Inspiration<
- Gil - Back-end Geocoder
- Technically Philly - Putting together Philly Tech Week & The Hackathon
Are you a programmer or designer interested in open data and civic engagement? Email Tim Wisniewski to be notified of future projects like this.