Skip to main content
Version: v5

international_baseline_data

Get ERS International Baseline Data - long-term projections of area, yield, production, supply, use, and trade for grains, oilseeds, cotton, and livestock, pivoted to a wide layout with the countries and regions as columns and the crop or calendar years as rows.

Examples​

from openbb import obb
obb.usda.international_baseline_data(provider='usda')
# Get projected corn exports by country and region since 2020.
obb.usda.international_baseline_data(commodity='Corn', attribute='Exports', start_year=2020, provider='usda')
# Get China's long-term wheat production projection.
obb.usda.international_baseline_data(commodity='Wheat', attribute='Production', country='China', provider='usda')

Parameters​


Returns​

results: InternationalBaselineData

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​