How the numbers on Where 311 complaints pile up were made, with every filter and formula. The build log lists each judgment call and who made it.
New York City's 311 Service Requests from 2020 to Present (dataset erm2-nwe9) on NYC Open Data, queried through its Socrata Open Data API (SODA) endpoint https://data.cityofnewyork.us/resource/erm2-nwe9.csv on Oct. 14, 2026. At that moment the dataset held 22,788,256 service requests from Jan. 1, 2020, to Oct. 13, 2026; the newest was logged at 3 a.m. that day. Each service request is counted as one complaint. Most are complaints about a condition, but some ask for a service, such as a bulk-item pickup or a new street tree; the city's 311 reporting describes a service request as a 311 inquiry that requires further action by an agency. The page uses "complaint" for all of them. Times are 311's created_date, which is New York local time.
incident_address, incident_zip and complaint_type and counting rows. The quarterly counts sum to 22,788,256, matching the dataset's own row count exactly. The build stops if they don't match.A location is a street address with a house number, plus its five-digit ZIP code. Before matching, every address is uppercased, stripped of extra spaces (older records store some addresses with doubled spaces, such as 655 EAST 230 STREET) and has six abbreviations spelled out: BLVD, AVE, ST at the end, RD at the end, PL at the end and PKWY. That rewrite touched 22,924 complaints under 4,790 spellings.
An entry counts as a street address when it starts with a house number followed by a street name. Entries with no house number, and bare numbered streets such as 1 AVENUE or 85 STREET, name a stretch of street, a park or an airport rather than one place. They are set aside: 1,243,802 complaints under 26,327 such entries, led by JOHN F KENNEDY AIRPORT in 11430 (8,209), JFK in 11430 (6,975), FLUSHING MEADOWS CORONA PARK in 11368 (4,900), LA GUARDIA AIRPORT in 11369 (3,797), RIVERSIDE PARK in 10025 (3,525), CENTRAL PARK in 10000 (2,878). Another 944,278 complaints have no address at all. Together that is 2,188,080 complaints, 9.6% of the total, that count toward every total but are never ranked as a location.
That leaves 1,301,096 street addresses with at least one complaint, which hold 20,600,176 complaints. Addresses with no complaints are not in the data, so they are not counted; the headline's "5% of addresses" means 5% of these 1,301,096, not of every address in the city. Cleanup cuts down on one address being counted under two spellings, but an address-and-ZIP pair is not a verified building: a building can have more than one address, and one address can cover a large complex.
Addresses are sorted by total complaints, largest first, with ties broken alphabetically by address. The top X% is the first round(N × X) addresses, where N = 1,301,096. A slice's share is the complaints at those addresses divided by all 22,788,256 complaints, including the ones with no street address. Using only complaints with a street address as the base would raise the top 5% figure from 51.6% to 57.1%.
| Slice | Addresses | Fewest complaints in slice | Complaints | Share of all |
|---|---|---|---|---|
| Top 0.01% | 130 | 2,627 | 1,147,933 | 5% |
| Top 0.1% | 1,301 | 855 | 2,619,702 | 11.5% |
| Top 1% | 13,011 | 205 | 6,887,658 | 30.2% |
| Top 5% | 65,055 | 51 | 11,763,957 | 51.6% |
| Top 10% | 130,110 | 27 | 14,126,775 | 62% |
| Top 20% | 260,219 | 13 | 16,555,250 | 72.6% |
| Top 50% | 650,548 | 4 | 19,468,561 | 85.4% |
The median address has four complaints; 349,306 addresses have exactly one. The 10 busiest addresses hold 2.5% of all complaints and the 100 busiest 4.7%. With the 100 busiest removed from both the top and the total, the top 5% still holds 49.3%.
The slider stops every 0.01 percentage point up to 0.1%, every 0.1 point up to 10% and every point after that. Below 0.1%, the slice is less than one square in the address grid, so that square is drawn partly filled.
311 uses 261 complaint type names in this period once spellings that differ only in capitalization are merged (the most common spelling is kept). The page groups them into six categories. The grouping is a judgment call; the full list:
| Category | Complaints | Complaint types in it |
|---|---|---|
| Apartment and building conditions | 4,682,723 | Appliance, Boilers, Door/window, Electric, Elevator, Flooring/stairs, General, Heat/hot water, Indoor sewage, Non-residential heat, Outside building, Paint/plaster, Plumbing, Safety, Unsanitary condition, Water leak |
| Noise | 5,186,968 | Every complaint type whose name starts with "Noise" |
| Parking and vehicles | 4,759,893 | Abandoned vehicle, Blocked driveway, Derelict vehicle, Derelict vehicles, Illegal parking |
| Police and street order | 1,223,022 | Animal-abuse, Bike/roller/skate chronic, Disorderly youth, Drinking, Drug activity, Encampment, Homeless person assistance, Homeless street condition, Illegal fireworks, Mass gathering complaint, Non-emergency police matter, Panhandling, Posting advertisement, Traffic, Urinating in public, Vendor enforcement |
| Streets, sanitation and trees | 5,212,433 | Broken parking meter, Bus stop shelter complaint, Commercial disposal complaint, Curb condition, Damaged tree, Dead animal, Dead/dying tree, Dirty condition, Dirty conditions, Dumpster complaint, Electronics waste appointment, Graffiti, Highway condition, Illegal dumping, Illegal posting, Illegal tree damage, Litter basket / request, Litter basket complaint, Litter basket request, Lot condition, Missed collection, Missed collection (all materials), New tree request, Obstruction, Overflowing litter baskets, Overgrown tree/branches, Request large bulky item collection, Residential disposal complaint, Rodent, Root/sewer/sidewalk condition, Sanitation condition, Sanitation worker or vehicle complaint, Sewer, Sewer maintenance, Sidewalk condition, Snow, Snow or ice, Standing water, Storm, Street condition, Street light condition, Street sign - damaged, Street sign - dangling, Street sign - missing, Street sweeping complaint, Traffic signal condition, Unsanitary pigeon condition, Vacant lot, Water conservation, Water maintenance, Water system, Wood pile remaining |
| Everything else | 1,723,217 | Every complaint type not listed above |
The chart of complaint types shows the 70 types with at least 40,000 complaints. For each, its position is the type's complaints at addresses in the slice divided by all complaints of that type, including those with no street address. Types that 311 mostly logs without an address, such as traffic signal problems, sit near zero at every slice for that reason.
The map shows the top 5% (65,055 addresses). Each address takes the coordinates from the quarter in which it had the most located complaints. Averaging across quarters would have placed some addresses between two geocoded spots: for 2,290 of the 65,055, the quarterly points sit more than 100 meters apart. One address has no coordinates and is not drawn. A dot's color is the category with the most complaints at that address. Its radius rises with the square root of the address's complaint count, in straight segments between set points (radius 0.9, 2, 5 and 14 at 49, 900, 10,000 and 250,000 complaints), and the whole scale is multiplied by 1, 1.8 or 3 at zoom levels 10, 13 and 16. Larger dots mean more complaints, but dot sizes are not exactly proportional.
Each ranked street address was placed in one of the city planning department's 262 Neighborhood Tabulation Areas, as drawn in 2020, by its map point (the same point the map uses), with a point-in-polygon test. 90% of all complaints (20,592,769) landed in a neighborhood. The rest have no street address (2,188,080), have an address but no map point (6,300) or fall just outside every boundary, mostly on the water's edge (1,107 at 146 addresses).
Residents are the American Community Survey 2020-2024 five-year estimates by neighborhood, from the planning department's tables, the same figures used on Every neighborhood, ranked. Only the 197 residential neighborhoods with at least 5,000 residents get a share comparison; the parks, cemeteries, airports and other areas left over drew 87,929 complaints, which stay in the citywide totals.
Neighborhood shares use a different base from the rest of the page. A neighborhood's share of complaints is its complaints divided by all 20,592,769 complaints placed in a neighborhood (or all of those of the chosen kind), after removing any addresses left out with the controls; its share of residents is its population divided by the city's. The page shows the first divided by the second. Rates per 1,000 residents divide by the 6.78 years from Jan. 1, 2020, to Oct. 13, 2026. Citywide, the rate is 357 complaints a year per 1,000 residents; the middle neighborhood is at 335, and the 10th and 90th percentiles are 212 and 518.
The neighborhoods with the highest rates, home to 10% of New Yorkers, drew 19% of complaints. Leaving out the city's 1,301 busiest addresses (each with at least 855 complaints) brings that to 16%. The two rankings are closely related (rank correlation 0.93), but 97 of the 197 neighborhoods move 10 or more places.
"Leave out" options: each neighborhood's single busiest address for the chosen kind of complaint, or the citywide top 130, 1,301 or 13,011 addresses (0.01%, 0.1% and 1% of all ranked addresses), ranked on all complaints. The public data has no caller identity, so none of these isolates repeat callers; they remove the busiest addresses, whatever the reason for their volume.
The income view sorts the residential neighborhoods by median household income and splits them into five groups with about a fifth of these neighborhoods' residents each; a neighborhood goes to the group that holds the midpoint of its residents. The groups hold different numbers of neighborhoods, and they are groups of neighborhoods, not fifths of New Yorkers by household income. The incomes are City Planning's neighborhood medians from the American Community Survey 2020-2024, calculated from income brackets whose highest category is $200,000 or more, so a median in that category is reported as $200,000. Each group's rate is its complaints divided by its residents, per year. With no addresses left out:
| Group | Neighborhoods | Share of residents | Median incomes | Complaints a year per 1,000 residents |
|---|---|---|---|---|
| Lowest-income group | 41 | 20.2% | $28,468 to $55,339 | 402.7 |
| Second | 36 | 19.9% | $55,667 to $73,561 | 325.1 |
| Middle | 37 | 19.8% | $73,802 to $85,737 | 409.2 |
| Fourth | 40 | 20.1% | $85,889 to $107,043 | 327.3 |
| Highest-income group | 43 | 20% | $108,824 to $200,000 | 318.8 |
The rates do not fall steadily with income: the middle group's is the highest, and the lowest-income group's is close to it. Across neighborhoods, the rank correlation between median income and complaints per resident is -0.26 for all complaints and -0.16 without the city's 1,301 busiest addresses. More complaints in a group can mean more of the problem, more willingness to report it or both; the data cannot separate them.
Not adjusted for: jobs and visitors (Midtown's rate reflects far more people than its residents), building size, or differences in who uses 311. Complaints count where the problem is, not where the caller lives.
For each of the 22 addresses pulled record by record, complaints are sorted by created time and these are measured:
The timing describes when 311 logged a request. A phone that saves requests offline and sends them later could log several in the same second, so same-second pairs are not treated as evidence on their own. Nothing in the public data identifies who filed a complaint or how, beyond the channel field. The page calls the most regular streams consistent with automated or coordinated filing; it does not identify a filer, say how many people filed or rule out other explanations, and it does not claim to know how fast a person can fill out the city's forms.
A third pull counted every complaint by complaint type, status and resolution_description, the note the agency writes when it closes a complaint: 28 quarterly queries citywide, and 33 queries covering every spelling of the 1,301 busiest addresses (the top 0.1%). Both reconcile with the counts above: 1,147,933 complaints at the top 130 addresses and 2,619,702 at the top 1,301.
The status field does not help: 99.3% of complaints at the 130 busiest addresses and 97.8% everywhere else are marked closed. The city used 1,258 different closing notes in the period, 1,205 of them on closed complaints. Anything not closed is "still open."
Hand coding. Every one of the 1,205 notes on closed complaints was read in full and coded for what it says happened. A note can get several flags:
| Flag | The note says |
|---|---|
| Enforcement | A summons, ticket, violation, notice of violation, order (stop work, vacate, sealing, cease and desist, an order to the responsible party to correct), written warning or advisory, an arrest or a scheduled hearing; or violations found or already on file for the condition. Not: "no summons was issued," "will issue a summons once the party is identified" or other future or conditional enforcement. |
| Work done | The agency or its crew already did the work or delivered the service: repaired, cleaned, collected, removed, towed, installed, "took action to fix the condition," "the issue was addressed," services offered to a person (even if declined). Not: "will be repaired," "entered into the maintenance system," "does not rate high enough to be repaired." |
| Corrected | The condition was already fixed or corrected when checked, by someone else or without saying who (the owner claimed the vehicle; "the condition was corrected without the need to issue a summons"). |
| No violation | The agency checked and found no violation, no evidence or nothing to act on; things met standards or complied; the site does not qualify; those responsible were gone on arrival. |
| No access | The agency could not get in, could not find the location or reach the person who filed, or lacked the information it needed. |
| Duplicate | Closed because another request covers the same issue. |
| Referred | Sent to another agency, outside the agency's jurisdiction, or the responsibility of a private owner or utility. |
| Future only | Promises or schedules work, an inspection or enforcement, with nothing completed. |
| Unclear | Says nothing about what happened: blank, a pointer to a website, "a report was prepared," "resolved or provided the information requested," an informal conversation. |
Each note then gets one outcome, taking the first that applies: agency took action or found a violation (enforcement or work done); fixed by the time the agency checked (corrected); found nothing to act on (no violation); could not get in or get details; duplicate; referred; no clear outcome (everything else, including future-only promises). So "action" means enforcement or completed work, not inspection alone, and a note that reports both no violation and a corrected condition counts as corrected.
The first coding pass was done by four Claude subagents working from a written codebook, each reading a quarter of the notes. Claude then reread the 45 most common notes, about 200 other high-volume notes and every note that mentions a warning, an advisory or a resolution, and changed 10 calls for consistency, among them "those responsible for the condition were gone" (police, 892,277 complaints), kept as nothing found because it does not say the condition was corrected. Every note, its flags, its outcome and its count are in data/outcome-rules.csv; the coding itself is in data/outcome-codebook.csv. Citywide, 12.5% of complaints got a note with no clear outcome.
A note not in the codebook, such as a new wording in a later pull, would be sorted by keyword rules in scripts/analyze_outcomes.py and counted so it can be coded; this build has 0.
Comparison. "Everywhere else" is every complaint outside the top 0.1% of addresses, found by subtracting the top addresses' counts from the citywide counts, type by type. The expected share of an outcome at the busiest addresses is the sum, over complaint types, of that type's count at the busiest addresses times the outcome's share for that type everywhere else, divided by the busiest addresses' total. This removes the effect of the busiest addresses having a different mix of complaint types; it does not remove any other difference.
Per address. The same calculation, run for each of the 1,301 busiest addresses, gives its own expected action share. 104 of the top 130 fall below theirs and 65 fall below half of it.
Batch closings. For the 22 addresses pulled record by record, complaints are grouped by closed_date to the second; a batch is 10 or more complaints closed in the same second. The share of complaints in batches is 24.8% at 655 East 230th Street, 25% at 661 East 230th Street and 13.3% at 672 East 231st Street, and zero at 1465 Washington Avenue, 177 Sands Street and 1869 83rd Street. Heat complaints are often closed in large batches when one building-wide complaint covers many apartments, so batches are not compared for heat.
Not known. The notes are the agencies' own words. The data has no record of visits, so it cannot show whether each complaint got its own response, whether the condition was real or what "took action" consisted of.
scripts/fetch_311.py pulls the quarterly aggregates. scripts/build_data.py builds data/summary.json, data/points.json, data/top-5-percent-addresses.csv and build/checks.json.scripts/fetch_records.py and scripts/analyze_cadence.py pull the individual records and build data/cadence.json.scripts/build_neighborhoods.py places addresses in neighborhoods and builds data/neighborhoods.json, data/neighborhoods.csv and build/neighborhood-checks.json.scripts/build_docs.py writes this page and the build log from those files.