{"uid":"cap_6O8BIJ0F0NbSeCRlmE-sl","slug":"water-service-coverage-string-normalisation-secondary-measure-e0e68690","name":"Water Service Coverage — String Normalisation + Secondary-Measure Weighted Mean","description":"Water service coverage — String normalisation + Secondary-measure weighted mean: String normalisation + 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-034?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_Y_zeqyjQh23WjfIn_MSQd","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":"Normalises region/date strings and computes a secondary-measure weighted mean across water service coverage records (served_households, total_households) for up to 200 rows, returning two analytical reports per call.","exampleAgentPrompt":"I have water service coverage records for two regions — can you normalise the region and date strings, then compute a secondary-measure weighted mean for served_households across these 4 rows: row-1 (group-a, 2026-10-01, served=10, total=1), row-2 (group-b, 2026-10-02, served=20, total=2), row-3 (group-a, 2026-10-03, served=15, total=3), row-4 (group-b, 2026-10-04, served=30, total=4)?","exampleUseCases":[{"title":"Regional water coverage reporting","prompt":"I have 120 rows of household water coverage data across 8 regions with messy region names and inconsistent dates — can you normalise the strings and compute a weighted mean for served_households so I can summarise coverage levels per region?"},{"title":"Utility audit data cleanup","prompt":"Our water utility audit dataset has 50 records with served_households and total_households values; can you run string normalisation on the region and date fields and give me a secondary-measure weighted mean for total_households across all rows?"},{"title":"Multi-region coverage comparison","prompt":"I need to compare water service coverage across group-a and group-b for Q4 2026 — I have 80 rows with served and total household counts. Can you normalise the region labels and dates, then calculate the weighted mean for served_households?"}],"resultDescription":"Two analytical reports per call: (1) a string-normalised version of the region and date fields across all submitted rows, and (2) a secondary-measure weighted mean for the chosen field (served_households or total_households) computed across all rows, using the other household field as the secondary weighting measure.","failureModes":["Missing required fields (row_id, region, date, served_households, total_households) cause validation errors","More than 200 rows submitted returns an error (maxItems exceeded)","Invalid date format (not YYYY-MM-DD) causes schema rejection","Null values for both household fields may produce undefined weighted mean","Payment failure or insufficient USDC balance blocks the call"],"whenToPreferThis":"Choose this endpoint when you have tabular water service coverage data (served_households, total_households) and need both string normalisation of region/date fields and a secondary-measure weighted mean in a single batch call of up to 200 rows, without requiring any live data lookup or external prediction.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T18:48:33.350Z","isFirstParty":false,"canonicalSlug":"water-service-coverage-string-normalisation-secondary-measure-e0e68690"}