Database of NYC housing data


Keywords
nyc, housing, data, postgresql, civic-data, database, open-data, psql, python3
License
Other
Install
pip install nycdb==0.3.4

Documentation

nycdb

Let's research the landlord! New York City is in a housing crisis. Some landlords leave their buildings in despair and let their tenants suffer without heat in winter. Others evict their tenants, legally or illegally, in order to flip buildings and profit off of gentrification. Affordable housing is a scarce resource.

Residents, lawyers, tenants, and organizers who want to use data in their struggle turn to proprietary databases and resources, like PropertyShark, designed for real estate or contend with CSV and printouts from city websites. nycdb aims to give technologists and researchers who want to volunteer their time helping community groups who are defending the city against the real estate industry a leg up by providing a ready-to-use database filled with housing data.

nycdb is a python program that downloads, processes, and loads the following public datasets into postgres:

Using the database

Create your own copy

Go to src/README.md for documentation on how to create your own copy of the database locally.

Use the Housing Data Coalition's instance

The Housing Data Coalition hosts their own copy ("instance") of nycdb. If you are not a member of HDC and would like to use it, please contact housingdatacoalition@gmail.com

Acknowledgments

License: AGPLv3

NYCDB - Postgres database of NYC housing data
Copyright (C) 2016-2020 ziggy & contributors

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.

The database files provided on this page are licensed CC BY-NC-SA 4.0.