Skip to main content
Version: v5

vegetables_and_pulses

Get ERS vegetables and pulses yearbook data - U.S. and world vegetable and pulse-crop supply, availability, per capita use, price, trade, and cash receipts, each table pivoted to a wide layout with the data elements as columns and years as rows.

Examples​

from openbb import obb
obb.usda.vegetables_and_pulses(provider='usda')
# Get the U.S. fresh asparagus balance sheet since 2015.
obb.usda.vegetables_and_pulses(table='Table13_Asparagus', start_year=2015, provider='usda')
# Get selected world vegetable production since 2020.
obb.usda.vegetables_and_pulses(table='Table09_WorldVegProduction', start_year=2020, provider='usda')

Parameters​


Returns​

results: VegetablesAndPulses

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​