{"uid":"cap_0bYHWYbwcn56Hm70QGaoK","slug":"waste-monitoring-date-by-category-pivot-d301bcd1","name":"Waste Monitoring Date-by-Category Pivot","description":"Waste monitoring - Date by category pivot: Date by category pivot for Waste monitoring. Up to 200 supplied typed records. Local numeric and data-quality processing; no external enrichment or forecasting. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded date by category pivot deliverable.","url":"https://market.datapackvibe.com/x402/assistant-sector-analytics-waste-monitoring-pivot?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","material","date","collected_kg","recycled_kg"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"material":{"type":"string","default":"","maxLength":80},"recycled_kg":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"collected_kg":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","material":"group-a","recycled_kg":1,"collected_kg":10},{"date":"2026-10-02","row_id":"row-2","material":"group-b","recycled_kg":2,"collected_kg":20},{"date":"2026-10-03","row_id":"row-3","material":"group-a","recycled_kg":3,"collected_kg":15},{"date":"2026-10-04","row_id":"row-4","material":"group-b","recycled_kg":4,"collected_kg":30}],"maxItems":200,"minItems":1},"field":{"enum":["collected_kg","recycled_kg"],"type":"string","default":"collected_kg"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_n5cpQPFN3E22lpOK0XTMi","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Pivots up to 200 waste monitoring records into a date-by-material-category table for a chosen numeric field (collected_kg or recycled_kg).","exampleAgentPrompt":"Take these waste monitoring records and pivot them so I can see collected_kg broken down by date and material category — I have about 50 rows covering different materials like plastics, paper, and organics across October.","exampleUseCases":[{"title":"Weekly recycling breakdown by material","prompt":"I have 80 rows of daily recycling data for November, each with a material type and recycled_kg — can you pivot those into a table showing recycled_kg for each material category across each date?"},{"title":"Municipal waste collection trend view","prompt":"Pivot my waste collection records — about 150 rows — by date and material category using the collected_kg field, so I can see which materials are spiking on which days this quarter."},{"title":"Comparing material streams across collection dates","prompt":"I've got waste monitoring data for 6 material types over 30 days; reshape it into a date-by-category pivot on collected_kg so I can spot which streams peak mid-week."}],"resultDescription":"A pivot table (date-by-category matrix) where rows represent dates and columns represent material categories, with cells containing aggregated values of the selected field (collected_kg or recycled_kg), derived from up to 200 input records with local numeric processing.","failureModes":["Input array exceeds 200 rows — request rejected","Missing required fields (row_id, material, date, collected_kg, or recycled_kg) — validation error","Date strings not matching YYYY-MM-DD format — schema validation failure","No rows provided (minItems: 1 violated) — empty input error","Invalid field enum value (not collected_kg or recycled_kg) — parameter error"],"whenToPreferThis":"Choose this endpoint when you have structured waste monitoring row data with material categories and dates and need a cross-tabulated pivot summary of collected or recycled quantities. It is ideal for local, bounded datasets of up to 200 records requiring no external enrichment, forecasting, or trend fitting — purely a reshape and aggregation operation over waste sector data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T00:59:19.635Z","isFirstParty":false,"canonicalSlug":"waste-monitoring-date-by-category-pivot-d301bcd1"}