<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/characteristic-nyc-neighborhood-complaints-tjgqzgelj" -->

---
title: Characteristic NYC Neighborhood Complaints | daily.dev
description: An R package wraps NYC's 311 complaints dataset, from 2010 to 2025, as a DuckDB-backed parquet file with about 43 million rows. The analysis narrows to...
canonical: https://daily.dev/posts/characteristic-nyc-neighborhood-complaints-tjgqzgelj
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Characteristic NYC Neighborhood Complaints | daily.dev
og:description: An R package wraps NYC's 311 complaints dataset, from 2010 to 2025, as a DuckDB-backed parquet file with about 43 million rows. The analysis narrows to...
og:url: https://daily.dev/posts/characteristic-nyc-neighborhood-complaints-tjgqzgelj
og:image: https://api.daily.dev/og/posts/tJgqzGElJ.png
og:image:alt: Characteristic NYC Neighborhood Complaints
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Characteristic NYC Neighborhood Complaints

**[R-bloggers](https://daily.dev/sources/rbloggers)** · 13 min read · 0 upvotes · 0 comments

## Summary

An R package wraps NYC's 311 complaints dataset, from 2010 to 2025, as a DuckDB-backed parquet file with about 43 million rows. The analysis narrows to 2022-2025 records (about 13.5m) and counts distinct complaining addresses per category within each Neighborhood Tabulation Area, yielding roughly 4.6 million address-category pairs from about one million addresses. The most distinctive complaint category (the one most exceeding its citywide share) is mapped and labeled for each neighborhood, both broadly (like 'Sanitation and Dumping') and at a fine-grained level (like 'Traffic: Drag Racing' or 'Lost Property in Taxi or For-Hire Vehicle: Wallet').

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.r-bloggers.com/2026/10/characteristic-nyc-neighborhood-complaints>

## Questions this post answers

### How can I query a large parquet file efficiently from R?

Use DuckDB as an in-memory database engine on top of the parquet file and write tidy dplyr-like queries that DuckDB executes directly, via a package such as duckplyr. This approach suits workloads that query a large dataset many different ways rather than repeatedly updating records, and it scales to datasets with tens of millions of rows, such as a 43-million-row NYC 311 complaints table.

_Developers evaluating R and DuckDB for large dataset queries can find more workflow write-ups like this on daily.dev._

### How many service request records does NYC's 311 dataset contain?

The full NYC 311 complaints dataset spans 2010 to 2025 and contains about 43 million rows, each representing one service request. A narrower slice covering 2022 to 2025 alone totals about 13.5 million records, which were used to compute roughly 4.6 million address-category complaint pairs from about one million unique addresses.

_Anyone building civic or open-data analyses can track dataset-scale projects like this via daily.dev._

## Similar posts on daily.dev

- [New York City Hexmaps](https://daily.dev/posts/new-york-city-hexmaps-foysajhwi) · R-bloggers · 0 upvotes · 0 comments
- [I’m walking here\! A new model maps foot traffic in New York City](https://daily.dev/posts/i-m-walking-here-a-new-model-maps-foot-traffic-in-new-york-city-duoow2gxm) · MIT News · 0 upvotes · 0 comments
- [Google Street View in 2026](https://daily.dev/posts/google-street-view-in-2026-d1nowtr1b) · Hacker News · 1 upvotes · 0 comments
- [Geospatial exploratory data analysis with GeoPandas and DuckDB](https://daily.dev/posts/geospatial-exploratory-data-analysis-with-geopandas-and-duckdb-aexynhyz2) · Towards Data Science · 0 upvotes · 0 comments
- [Hourly Subway Station Flows](https://daily.dev/posts/hourly-subway-station-flows-tsvukivsk) · R-bloggers · 0 upvotes · 0 comments

---

Tags: [#r](https://daily.dev/tags/r), [#data-analysis](https://daily.dev/tags/data-analysis), [#big-data](https://daily.dev/tags/big-data), [#data-visualization](https://daily.dev/tags/data-visualization), [#duckdb](https://daily.dev/tags/duckdb)

[View this post on daily.dev](https://daily.dev/posts/characteristic-nyc-neighborhood-complaints-tjgqzgelj)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Characteristic NYC Neighborhood Complaints","url":"https://daily.dev/posts/characteristic-nyc-neighborhood-complaints-tjgqzgelj","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/characteristic-nyc-neighborhood-complaints-tjgqzgelj"},"datePublished":"2026-10-27T16:52:06.353Z","dateModified":"2026-10-27T16:52:50.262Z","description":"An R package wraps NYC's 311 complaints dataset, from 2010 to 2025, as a DuckDB-backed parquet file with about 43 million rows. The analysis narrows to...","image":"https://media.daily.dev/image/upload/s--1KxV4ohY--/f_auto/v1722860400/public/Placeholder%2007","thumbnailUrl":"https://media.daily.dev/image/upload/s--1KxV4ohY--/f_auto/v1722860400/public/Placeholder%2007","isAccessibleForFree":true,"articleSection":"R-bloggers","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"R-bloggers","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/98bcbbdf72774292a55ceda8f2277f1e","url":"https://daily.dev/sources/rbloggers"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/characteristic-nyc-neighborhood-complaints-tjgqzgelj","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"r,data-analysis,big-data,data-visualization,duckdb","timeRequired":"PT13M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"R-bloggers","item":"https://daily.dev/sources/rbloggers"},{"@type":"ListItem","position":3,"name":"Characteristic NYC Neighborhood Complaints"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/characteristic-nyc-neighborhood-complaints-tjgqzgelj#faq","mainEntity":[{"@type":"Question","name":"How can I query a large parquet file efficiently from R?","acceptedAnswer":{"@type":"Answer","text":"Use DuckDB as an in-memory database engine on top of the parquet file and write tidy dplyr-like queries that DuckDB executes directly, via a package such as duckplyr. This approach suits workloads that query a large dataset many different ways rather than repeatedly updating records, and it scales to datasets with tens of millions of rows, such as a 43-million-row NYC 311 complaints table. Developers evaluating R and DuckDB for large dataset queries can find more workflow write-ups like this on daily.dev."}},{"@type":"Question","name":"How many service request records does NYC's 311 dataset contain?","acceptedAnswer":{"@type":"Answer","text":"The full NYC 311 complaints dataset spans 2010 to 2025 and contains about 43 million rows, each representing one service request. A narrower slice covering 2022 to 2025 alone totals about 13.5 million records, which were used to compute roughly 4.6 million address-category complaint pairs from about one million unique addresses. Anyone building civic or open-data analyses can track dataset-scale projects like this via daily.dev."}}]}
```

