Meat Price Spreads
Implementation details
Class names
| Model name | Parameters class | Data class |
|---|---|---|
MeatPriceSpreads | MeatPriceSpreadsQueryParams | MeatPriceSpreadsData |
Import Statement
from openbb_core.provider.standard_models. import (
MeatPriceSpreadsData,
MeatPriceSpreadsQueryParams,
)
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.
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.