{"uid":"cap_dP_p1ziADMov-Q2pteN61","slug":"survey-response-weights-exact-row-deduplication-date-by-category-pivot-3fd3fc1c","name":"Survey Response Weights — Exact Row Deduplication + Date by Category Pivot","description":"Survey response weights — Exact row deduplication + Date by category pivot: Exact row deduplication + Date by category pivot for supplied survey response weights records (response_value, 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-economics-24-052?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","region","date","response_value","sample_weight"],"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},"sample_weight":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"response_value":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","region":"group-a","row_id":"row-1","sample_weight":1,"response_value":10},{"date":"2026-10-02","region":"group-b","row_id":"row-2","sample_weight":2,"response_value":20},{"date":"2026-10-03","region":"group-a","row_id":"row-3","sample_weight":3,"response_value":15},{"date":"2026-10-04","region":"group-b","row_id":"row-4","sample_weight":4,"response_value":30}],"maxItems":200,"minItems":1},"field":{"enum":["response_value","sample_weight"],"type":"string","default":"response_value"}}},"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_hvWYT8pg0dt-PrbHjAxff","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 exact duplicate rows and pivots survey response weight data by date and category, producing two analytical reports from up to 200 supplied records.","exampleAgentPrompt":"I have up to 200 survey response records with row_id, region, date, response_value, and sample_weight fields — can you deduplicate exact duplicate rows and also give me a pivot table of response_value by date and category/region in two separate reports?","exampleUseCases":[{"title":"Cleaning duplicate survey panel records","prompt":"I've collected survey panel data with response_value and sample_weight for each respondent row, but I think there are exact duplicates — can you deduplicate them and pivot the response_value by date and region so I can see clean summaries across my groups?"},{"title":"Weighted response analysis by time period","prompt":"Here are 150 rows of survey data with dates, regions, sample_weight, and response_value — run exact row deduplication on them and give me a date-by-category pivot for sample_weight so I can compare group trends over time."},{"title":"Economics survey data quality check","prompt":"I need to audit my economics survey dataset before analysis — can you remove any exact duplicate rows and produce a pivot of response_value broken down by date and category for my 180 records?"}],"resultDescription":"Two analytical reports: (1) a deduplicated version of the input rows with exact duplicate records removed, and (2) a date-by-category pivot table of the selected field (response_value or sample_weight) aggregated across region groups and dates. Both reports are computed locally from the supplied data with no external lookups.","failureModes":["Input array exceeds 200 rows — request rejected","Missing required fields (row_id, region, date, response_value, sample_weight) on any row causes validation error","Invalid date format (must be YYYY-MM-DD) causes schema rejection","Null values in response_value or sample_weight may affect pivot aggregation","Payment of 0.01 USDC not received — 402 response returned","Empty rows array (minItems:1 not met) causes rejection"],"whenToPreferThis":"Choose this endpoint when you have survey response datasets (up to 200 rows) with response_value and sample_weight fields and need both exact duplicate removal and a date-by-category pivot in a single cheap call. It is ideal for lightweight, offline analytical preprocessing of survey panel data without requiring a full analytics platform. Prefer it over generic data tools when the two-report bundle (deduplication + pivot) matches your workflow and cost sensitivity is high ($0.01 per call).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:35:52.078Z","isFirstParty":false,"canonicalSlug":"survey-response-weights-exact-row-deduplication-date-by-category-pivot-3fd3fc1c"}