meat_price_spreads
Get ERS meat price spreads - retail values, farm values, price spreads, and farmers' shares for beef, pork, poultry, and eggs.
Examples
from openbb import obb
obb.usda.meat_price_spreads(provider='usda')
# Get the pork values and spreads table, annual rows only.
obb.usda.meat_price_spreads(table='pork', frequency='annual', provider='usda')
# Get the historical monthly beef, pork, and broiler series since 2000.
obb.usda.meat_price_spreads(table='historical_monthly', start_year=2000, provider='usda')
Parameters
- standard
- usda
table: str | None
Default: choice_beef
Description
Table to retrieve. Each table is a self-contained set of data items pivoted into columns; the column set differs by table. Valid tables are:
summary, choice_beef, pork, retail_prices, historical_monthly
frequency: str | None
Filter rows by observation frequency. Only the choice_beef and pork tables mix annual, quarterly, and monthly rows; the other tables carry only monthly rows. If None, all frequencies are included.
start_year: int | None
Start year for filtering the data. None returns from the beginning of the series (historical_monthly reaches 1970).
end_year: int | None
End year for filtering the data. If None, returns up to the most recent year.
Returns
results: MeatPriceSpreads
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
period: str
Row label of the observation: the year for annual rows ('2020'), the year and the within-year period for sub-annual rows ('2020 January', '2020 Quarter 1, January-March'). The table's published data items spread into the wide value columns.