usda_nass_crop_trend
Calculate prior-year and exact five-year changes for one final annual USDA NASS national crop series. Returns component observations, absolute and percent changes, five-year CAGR when valid, exact units, evidence hash, and caveats. Use this for 'how has corn yield changed?', 'five-year soybean production trend', or 'trend in upland cotton planted acres'. The optional as-of year never mixes future releases into a historical result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| crop | Yes | Crop name or supported alias: corn, soybeans, cotton, wheat, winter wheat, durum wheat, or spring wheat. | |
| metric | Yes | Annual statistic to return. | |
| as_of_year | No | Four-digit crop year. Hosted snapshot coverage is 2019–2025. | |
| crop_class | No | Optional class. Required for bare 'wheat': winter, durum, or spring (excluding durum). | |
| response_format | No | Human-readable markdown or machine-readable JSON. Default markdown. |