{"uid":"cap_79J1pcEZ7L7RYXbarjWgO","slug":"research-grant-spending-category-frequencies-missing-value-fill-dd065eea","name":"Research Grant Spending — Category Frequencies + Missing-Value Fill","description":"Research grant spending — Category frequencies + Explicit missing-value fill: Category frequencies + Explicit missing-value fill for supplied research grant spending records (budget_amount, spend_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-education-20-112?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","course_group","date","budget_amount","spend_amount"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"course_group":{"type":"string","default":"","maxLength":80},"spend_amount":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"budget_amount":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","course_group":"group-a","spend_amount":1,"budget_amount":10},{"date":"2026-10-02","row_id":"row-2","course_group":"group-b","spend_amount":2,"budget_amount":20},{"date":"2026-10-03","row_id":"row-3","course_group":"group-a","spend_amount":3,"budget_amount":15},{"date":"2026-10-04","row_id":"row-4","course_group":"group-b","spend_amount":4,"budget_amount":30}],"maxItems":200,"minItems":1},"field":{"enum":["budget_amount","spend_amount"],"type":"string","default":"budget_amount"},"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_b8p3n_d-WHANDSRRF4Jad","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 frequency distributions and fills missing values (budget_amount or spend_amount) in research grant spending records using zero, mean, or median imputation.","exampleAgentPrompt":"I have up to 200 rows of research grant spending records with row_id, course_group, date, budget_amount, and spend_amount — can you run a category frequency report on them and fill in any missing spend_amount values using the median?","exampleUseCases":[{"title":"Audit grant category distribution","prompt":"I've got a batch of research grant records across different course groups and I want to know how frequently each group appears — can you run a category frequency analysis on these rows and also fill any missing budget_amount values with the mean?"},{"title":"Impute missing spend figures with zero","prompt":"Some of my grant spending records have null spend_amount entries — can you replace all the missing ones with zero and also give me a frequency count of how many records are in each course_group?"},{"title":"Prepare grant data for reporting","prompt":"Before I send this grant dataset to my finance team, I need you to clean it up: fill in any missing budget_amount values using the median and tell me the frequency breakdown by course_group for these 150 rows."}],"resultDescription":"Returns two analytical reports for the submitted rows: (1) a category frequency table showing how often each course_group value appears across the dataset, and (2) a copy of the rows with missing values in the specified field (budget_amount or spend_amount) explicitly filled using the chosen method (zero, mean, or median).","failureModes":["Exceeds 200-row limit — request rejected","Invalid date format (not YYYY-MM-DD) — validation error","Missing required fields (row_id, course_group, date) — schema validation failure","All values in target field are null — mean/median imputation may be undefined","Invalid enum for field or method parameters — schema error"],"whenToPreferThis":"Choose this endpoint when you have up to 200 rows of research grant spending data and need both a category frequency summary AND missing-value imputation in a single low-cost ($0.01 USDC) call. It is ideal for offline data cleaning and reporting on structured grant records without requiring live lookups or external data sources.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T12:47:50.412Z","isFirstParty":false,"canonicalSlug":"research-grant-spending-category-frequencies-missing-value-fill-dd065eea"}