{"uid":"cap_M6cvOQEp_XtkvrbfdVyOk","slug":"elevation-samples-category-frequencies-missing-value-fill-6648081f","name":"Elevation Samples — Category Frequencies + Missing-Value Fill","description":"Elevation samples — Category frequencies + Explicit missing-value fill: Category frequencies + Explicit missing-value fill for supplied elevation samples records (elevation_m, 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-weather-13-112?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","station_group","date","elevation_m","sample_weight"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"elevation_m":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"sample_weight":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"station_group":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","elevation_m":10,"sample_weight":1,"station_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","elevation_m":20,"sample_weight":2,"station_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","elevation_m":15,"sample_weight":3,"station_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","elevation_m":30,"sample_weight":4,"station_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["elevation_m","sample_weight"],"type":"string","default":"elevation_m"},"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_KzXRj7rUJNVVg3mDl5-BH","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 (zero/mean/median) for supplied elevation sample records with weights.","exampleAgentPrompt":"I have up to 200 elevation sample records with elevation_m and sample_weight fields — can you run a category frequency report and fill any missing elevation_m values using median imputation on this dataset?","exampleUseCases":[{"title":"Imputing missing elevation readings","prompt":"I have a batch of elevation station readings where some elevation_m values are null — please fill those missing values using the median method and give me the full frequency report for up to 200 rows."},{"title":"Station group frequency breakdown","prompt":"Can you analyze my elevation sample data and give me category frequencies for station_group along with a zero-fill for any missing sample_weight values across these records?"},{"title":"Quality check on weighted elevation samples","prompt":"I need two reports on my elevation dataset: one showing how often each category appears, and one where missing elevation_m entries are replaced with the mean — here are my 150 rows with row_id, date, station_group, elevation_m, and sample_weight."}],"resultDescription":"Returns two analytical reports: (1) a category frequency breakdown of the specified field across the supplied elevation sample rows, and (2) an explicit missing-value fill of null entries using the chosen method (zero, mean, or median). Results are computed locally without external lookups.","failureModes":["Input array has zero rows (minItems: 1 violated)","Input array exceeds 200 rows (maxItems exceeded)","Invalid date format (must match YYYY-MM-DD pattern)","row_id missing or empty string","Invalid fill method enum value (must be zero, mean, or median)","Invalid field enum value (must be elevation_m or sample_weight)","Payment of 0.01 USDC not provided or rejected"],"whenToPreferThis":"Use this endpoint when you have tabular elevation or environmental sample data (up to 200 rows) and need both a categorical frequency summary and explicit missing-value imputation in a single call, without requiring live data lookup or external APIs. Ideal for lightweight offline analytics on structured survey or sensor datasets.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T19:11:36.243Z","isFirstParty":false,"canonicalSlug":"elevation-samples-category-frequencies-missing-value-fill-6648081f"}