Skip to main content
Version: v5

sugar_sweeteners_yearbook

Get ERS Sugar and Sweeteners Yearbook tables - U.S., Mexican, and world sugar and sweetener prices, supply and use, production, consumption, and trade, each pivoted to a wide layout by attribute.

Examples​

from openbb import obb
obb.usda.sugar_sweeteners_yearbook(provider='usda')
# Get U.S. sugar supply and use since 2020.
obb.usda.sugar_sweeteners_yearbook(table='table_24a', start_year=2020, provider='usda')
# Get the world white refined sugar futures price table.
obb.usda.sugar_sweeteners_yearbook(table='table_2', provider='usda')
# Get U.S. honey imports by country of source since 2020.
obb.usda.sugar_sweeteners_yearbook(table='table_48a', start_year=2020, provider='usda')

Parameters​


Returns​

results: SugarSweetenersYearbook

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​