NYCPlanning / labs-community-profiles

A site for exploring indicators, data, and information for NYC community districts
https://communityprofiles.planning.nyc.gov/
Other
52 stars 9 forks source link
labs

CircleCI

labs-community-profiles

The Community District Profiles organize a wide variety of data, maps, and other content to present an accessible and informative view of the built environment, key socio-economic conditions, community board perspectives, and planning activities in each district. This information empowers residents, community board members, planners, and other stakeholders to engage in city planning and advocate for their communities.

How we work

NYC Planning Labs takes on a single project at a time, working closely with our customers from concept to delivery in a matter of weeks. We conduct regular maintenance between larger projects.

Take a look at our sprint planning board {link to waffle} to get an idea of our current priorities for this project.

How you can help

In the spirit of free software, everyone is encouraged to help improve this project. Here are some ways you can contribute.

Read more about contributing.

Requirements

You will need the following things properly installed on your computer.

Local development

Architecture

Community Profiles consists of a landing page and a route for each of NYC's 59 Community Districts. The landing page allows the user to search for their neighborhood, choose a community district from a dropdown, or click a community district from the map.

Once on a profile route, a long-scrolling page of charts, maps, and other content display the data.

Each profile has a model that pulls one row from the community_district_profiles_v202402 table and contains most of the data necessary to render the profile. The reports are Componentized where possible, using ember components to make sections or sub-sections self-contained.

Backend services

carto

Most of the data use by the app is stored in tables on the planninglabs carto instance.

App-specific tables:

Supporting tables

github static content

mapzen search API

Mapzen search is used for autocomplete address searching.

ZAP Proxy

A Proxy API that pulls data for a community district using ZAP's odata API, creating nice-looking URLs for a community district's projects. https://github.com/NYCPlanning/labs-zap-proxy

Testing and checks

Deployment

Add dokku remote: git remote add dokku dokku@{dokkudomain}:communityprofiles Deploy with dokku: git push dokku master

Contact us

You can find us on Twitter at @nycplanninglabs, or comment on issues and we'll follow up as soon as we can. If you'd like to send an email, use labs_dl@planning.nyc.gov

Device Testing

We use BrowserStack (free for open source projects) to do device testing.