Skip to main content
Version: v5

wheat_data

Get ERS wheat data - the Wheat Yearbook supply, use, price, and trade tables, each pivoted to a wide layout by year.

Examples​

from openbb import obb
obb.usda.wheat_data(provider='usda')
# Get world and U.S. wheat supply and disappearance since 2010.
obb.usda.wheat_data(table='world_supply_and_disappearance', start_year=2010, provider='usda')
# Get the historical by-class quarterly balance sheet.
obb.usda.wheat_data(table='by_class_quarterly', provider='usda')

Parameters​


Returns​

results: WheatData

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​