{"uid":"cap_kpZ-0e5b8n7ie_dTIaYno","slug":"market-survey-observations-adjacent-row-changes-secondary-measure-f57204a2","name":"Market Survey Observations — Adjacent Row Changes + Secondary-Measure Weighted Mean","description":"Market survey observations — Adjacent row changes + Secondary-measure weighted mean: Adjacent row changes + Secondary-measure weighted mean for supplied market survey observations records (respondent_count, sample_weight). 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-company-06-159?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","company_group","date","respondent_count","sample_weight"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"company_group":{"type":"string","default":"","maxLength":80},"sample_weight":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"respondent_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","company_group":"group-a","sample_weight":1,"respondent_count":10},{"date":"2026-10-02","row_id":"row-2","company_group":"group-b","sample_weight":2,"respondent_count":20},{"date":"2026-10-03","row_id":"row-3","company_group":"group-a","sample_weight":3,"respondent_count":15},{"date":"2026-10-04","row_id":"row-4","company_group":"group-b","sample_weight":4,"respondent_count":30}],"maxItems":200,"minItems":1},"field":{"enum":["respondent_count","sample_weight"],"type":"string","default":"respondent_count"}}},"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_GYfJxNnlyOxtqiFn58UTe","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 adjacent row-to-row changes and a sample-weight-based weighted mean for up to 200 market survey observation records in a single call.","exampleAgentPrompt":"I have 4 rows of market survey data — row-1 for group-a on 2026-10-01 with respondent_count 10 and sample_weight 1, row-2 for group-b on 2026-10-02 with respondent_count 20 and sample_weight 2, row-3 for group-a on 2026-10-03 with respondent_count 15 and sample_weight 3, and row-4 for group-b on 2026-10-04 with respondent_count 30 and sample_weight 4 — can you compute both the adjacent row changes and the sample-weight weighted mean for the respondent_count field?","exampleUseCases":[{"title":"Survey panel trend shift analysis","prompt":"I've got weekly market survey data across two company groups — 50 rows total, each with a date, respondent_count, and sample_weight. Can you calculate how respondent counts change between consecutive rows and also give me the sample-weight weighted mean for respondent_count?"},{"title":"Weighted mean for sample-weighted audience data","prompt":"I have 120 rows of survey observations from different respondent groups, each with a sample_weight and respondent_count. Can you run the secondary-measure weighted mean calculation on the respondent_count field using those sample weights?"},{"title":"Adjacent row delta report for competitor group tracking","prompt":"We track two company groups across 30 survey dates — each row has a row_id, company_group, date, respondent_count, and sample_weight. Please compute both the adjacent row changes and the weighted mean for sample_weight across all those rows."}],"resultDescription":"Returns two analytical reports: (1) adjacent row-to-row changes for the selected field (respondent_count or sample_weight) across the supplied rows, and (2) a weighted mean of the selected field using the secondary measure (sample_weight) as weights — all computed locally on the supplied data without any external lookup.","failureModes":["Submitting more than 200 rows returns an error — batch must be split","Missing required fields (row_id, date, company_group) cause validation failure","Invalid date format (not YYYY-MM-DD) causes rejection","Null values in the selected field may affect weighted mean calculation","Values outside the allowed numeric range trigger schema validation errors"],"whenToPreferThis":"Choose this endpoint when you need both a row-over-row change series and a weighted mean computed together in a single paid call on market survey data with respondent counts and sample weights. It is ideal for offline/batch analytical tasks on supplied data (no external data fetched), and is cost-effective at $0.01 for two reports covering up to 200 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:40:39.961Z","isFirstParty":false,"canonicalSlug":"market-survey-observations-adjacent-row-changes-secondary-measure-f57204a2"}