{"uid":"cap_-9vIvcGyhDPIZbiuojiPy","slug":"business-location-inventories-category-frequencies-secondary-measure-831f25d1","name":"Business Location Inventories — Category Frequencies & Secondary-Measure Weighted Mean","description":"Business location inventories — Category frequencies + Secondary-measure weighted mean: Category frequencies + Secondary-measure weighted mean 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-109?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"}}},"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_0N-aKqZwN-rztvbA1jrlO","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 a secondary-measure weighted mean for up to 200 business location inventory records, returning two analytical reports in one call.","exampleAgentPrompt":"I have a table of business location records — each row has a company_group, a date, a location_count, and verified_locations. Can you run category frequency analysis and a verified_locations-weighted mean on these rows for me? Here are the rows: [{\"row_id\":\"r1\",\"company_group\":\"West\",\"date\":\"2024-01-01\",\"location_count\":50,\"verified_locations\":40},{\"row_id\":\"r2\",\"company_group\":\"East\",\"date\":\"2024-01-02\",\"location_count\":30,\"verified_locations\":20}].","exampleUseCases":[{"title":"Chain store group distribution audit","prompt":"I have 80 rows of franchise location inventory — each with a company_group, date, location_count, and verified_locations. Can you calculate the frequency of each company group and give me a weighted mean of location_count across those groups?"},{"title":"Verified location coverage check","prompt":"Here are 150 business location records spanning multiple company groups and dates. I want two things: how often each company group shows up in the data, and the verified_locations-weighted mean for the verified_locations field. Can you run those two reports?"},{"title":"Monthly inventory snapshot summary","prompt":"I'm summarizing our October location inventory. I have about 50 rows with company_group, date, location_count, and verified_locations. Please compute category frequencies and the secondary-measure weighted mean using location_count as the primary field."}],"resultDescription":"Returns two analytical reports for the submitted rows: (1) a category frequency table showing how often each company_group value appears in the dataset, and (2) a weighted mean of the selected primary field (location_count or verified_locations) using the secondary measure as weights — all computed locally without any external lookups.","failureModes":["Empty or missing rows array returns an error","Rows exceeding 200 items will be rejected (maxItems constraint)","Rows missing required fields (row_id, company_group, date, location_count, verified_locations) cause validation errors","Invalid date format (not YYYY-MM-DD) causes rejection","Null values in location_count or verified_locations may affect weighted mean computation","Invalid field enum value (not location_count or verified_locations) causes rejection"],"whenToPreferThis":"Choose this endpoint when you have up to 200 business location inventory records and need both a categorical frequency breakdown by company group AND a weighted mean calculation on a numeric field in a single low-cost call ($0.01 USDC). It is ideal for offline/batch analytical tasks on supplied data where no live data lookup, prediction, or external enrichment is needed. Prefer this over general-purpose analytics when your data matches the specific schema (company_group, location_count, verified_locations) and you want two pre-packaged reports without building custom SQL or code.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:44:51.356Z","isFirstParty":false,"canonicalSlug":"business-location-inventories-category-frequencies-secondary-measure-831f25d1"}