Skip to main content
Version: v5

oil_crops_yearbook

Get ERS Oil Crops Yearbook data - the U.S. and world oilseed, oilmeal, and vegetable-oil supply, use, price, and trade tables, each pivoted to a wide layout by year.

Examples​

from openbb import obb
obb.usda.oil_crops_yearbook(provider='usda')
# Get U.S. soybean exports by destination since 2015.
obb.usda.oil_crops_yearbook(table='soybean_exports_by_destination', start_year=2015, provider='usda')
# Get world oilseed supply and distribution, by oilseed.
obb.usda.oil_crops_yearbook(table='world_oilseed_supply_and_distribution', provider='usda')

Parameters​


Returns​

results: OilCropsYearbook

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​