{"uid":"cap_AjYG_DBkasBp-xNWwo9MM","slug":"business-location-inventories-trailing-mean-series-explicit-missing-d2857fb1","name":"Business Location Inventories — Trailing Mean Series + Explicit Missing-Value Fill","description":"Business location inventories — Trailing mean series + Explicit missing-value fill: Trailing mean series + Explicit missing-value fill for supplied business location inventories records (location_count, verified_locations). 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-company-05-154?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","company_group","date","location_count","verified_locations"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"company_group":{"type":"string","default":"","maxLength":80},"location_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"verified_locations":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","company_group":"group-a","location_count":10,"verified_locations":1},{"date":"2026-10-02","row_id":"row-2","company_group":"group-b","location_count":20,"verified_locations":2},{"date":"2026-10-03","row_id":"row-3","company_group":"group-a","location_count":15,"verified_locations":3},{"date":"2026-10-04","row_id":"row-4","company_group":"group-b","location_count":30,"verified_locations":4}],"maxItems":200,"minItems":1},"field":{"enum":["location_count","verified_locations"],"type":"string","default":"location_count"},"method":{"enum":["zero","mean","median"],"type":"string","default":"median"},"window":{"type":"integer","default":2,"maximum":200,"minimum":2}}},"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_Pr8nRDqA1gqD7ZMsLDESV","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 a trailing moving-average time series and fills missing values in business location inventory data (location_count, verified_locations) for up to 200 rows.","exampleAgentPrompt":"Can you run a trailing mean series with a window of 7 and fill any missing values using the median method on these location_count records for our company groups? I have up to 50 rows of daily data to analyze.","exampleUseCases":[{"title":"Smoothing multi-site location growth trends","prompt":"I have daily location_count data across two company groups for the past 3 months — can you compute a trailing mean series with a window of 14 and fill any gaps using the mean method so I can see a smooth growth trend?"},{"title":"Verified location data gap imputation","prompt":"My verified_locations dataset has some null values scattered across dates — can you apply a trailing mean window of 5 and fill those missing entries using median so my report doesn't have holes in it?"},{"title":"Comparing smoothed inventory across company groups","prompt":"I want to compare smoothed location_count trends for group-a and group-b over the last quarter — can you run a trailing mean with window size 10 and zero-fill any missing values so all dates line up?"}],"resultDescription":"Returns two analytical reports: a trailing mean time series for the selected field (location_count or verified_locations) computed over the specified window, and an explicit missing-value fill pass using zero, mean, or median strategy — both applied to the supplied rows (up to 200), grouped and ordered by date and company_group.","failureModes":["Fewer than 1 row supplied — request rejected","More than 200 rows submitted — exceeds maximum row limit","Invalid date format (non-YYYY-MM-DD) causes row-level rejection","Window size less than 2 or greater than 200 is rejected","Missing required fields row_id or date causes schema validation failure","Payment not provided or insufficient USDC amount causes 402 error"],"whenToPreferThis":"Choose this endpoint when you need both a trailing rolling-average smoothing pass and a missing-value fill operation on business location inventory fields (location_count or verified_locations) in a single call. It is well-suited for agents preparing location data for trend reporting or dashboards where nulls must be imputed and raw values need smoothing before visualization. Use it over general-purpose statistical libraries when you want a cost-effective, hosted computation that handles two analytical passes in one payment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:45:42.187Z","isFirstParty":false,"canonicalSlug":"business-location-inventories-trailing-mean-series-explicit-missing-d2857fb1"}