usda_nass_get_milk_production
Retrieves USDA NASS milk production in pounds by year, state or national, with monthly, quarterly, and annual breakdowns for production analysis.
Instructions
Milk produced in a year, in pounds, by month and quarter and for the year.
The milk production series, state or national (commodity_desc MILK,
class_desc ALL CLASSES, statisticcat_desc PRODUCTION, unit_desc
LB, domain_desc TOTAL, source_desc SURVEY; short_desc
MILK - PRODUCTION, MEASURED IN LB); ALL CLASSES leaves out the manufactured
dairy products (dry and condensed milk) that upstream files nationally under the same
statistic and unit. Sorted by frequency, then period: the year first
(freq_desc ANNUAL, reference_period_desc YEAR), then the months, each
quarter (JAN THRU MAR, ...) after its first month, since upstream files months and
quarters alike as MONTHLY. value is the quantity in pounds as published.
Args:
year: Calendar year, e.g. 2024.
state: Two-letter state code for the state series, e.g. StateAlpha.WI,
StateAlpha.CA; None returns the national US TOTAL series.
frequency: FreqDesc.MONTHLY (the months and quarters) or FreqDesc.ANNUAL
(the year) to keep one; None returns both. FreqDesc.WEEKLY,
FreqDesc.SEASON and FreqDesc.POINT_IN_TIME raise NotFoundError,
since upstream files no milk production under them.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"year": "<year>"
},
"name": "usda_nass_get_milk_production"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| state | No | ||
| frequency | No |