Skip to main content
Version: v5

rice_yearbook

Get ERS rice data - the Rice Yearbook acreage, supply, use, stocks, price, and trade tables, each pivoted to a wide layout by year.

Examples​

from openbb import obb
obb.usda.rice_yearbook(provider='usda')
# Get world rice trade on a milled basis since 2020.
obb.usda.rice_yearbook(table='world_trade_milled_basis', start_year=2020, provider='usda')
# Get the top 10 U.S. rice export markets.
obb.usda.rice_yearbook(table='us_top_export_markets', provider='usda')

Parameters​


Returns​

results: RiceYearbook

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​