{"uid":"cap_qbOkr959C0f6hea5LqVtF","slug":"building-occupancy-secondary-measure-weighted-mean-cd7a0bf3","name":"Building Occupancy Secondary-Measure Weighted Mean","description":"Building occupancy - Secondary-measure weighted mean: Secondary-measure weighted mean for Building occupancy. Up to 200 supplied typed records. Local descriptive analytics; no enrichment or forecast. One of 25 new profiles across 20 shared operations in this industry. 0.01 USDC includes one bounded secondary-measure weighted mean report.","url":"https://market.datapackvibe.com/x402/assistant-ar-analytics-building-occupancy-weighted-average?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","floor","date","capacity","occupants"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"floor":{"type":"string","default":"","maxLength":80},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"capacity":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"occupants":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","floor":"group-a","row_id":"row-1","capacity":10,"occupants":1},{"date":"2026-10-02","floor":"group-b","row_id":"row-2","capacity":20,"occupants":2},{"date":"2026-10-03","floor":"group-a","row_id":"row-3","capacity":15,"occupants":3},{"date":"2026-10-04","floor":"group-b","row_id":"row-4","capacity":30,"occupants":4}],"maxItems":200,"minItems":1},"field":{"enum":["capacity","occupants"],"type":"string","default":"capacity"}}},"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_X5wL3qfFCr7iRoO3XY_-s","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 for building occupancy records across floors and dates, using capacity or occupant count as the weight field.","exampleAgentPrompt":"Calculate the capacity-weighted mean occupancy for my building data — I have 4 records: floor group-a on 2026-10-01 with capacity 10 and 1 occupant, group-b on 2026-10-02 with capacity 20 and 2 occupants, group-a on 2026-10-03 with capacity 15 and 3 occupants, and group-b on 2026-10-04 with capacity 30 and 4 occupants — use capacity as the weight field.","exampleUseCases":[{"title":"Weighted occupancy summary by floor","prompt":"I have daily occupancy readings across three floors for last month — each row has a floor name, date, total capacity, and occupant count. Can you compute the capacity-weighted mean of occupants across all those records?"},{"title":"Facility utilization analytics for office planning","prompt":"We're reviewing how well our office space is being used. Here are 50 rows of daily floor data with capacity and headcount — please give me the occupant-weighted mean capacity so I can see which floor sizes dominate our utilization picture."},{"title":"Building efficiency report for property manager","prompt":"I need a quick descriptive stat for a building I manage — can you compute the secondary-measure weighted average occupancy for these 10 date-floor records, weighting by capacity?"}],"resultDescription":"Returns a weighted mean report for the supplied building occupancy records, computed using the chosen secondary measure (capacity or occupants) as the weight. The result is a single bounded descriptive statistic summarizing occupancy across up to 200 typed records, with no enrichment or forecasting applied.","failureModes":["Missing required fields (row_id, floor, date, capacity, or occupants) returns a validation error","Submitting more than 200 rows exceeds the maxItems limit and will be rejected","Invalid date format (not YYYY-MM-DD) causes a schema validation failure","All null values for the chosen weight field may result in an undefined or zero weighted mean","Payment not supplied or insufficient USDC amount blocks the request under x402 protocol"],"whenToPreferThis":"Choose this endpoint when you need a fast, low-cost ($0.01 USDC) descriptive weighted mean statistic for building occupancy data — specifically when you have typed row-level records with floor, date, capacity, and occupant fields and need a secondary-measure weighted aggregate without forecasting, enrichment, or external lookups. Prefer this over generic statistics tools when your data conforms to the building occupancy schema and you want a bounded, deterministic result on up to 200 records.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T19:08:56.771Z","isFirstParty":false,"canonicalSlug":"building-occupancy-secondary-measure-weighted-mean-cd7a0bf3"}