{"uid":"cap_znSFi72U52jZ0FqcnqF6s","slug":"crop-yield-records-secondary-measure-weighted-mean-3f560668","name":"Crop Yield Records – Secondary-Measure Weighted Mean","description":"Crop yield records - Secondary-measure weighted mean: Secondary-measure weighted mean for Crop yield records. 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-crop-yield-records-weighted-average?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","crop","date","hectares","harvest_kg"],"properties":{"crop":{"type":"string","default":"","maxLength":80},"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"hectares":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"harvest_kg":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"crop":"group-a","date":"2026-10-01","row_id":"row-1","hectares":10,"harvest_kg":1},{"crop":"group-b","date":"2026-10-02","row_id":"row-2","hectares":20,"harvest_kg":2},{"crop":"group-a","date":"2026-10-03","row_id":"row-3","hectares":15,"harvest_kg":3},{"crop":"group-b","date":"2026-10-04","row_id":"row-4","hectares":30,"harvest_kg":4}],"maxItems":200,"minItems":1},"field":{"enum":["hectares","harvest_kg"],"type":"string","default":"hectares"}}},"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_6lFY_5pymeaxHfaI3Bvrt","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 over up to 200 crop yield records, using one numeric field (hectares or harvest_kg) as the weight.","exampleAgentPrompt":"Calculate the hectare-weighted mean of harvest_kg across these crop records: wheat on 2026-10-01 with 10 hectares and 500 kg, corn on 2026-10-02 with 20 hectares and 1200 kg, and wheat again on 2026-10-03 with 15 hectares and 800 kg — weight by hectares.","exampleUseCases":[{"title":"Compare yield efficiency across crop types","prompt":"I have four crop rows — group-a on 2026-10-01 with 10 hectares and 1000 kg harvest, group-b on 2026-10-02 with 20 hectares and 1800 kg, group-a on 2026-10-03 with 15 hectares and 1400 kg, and group-b on 2026-10-04 with 30 hectares and 2600 kg. Give me the weighted mean harvest_kg using hectares as the weight."},{"title":"Seasonal farm reporting with area-weighted output","prompt":"I need a weighted average for my harvest season records — I have 5 fields ranging from 8 to 50 hectares each with different harvest_kg totals. Can you compute the hectare-weighted mean harvest_kg so I understand my true productivity adjusted for field size?"},{"title":"Multi-date soybean yield summary","prompt":"Here are 6 rows of soybean yield data from October 2026, each with different field sizes in hectares and corresponding harvest_kg values. Compute the secondary-measure weighted mean using harvest_kg as the weight field so I can see the size-adjusted average hectares."}],"resultDescription":"A bounded descriptive analytics report containing the secondary-measure weighted mean computed over the supplied crop yield records, weighted by the selected field (hectares or harvest_kg). No forecasting or external enrichment is included.","failureModes":["Fewer than 1 row submitted (minItems violation)","More than 200 rows submitted (maxItems exceeded)","Missing required fields: row_id, crop, date, hectares, or harvest_kg in any row","Invalid date format (must match YYYY-MM-DD pattern)","Non-numeric or out-of-range values for hectares or harvest_kg","Invalid field enum value (must be 'hectares' or 'harvest_kg')","Payment not included or insufficient (x402 protocol requires 0.01 USDC)"],"whenToPreferThis":"Choose this endpoint when you have structured crop yield records (up to 200 rows) and need a local, fast, offline-style weighted mean calculation — specifically where one numeric measure (hectares or harvest_kg) acts as the weight for the other. Prefer this over general statistics APIs when your data is agricultural and you want a pre-built crop-domain analytic without spinning up custom computation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T18:48:28.154Z","isFirstParty":false,"canonicalSlug":"crop-yield-records-secondary-measure-weighted-mean-3f560668"}