Skip to main content
Version: v5

fruit_and_tree_nuts_data

Get ERS fruit and tree nuts data - the Fruit and Tree Nuts Yearbook area, production, price, supply, per-capita availability, and import-share tables, each pivoted to a wide layout by year.

Examples​

from openbb import obb
obb.usda.fruit_and_tree_nuts_data(provider='usda')
# Get U.S. apple production, utilization, and grower price since 2010.
obb.usda.fruit_and_tree_nuts_data(table='B-3', start_year=2010, provider='usda')
# Get the tree-nut area-bearing table, one column per nut.
obb.usda.fruit_and_tree_nuts_data(category='F', table='F-1', provider='usda')

Parameters​


Returns​

results: FruitAndTreeNutsData

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​