{"uid":"cap_nkqjX59boaaNAdTUVp9BC","slug":"survey-participation-adjacent-row-changes-secondary-measure-weighted-e7e1641c","name":"Survey Participation — Adjacent Row Changes + Secondary-Measure Weighted Mean","description":"Survey participation — Adjacent row changes + Secondary-measure weighted mean: Adjacent row changes + Secondary-measure weighted mean for supplied survey participation records (respondents, invitations). 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-education-10-159?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","course_group","date","respondents","invitations"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"invitations":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"respondents":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"course_group":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","invitations":1,"respondents":10,"course_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","invitations":2,"respondents":20,"course_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","invitations":3,"respondents":15,"course_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","invitations":4,"respondents":30,"course_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["respondents","invitations"],"type":"string","default":"respondents"}}},"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_-mRDaAgifpzlPNX-EfHpT","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 secondary-measure weighted mean for survey participation data (respondents and invitations) over up to 200 rows, returning two analytical reports.","exampleAgentPrompt":"Can you compute adjacent row changes and the invitations-weighted mean for my survey participation data? I have 4 rows: 2026-10-01 group-a had 10 respondents and 1 invitation, 2026-10-02 group-b had 20 respondents and 2 invitations, 2026-10-03 group-a had 15 respondents and 3 invitations, 2026-10-04 group-b had 30 respondents and 4 invitations — run both reports on the invitations field.","exampleUseCases":[{"title":"Daily survey response trend analysis","prompt":"I have weekly survey data for two course groups across 5 dates — can you calculate the day-over-day changes in respondent counts and compute the weighted mean of respondents for me? Here are the rows: 2026-11-01 group-a row-1 respondents 50 invitations 200, 2026-11-02 group-b row-2 respondents 45 invitations 180, 2026-11-03 group-a row-3 respondents 60 invitations 210, 2026-11-04 group-b row-4 respondents 55 invitations 195, 2026-11-05 group-a row-5 respondents 70 invitations 220 — use the respondents field."},{"title":"Invitation volume shift tracking","prompt":"Run adjacent row change analysis and a weighted mean report on my invitation data across these survey records — I need to see how invitation counts shift between rows and what the weighted average looks like. Rows: 2026-09-01 group-x row-1 invitations 500 respondents 100, 2026-09-02 group-y row-2 invitations 480 respondents 95, 2026-09-03 group-x row-3 invitations 510 respondents 110, use invitations as the field."},{"title":"Course group participation comparison","prompt":"Can you analyze my survey participation records and give me both the row-by-row changes and the secondary-measure weighted mean? I've got two course groups: 2026-08-15 group-alpha row-1 respondents 30 invitations 150, 2026-08-16 group-beta row-2 respondents 25 invitations 130, 2026-08-17 group-alpha row-3 respondents 35 invitations 160 — run it on the respondents field."}],"resultDescription":"Two analytical reports: (1) adjacent row changes showing the difference between consecutive rows for the selected field (respondents or invitations), and (2) a secondary-measure weighted mean calculated across all supplied rows using the complementary field as a weight — all computed locally from the supplied data with no external lookup.","failureModes":["Fewer than 1 row supplied — returns validation error","More than 200 rows supplied — exceeds maximum, rejected","Invalid date format (not YYYY-MM-DD) — schema validation failure","Missing required fields (row_id, course_group, date, respondents, invitations) — validation error","Invalid field enum value (not 'respondents' or 'invitations') — rejected","Null values for both respondents and invitations in a row — may produce undefined weighted mean"],"whenToPreferThis":"Use this endpoint when you have survey participation data with respondents and invitation counts per row and need two specific calculations — adjacent row changes and a secondary-measure weighted mean — performed together in a single call. It is ideal for education survey analytics workflows where you want quick statistical summaries without setting up a local computation environment. Prefer this over generic analytics platforms when you need a low-cost ($0.01), lightweight, schema-validated batch computation on up to 200 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T12:37:00.258Z","isFirstParty":false,"canonicalSlug":"survey-participation-adjacent-row-changes-secondary-measure-weighted-e7e1641c"}