normalized_prices
Get ERS normalized prices - national and State-level normalized prices for crops, livestock, milk, poultry, eggs, and wool, plus national prices-received and prices-paid indices, each pivoted to a wide layout with report years, index years, or States in the columns.
Examples
from openbb import obb
obb.usda.normalized_prices(provider='usda')
# Get the national prices-received and prices-paid indices (2011=100).
obb.usda.normalized_prices(table='table2_national_indices', provider='usda')
# Get State-level normalized prices for the current report year.
obb.usda.normalized_prices(table='table3_state_prices', provider='usda')
Parameters
- standard
- usda
table: str | None
Default: table1_national_prices
Description
Table to retrieve. 'table1_national_prices' spreads the report years into columns with one row per commodity; 'table2_national_indices' spreads the index years into columns with one row per national price index series; 'table3_state_prices' spreads the States into columns with one row per commodity for the current report year. Valid tables are:
table1_national_prices, table2_national_indices, table3_state_prices
Returns
results: NormalizedPrices
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
- standard
- usda
commodity: str
Commodity (national and State price tables) or national price index series (the index table), as published.
units: str | None
Unit of the row's prices, as published, e.g. ' / cwt', or 'Index, 2011=100' for the price index table.
description: str | None
Commodity qualifier, as published, e.g. 'for grain' or 'lint, upland'. Absent for the price index table.