Select Page

Average number of days to resolve a service request

Number of service requests to NYC’s 311 from 2004 to 2016: 24.54 million
So how long does the city take, on average, to take action on a service request? No idea. That gets into asserting what constitutes “action”.  Say you file a complaint related to the Dept. of Buildings and they closed out your service request a year later – all you can safely assert is that they closed out your ticket. Whether they took any “action” aside from closing it out is between you and the DOB.So – what was the average time it took to close out a ticket? Before we get to that, a caveat: I took out 204, 019 service requests that were closed out more than 365 days after they were created. On the assumption that if they were sitting around for a year, those tickets were probably forgotten about or otherwise overlooked. One ticket was closed out in the year 3099. Or should I say “will be closed out”? Anyway,  as I noted in yesterday’s post about the ‘Forensics of DOT’s Time Travel‘  I took out a million plus records which were closed out even before they were created. Of the 23,179,554 left the summary is:

> summary(Days.To.Close)
Min.     1st Qu.     Median     Mean     3rd Qu.     Max.
0.00      0.16         3.00          12.87      10.00        365.00

Without the 365 days filter for Days.To.Close a ticket, the median was 3 and the mean 19.5 days. With the filter, the mean dropped by 34%, with no change in the median. I dropped the max filter to 180 days, and the mean moved down to 10.46, that is, by about 19%, and the median to 2.92 days, Not being a wonky Mayor (can we say Bloomberg?) determined to put the best spin on things, it was not clear to me that 180 days is a better cut off than 365.  To keep data exclusion to a minimum,  I’m sticking with 365 days as the cut off. Is there a particular department that is causing this mayhem? Unlike the DOT which is the main culprit carelessly closing out tickets before they were created, four agencies account for 75% of tickets closed out after more than a year.  See further below.

A median of 3 days to resolve a service request is not bad for a city of 8 million? Maybe. Based on my anecdotal observation of NYPD investigating non-emergency things like “loud talking” or ice-cream truck jingles (yes, ice-cream trucks are actually a category at NYC 311!), I’d say a lot of those tickets get closed out without a “site visit” – they just let them ‘age’ for a couple of hours and close them out with “conditions not observed” or, less often, something to the effect ‘we took care of it’. In any case, NYPD has a mere 8 hours to attend to your non-emergency complaints so my hypothesis is they skew the median downward quite a bit. An exercise for another day.

The top 5 agencies closing out service requests to 311 after they languished for a year or more:

       Agency      N

1:    DPR          92384  (Parks & Recreation, the real thing, not the TV show)
2:    DOB         34508  (Dept of Buildings)
3:    HPD          30331  (Housing Preservation & Development)
4:    DCA          14275  (Consumer Affairs)
5:    DOT            9739  (Transportation)

311 data from NYC Open Data downloaded at various times. As of Feb 19, 2017, 24.5 million rows, 52 variables till 2009, 53 variables from 2010. Parsed using R v3.3.1 in RStudio v1.0.136

About The Author

Leave a reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.