Skip to main content
Version: v5

milk_cost_of_production

Get ERS milk cost of production estimates, by state or by size of operation.

Examples​

from openbb import obb
obb.usda.milk_cost_of_production(provider='usda')
# Get milk production costs by size of operation.
obb.usda.milk_cost_of_production(report='by_size_of_operation', provider='usda')
# Get Wisconsin operating costs since 2022.
obb.usda.milk_cost_of_production(state='wisconsin', category='operating costs', start_year=2022, provider='usda')

Parameters​


Returns​

results: MilkCostOfProduction

Serializable results.

provider: str | None

Provider name.

warnings: Optional[list[Warning_]]

List of warnings.

chart: Optional[Chart]

Chart object.

extra: dict[str, Any]

Extra info.


Data​