Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding db view for neighborhood specific summary #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mrcnc
Copy link
Member

@mrcnc mrcnc commented Jan 28, 2018

Related to #12

Adding this view enables a simple query for the number of open issues in each neighborhood.

nola311=> select * from nola311.open_tickets_neighborhood_summary where neighborhood_district = 'BROADMOOR' order by num_issues desc;
             issue_type              | neighborhood_district | num_issues
-------------------------------------+-----------------------+------------
 Pothole/Roadway Surface Repair      | BROADMOOR             |         47
 Street Flooding/Drainage            | BROADMOOR             |         24
 Catch Basin Maintenance             | BROADMOOR             |         19
 Sidewalk Repair                     | BROADMOOR             |         18
 Traffic Sign                        | BROADMOOR             |         14
 Tree Service                        | BROADMOOR             |         12
 Subsidence                          | BROADMOOR             |         12
 Traffic Signal                      | BROADMOOR             |          7
 Street Light                        | BROADMOOR             |          6
 Abandoned Vehicle Reporting/Removal | BROADMOOR             |          6
 Manhole Cover Maintenance           | BROADMOOR             |          6
 Road Shoulder Repair                | BROADMOOR             |          4
 Road Surface Marking                | BROADMOOR             |          3
 Residential Recycling Programs      | BROADMOOR             |          2
 Illegal Dumping Reporting           | BROADMOOR             |          2
 Trash/Garbage Pickup                | BROADMOOR             |          1
 Large Item Trash/Garbage Pickup     | BROADMOOR             |          1
(17 rows)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant