Skip to main content
Version: v5

fruit_and_vegetable_prices

Get ERS fruit and vegetable prices - 2023 average retail price, preparation yield factor, cup-equivalent size, and average price per edible cup-equivalent, one row per commodity and marketed form.

Examples​

from openbb import obb
obb.usda.fruit_and_vegetable_prices(provider='usda')
# Get 2023 average retail and cup-equivalent prices for vegetables.
obb.usda.fruit_and_vegetable_prices(table='vegetable', provider='usda')

Parameters​


Returns​

results: FruitAndVegetablePrices

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​