{"uid":"cap_XZvFb9taewxgdZ8mtsSxV","slug":"trade-observations-keyed-dataset-comparison-and-missing-value-fill-8bff38b3","name":"Trade Observations Keyed Dataset Comparison and Missing-Value Fill","description":"Trade observations — Keyed dataset comparison + Explicit missing-value fill: Keyed dataset comparison + Explicit missing-value fill for supplied trade observations records (export_amount, import_amount). 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-06-190?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","region","date","export_amount","import_amount"],"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},"export_amount":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"import_amount":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","region":"group-a","row_id":"row-1","export_amount":10,"import_amount":1},{"date":"2026-10-02","region":"group-b","row_id":"row-2","export_amount":20,"import_amount":2},{"date":"2026-10-03","region":"group-a","row_id":"row-3","export_amount":15,"import_amount":3},{"date":"2026-10-04","region":"group-b","row_id":"row-4","export_amount":30,"import_amount":4}],"maxItems":200,"minItems":1},"field":{"enum":["export_amount","import_amount"],"type":"string","default":"export_amount"},"other":{"type":"array","items":{"type":"object","required":["row_id","region","date","export_amount","import_amount"],"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},"export_amount":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"import_amount":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","region":"group-a","row_id":"row-1","export_amount":10,"import_amount":1},{"date":"2026-10-02","region":"group-b","row_id":"row-2","export_amount":21,"import_amount":2},{"date":"2026-10-03","region":"group-a","row_id":"row-3","export_amount":17,"import_amount":3},{"date":"2026-10-04","region":"group-b","row_id":"row-4","export_amount":33,"import_amount":4}],"maxItems":200,"minItems":0},"method":{"enum":["zero","mean","median"],"type":"string","default":"median"}}},"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__W492mFl1N-u7Kq8kxfOV","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":"Compares two keyed trade observation datasets (export/import amounts) and fills missing values, producing two analytical reports for up to 200 rows.","exampleAgentPrompt":"Compare these two sets of trade observations for differences in export_amount — the primary dataset has 4 rows for group-a and group-b from 2026-10-01 to 2026-10-04, and the reference dataset has slightly different export figures — also fill in any missing export_amount values.","exampleUseCases":[{"title":"Reconciling revised trade export figures","prompt":"I have two versions of our monthly trade export dataset for Southeast Asia — the original and the revised one. Compare them row by row on export_amount and flag where the numbers changed or are missing, up to 150 rows."},{"title":"Filling missing import values in regional data","prompt":"Our trade observation table has some null import_amount entries across about 80 rows covering different regions. Can you run a missing-value fill on import_amount using the reference dataset I'll supply alongside it?"},{"title":"Auditing two-period trade data for discrepancies","prompt":"I want to compare our Q1 2026 and Q2 2026 trade records for group-a and group-b — up to 200 rows each — focusing on export_amount to see which row IDs show meaningful differences between the two periods."}],"resultDescription":"Two analytical reports: (1) a keyed dataset comparison highlighting row-level differences in the chosen field (export_amount or import_amount) between the two supplied datasets, and (2) an explicit missing-value fill report showing which rows had null values and what fill values were applied. No external lookups or live data — all analysis is performed locally on the supplied rows.","failureModes":["Exceeding 200 rows returns a validation error","Missing required fields (row_id, region, date) causes schema rejection","Invalid date format (not YYYY-MM-DD) triggers pattern validation failure","Numeric values outside ±1,000,000,000,000 are rejected","Empty rows array (minItems:1 not met) causes request failure","Mismatched row_ids between primary and reference dataset may result in unmatched rows in comparison report"],"whenToPreferThis":"Choose this endpoint when you have two structured datasets of trade observations (export/import amounts keyed by row_id, region, and date) and need both a row-level comparison of differences AND explicit filling of missing numeric values in a single call. It is purpose-built for economics/trade data with up to 200 rows and delivers two reports per call at low cost. Prefer it over generic data-diff tools when your data conforms to the trade observations schema with export_amount and import_amount fields.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:54:34.436Z","isFirstParty":false,"canonicalSlug":"trade-observations-keyed-dataset-comparison-and-missing-value-fill-8bff38b3"}