DSNY Monthly Tonnage Data
DSNY Monthly Tonnage Data provides monthly collection tonnages that the Department of Sanitation collects from NYC residences and institutions. For more information about DSNY services, see: <a href="http://www1.nyc.gov/assets/dsny/site/services" target="_blank" rel="noopener noreferrer">http://www1.nyc.gov/assets/dsny/site/services</a>. As of October 2022, Curbside Composting service is available to all Queens residents (no sign-up needed), as well as select community boards in Bronx, Brooklyn, and Manhattan. Curbside Composting is expanding to ALL NYC residents. For more information, visit: <a href="https://nyc.gov/curbsidecomposting" target="_blank" rel="noopener noreferrer">https://nyc.gov/curbsidecomposting</a>. Note that Curbside Composting service was suspended from May 4, 2020 until October 1, 2021.
Querying over HTTP
Splitgraph serves as an HTTP API that lets you run SQL queries directly on this data to power Web applications. For example:
curl https://data.splitgraph.com/sql/query/ddn \ -H "Content-Type: application/json" \ -d@-<<EOF {"sql": " SELECT * FROM \"cityofnewyork-us/dsny-monthly-tonnage-data-ebb7-mvp5\".\"dsny_monthly_tonnage_data\" LIMIT 100 "} EOF
See the Splitgraph documentation for more information.