{"uid":"cap_UvsOCAuM_TRuo1WT-G6gh","slug":"water-service-coverage-numeric-row-ordering-secondary-measure-294bf3c5","name":"Water Service Coverage — Numeric Row Ordering + Secondary-Measure Weighted Mean","description":"Water service coverage — Numeric row ordering + Secondary-measure weighted mean: Numeric row ordering + 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-121?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_0br-a6YLgefU87j75y5cL","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":"Computes numeric row ordering and secondary-measure weighted mean for water service coverage records with served_households and total_households fields, returning two analytical reports for up to 200 rows.","exampleAgentPrompt":"I have water service coverage data for a few regions — can you rank the rows numerically and compute a weighted mean on served_households? Here are my 4 records: row-1 for group-a on 2026-10-01 with served_households=10 and total_households=1, row-2 for group-b on 2026-10-02 with served_households=20 and total_households=2, row-3 for group-a on 2026-10-03 with served_households=15 and total_households=3, and row-4 for group-b on 2026-10-04 with served_households=30 and total_households=4.","exampleUseCases":[{"title":"Regional water access ranking","prompt":"I have monthly water service coverage data for 8 municipalities — can you rank each record numerically and give me a weighted mean on served_households? My rows include things like region 'north-district' on 2025-01-01 with 4500 served and 5000 total households."},{"title":"Coverage gap analysis across dates","prompt":"Can you run a numeric row ordering and weighted mean on my total_households field for this water service dataset? I've got 12 records spanning Jan through Dec 2024 across three service zones: urban, peri-urban, and rural."},{"title":"Utility performance audit","prompt":"I need two analytical reports on our water utility coverage records — specifically a row ranking and weighted mean for served_households. I have 50 rows with region, date, served_households, and total_households columns I want analyzed."}],"resultDescription":"Two analytical reports: (1) a numeric ordering of input rows based on their sequence, and (2) a weighted mean of the selected field (served_households or total_households) using the secondary measure as weights — both computed locally against the supplied data, with no external lookups or predictions.","failureModes":["Missing required fields (row_id, region, date, served_households, total_households) returns validation error","Date field not matching YYYY-MM-DD pattern causes schema rejection","Submitting more than 200 rows exceeds maxItems limit","Null values in both measure fields may produce undefined weighted mean","Empty rows array (minItems: 1 not met) returns error","Invalid field enum value other than served_households or total_households rejected"],"whenToPreferThis":"Choose this endpoint when you have pre-collected water service coverage records (served_households, total_households) and need both a numeric row ranking and a weighted mean statistic in a single call. It is well-suited for offline or batch analytical workflows where no live data fetching, prediction, or external enrichment is needed, and when cost efficiency matters (two reports for $0.01 USDC per call up to 200 rows).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T12:31:25.327Z","isFirstParty":false,"canonicalSlug":"water-service-coverage-numeric-row-ordering-secondary-measure-294bf3c5"}