# Crop Yield Records – Explicit Missing-Value Fill

> Crop Yield Records – Explicit Missing-Value Fill is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-18).

Fills missing numeric values (hectares or harvest_kg) in crop yield records using zero, mean, or median imputation, returning a local descriptive analytics report.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ar-analytics-crop-yield-records-fill-missing?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crop-yield-records-explicit-missing-value-fill-1ff8cab6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BI4QPxp1P_2-iNSAu6FBp

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability crop-yield-records-explicit-missing-value-fill-1ff8cab6 -d '<json body>'
```

Example prompt: I have a batch of crop yield records with some null hectares values — can you fill those missing entries using median imputation and give me a report? Here are up to 200 rows with row_id, crop, date, hectares, and harvest_kg fields.

## When to prefer this

Choose this endpoint when you have crop yield tabular data with null or missing numeric fields (hectares or harvest_kg) that need to be imputed before downstream analytics. It is purpose-built for agricultural yield records with a fixed schema, offering three imputation strategies (zero, mean, median) and returning a descriptive analytics report. Prefer this over generic data-cleaning services when your data fits the crop/date/hectares/harvest_kg schema and you want a fast, inexpensive ($0.01 USDC) single-call solution without external enrichment or forecasting.

## Known failure modes

- Input array exceeds 200 rows — request rejected
- row_id missing or empty on any record — validation error
- date field not matching YYYY-MM-DD pattern — schema validation failure
- field enum value not 'hectares' or 'harvest_kg' — invalid input
- method enum value not 'zero', 'mean', or 'median' — invalid input
- All values in chosen field are non-null — fill report shows no changes
- Payment not provided or insufficient — 402 payment required

## How this service works

Crop yield records - Explicit missing-value fill: Explicit missing-value fill 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 explicit missing-value fill report.

## Output

Returns a bounded explicit missing-value fill report covering up to 200 crop yield records. The report identifies which rows had missing values in the chosen field (hectares or harvest_kg) and shows the imputed replacement values computed via the selected method (zero, mean, or median). Includes local descriptive analytics — no forecasting or external enrichment.

## Request schema (JSON Schema)

```json
{
 "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"
  },
  "method": {
   "enum": [
    "zero",
    "mean",
    "median"
   ],
   "type": "string",
   "default": "median"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/crop-yield-records-explicit-missing-value-fill-1ff8cab6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
