{"uid":"cap_f6AUdpI5pHOsXuZ8hcQZE","slug":"source-diversity-category-frequencies-and-missing-value-fill-118c1729","name":"Source Diversity Category Frequencies and Missing-Value Fill","description":"Source diversity — Category frequencies + Explicit missing-value fill: Category frequencies + Explicit missing-value fill for supplied source diversity records (source_count, outlet_count). 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-news-17-112?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","channel_group","date","source_count","outlet_count"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"outlet_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"source_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"channel_group":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","outlet_count":1,"source_count":10,"channel_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","outlet_count":2,"source_count":20,"channel_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","outlet_count":3,"source_count":15,"channel_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","outlet_count":4,"source_count":30,"channel_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["source_count","outlet_count"],"type":"string","default":"source_count"},"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_wxltzh_RwP25nC1FqP13b","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 category frequencies and fills missing values (zero/mean/median) for source_count and outlet_count fields in up to 200 source diversity records.","exampleAgentPrompt":"I have up to 200 rows of news source diversity data with channel_group, source_count, and outlet_count fields — can you compute the category frequencies for each channel group and fill any missing source_count values using median imputation?","exampleUseCases":[{"title":"Impute missing outlet counts for media audit","prompt":"I have a dataset of 150 news source diversity records with some null outlet_count values — fill the missing ones using mean imputation and show me the category frequencies for each channel_group."},{"title":"Zero-fill missing source counts by channel","prompt":"Take my source diversity rows (up to 100 entries with date, row_id, channel_group, source_count, outlet_count) and fill any missing source_count values with zero, then give me the frequency breakdown by channel group."},{"title":"Summarize channel group distribution for diversity report","prompt":"I need the category frequency distribution for my channel_group field across these source diversity records, and use median to fill any missing outlet_count values before reporting."}],"resultDescription":"Returns two analytical reports for the submitted rows: (1) a category frequency table showing how often each channel_group value appears, and (2) the same rows with missing values in the selected field (source_count or outlet_count) replaced using the chosen fill method (zero, mean, or median). Covers up to 200 rows per call.","failureModes":["More than 200 rows submitted — request rejected or truncated","Missing required fields (row_id, channel_group, date) cause row-level errors","Invalid date format (not YYYY-MM-DD) triggers validation failure","Unknown fill method enum value causes schema rejection","Numeric values outside ±1,000,000,000,000 range rejected","Empty rows array returns error"],"whenToPreferThis":"Choose this endpoint when you have tabular source diversity data (with source_count and outlet_count columns) and need both a categorical frequency summary of channel groups and missing-value imputation in a single call, without any external data lookups or live predictions. Ideal for batch data-cleaning pipelines processing up to 200 rows at a time for news/media diversity analytics.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T12:47:31.652Z","isFirstParty":false,"canonicalSlug":"source-diversity-category-frequencies-and-missing-value-fill-118c1729"}