Skip to main content
Version: v5

food_price_outlook

Get ERS Food Price Outlook - consumer and producer food price index forecasts, prediction intervals, and the annual percent-change record, each pivoted to a wide layout.

Examples​

from openbb import obb
obb.usda.food_price_outlook(provider='usda')
# Get the annual consumer food price index changes since 2000.
obb.usda.food_price_outlook(table='cpi_annual', start_year=2000, provider='usda')
# Get the consumer forecast prediction intervals for beef and eggs.
obb.usda.food_price_outlook(table='cpi_forecast', item='beef,eggs', provider='usda')
# Get the historical consumer forecast vintages for all food.
obb.usda.food_price_outlook(table='cpi_forecast_history', item='all food', provider='usda')

Parameters​


Returns​

results: FoodPriceOutlook

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​