{"uid":"cap_8hWXCqM25j3UIOKjylT-V","slug":"business-location-inventories-secondary-measure-weighted-mean-bbd0143a","name":"Business Location Inventories — Secondary-Measure Weighted Mean + Explicit Missing-Value Fill","description":"Business location inventories — Secondary-measure weighted mean + Explicit missing-value fill: Secondary-measure weighted mean + 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-187?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"}}},"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_N5qCbGbrn0rV27X2zLs_d","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 secondary-measure weighted mean and fills missing values in supplied business location inventory records (location_count, verified_locations) for up to 200 rows.","exampleAgentPrompt":"I have a dataset of 4 business location inventory rows with location_count and verified_locations fields — can you compute a secondary-measure weighted mean on location_count (using verified_locations as the weight) and fill any missing values using the median method?","exampleUseCases":[{"title":"Retail chain location audit with gap filling","prompt":"I've got location inventory records for two company groups over the past week — some location_count values are missing. Can you fill those nulls using the mean and then compute a verified_locations-weighted average of location_count across all rows?"},{"title":"Franchise expansion analytics report","prompt":"Here are 50 rows of franchise location data by date and company group. Run the secondary-measure weighted mean on verified_locations, and fill any missing verified_locations entries with zero so nothing is dropped from the analysis."},{"title":"Multi-brand location verification summary","prompt":"I need to summarize location_count data for two brands across 30 daily records — please compute the weighted mean using verified_locations as the secondary measure and use median imputation for any missing location_count values."}],"resultDescription":"Returns two analytical reports: (1) a secondary-measure weighted mean of the specified field (location_count or verified_locations) using the other as weights, and (2) explicit missing-value fills for null entries using the chosen method (zero, mean, or median) — both computed over the supplied rows (up to 200).","failureModes":["More than 200 rows submitted — request rejected with row limit error","Invalid date format not matching YYYY-MM-DD pattern — validation error","Missing required fields (row_id, company_group, date) — schema validation failure","Field enum value not in [location_count, verified_locations] — rejected","Method enum value not in [zero, mean, median] — rejected","Empty rows array (minItems: 1 violated) — error returned","All values null with zero-fill method — weighted mean may return zero or undefined"],"whenToPreferThis":"Choose this endpoint when you have pre-collected business location inventory tabular data (location_count, verified_locations) and need both a secondary-measure weighted mean and explicit missing-value imputation in a single call, without needing external data lookups or live enrichment. Ideal for up to 200 rows of structured CSV-like records grouped by company and date.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:45:03.141Z","isFirstParty":false,"canonicalSlug":"business-location-inventories-secondary-measure-weighted-mean-bbd0143a"}