{"uid":"cap_0zx1AG5BqGq4cFD_hxDUe","slug":"water-service-coverage-exact-row-deduplication-secondary-measure-3f3b540f","name":"Water Service Coverage — Exact Row Deduplication + Secondary-Measure Weighted Mean","description":"Water service coverage — Exact row deduplication + Secondary-measure weighted mean: Exact row deduplication + Secondary-measure weighted mean 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-051?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"}}},"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_FskOAeLy1VLQWqhBS2500","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":"Deduplicates water service coverage records by exact row match and computes a secondary-measure weighted mean over served_households or total_households data.","exampleAgentPrompt":"I have water service coverage records for multiple regions — can you deduplicate them by exact row match and then compute the secondary-measure weighted mean for served_households? Here are up to 200 rows with row_id, region, date, served_households, and total_households fields.","exampleUseCases":[{"title":"Regional water coverage data cleanup","prompt":"I've collected water service coverage records from multiple regional reports and suspect there are duplicate rows. Can you run exact row deduplication on this dataset of 150 rows and give me a weighted mean of served_households, using total_households as the secondary measure?"},{"title":"Monthly utility reporting audit","prompt":"Our water utility team submitted records for served_households and total_households across several districts. Before we finalize the monthly report, can you deduplicate the rows and compute the weighted mean for total_households across all entries?"},{"title":"Multi-source household coverage aggregation","prompt":"We merged water service data from two field teams and need to remove exact duplicate records, then get the secondary-measure weighted mean for served_households — we have about 80 rows with region, date, row_id, served_households, and total_households."}],"resultDescription":"Returns two analytical reports: (1) an exact row deduplication result identifying and removing fully duplicate records from the input dataset, and (2) a secondary-measure weighted mean calculation for the specified field (served_households or total_households), weighted by the complementary measure. Both reports are computed locally with no external lookups.","failureModes":["Missing required fields (row_id, region, date, served_households, or total_households) cause validation errors","Exceeding 200 rows returns an error or truncation","Invalid date format (not YYYY-MM-DD) triggers schema validation failure","Null values in both primary and secondary measure fields may affect weighted mean accuracy","Payment not fulfilled results in 402 response and no report generated"],"whenToPreferThis":"Use this endpoint when you have tabular water service coverage data (served_households, total_households) that may contain duplicate rows and you need both a deduplication pass and a weighted mean statistic in a single low-cost call. Ideal for data pipeline cleanup steps, utility reporting audits, or pre-analysis data quality checks on datasets up to 200 rows. Not suitable for real-time lookups, predictive modeling, or datasets exceeding 200 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T12:38:00.653Z","isFirstParty":false,"canonicalSlug":"water-service-coverage-exact-row-deduplication-secondary-measure-3f3b540f"}