{"uid":"cap_LigbanxdphX8ANSg8PWWs","slug":"water-service-coverage-date-category-pivot-missing-value-fill-80d51aba","name":"Water Service Coverage — Date×Category Pivot + Missing-Value Fill","description":"Water service coverage — Date by category pivot + Explicit missing-value fill: Date by category pivot + Explicit missing-value fill for supplied water service coverage records (served_households, total_households). Up to 200 rows; 2 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 2 supplied-data reports for up to 200 rows.","url":"https://market.datapackvibe.com/x402/assistant-ib26-economics-19-189?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","region","date","served_households","total_households"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"region":{"type":"string","default":"","maxLength":80},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"total_households":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"served_households":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","region":"group-a","row_id":"row-1","total_households":1,"served_households":10},{"date":"2026-10-02","region":"group-b","row_id":"row-2","total_households":2,"served_households":20},{"date":"2026-10-03","region":"group-a","row_id":"row-3","total_households":3,"served_households":15},{"date":"2026-10-04","region":"group-b","row_id":"row-4","total_households":4,"served_households":30}],"maxItems":200,"minItems":1},"field":{"enum":["served_households","total_households"],"type":"string","default":"served_households"},"method":{"enum":["zero","mean","median"],"type":"string","default":"median"}}},"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_9RKQbgqBqrRzE9LBdC22O","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 water service coverage records by date and region category, then fills missing values using zero, mean, or median imputation — returning two analytical reports for up to 200 rows.","exampleAgentPrompt":"I have 50 rows of water service coverage data with region, date, served_households, and total_households columns — can you pivot them by date and category, then fill any missing served_households values using the median?","exampleUseCases":[{"title":"Regional water coverage gap analysis","prompt":"I've got water service records for 120 households across several regions — can you pivot them by date and region, and fill any missing served_households values using the median so I can spot coverage gaps?"},{"title":"Utility reporting with zero-filled blanks","prompt":"I need a date-by-region pivot of my total_households water service data for Q4, and wherever there are missing entries I want them filled with zero so the report looks complete."},{"title":"Mean imputation for coverage dashboard","prompt":"Can you take these 80 water coverage rows and pivot served_households by date and region category, filling any nulls with the mean? I'm building a dashboard and need clean data."}],"resultDescription":"Returns two structured analytical reports: (1) a date-by-category pivot table for the chosen field (served_households or total_households), and (2) the same dataset with missing values explicitly filled using the selected method (zero, mean, or median). Covers up to 200 input rows per call.","failureModes":["Input rows exceed 200 — request rejected with validation error","Row missing required fields (row_id, region, date, served_households, total_households) — schema validation failure","Date field does not match YYYY-MM-DD pattern — rejected with pattern error","Field or method enum value not recognized — validation error","All values are null for a column — mean/median imputation may return null or zero","Payment of 0.01 USDC not completed — request blocked by x402 payment gate"],"whenToPreferThis":"Choose this endpoint when you have tabular water service coverage records (served_households, total_households) that need to be pivoted by date and region category AND have missing values filled — all in a single paid call. It is ideal for utility data preprocessing pipelines, coverage gap reporting, and dashboard data preparation where both reshaping and imputation are needed together without external lookups or predictions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T12:38:59.755Z","isFirstParty":false,"canonicalSlug":"water-service-coverage-date-category-pivot-missing-value-fill-80d51aba"}