Purchase To Plate
Implementation details
Class names
| Model name | Parameters class | Data class |
|---|---|---|
PurchaseToPlate | PurchaseToPlateQueryParams | PurchaseToPlateData |
Import Statement
from openbb_core.provider.standard_models. import (
PurchaseToPlateData,
PurchaseToPlateQueryParams,
)
Parameters
- standard
- usda
food_group: str | None
Default: milk
Description
Food group to retrieve, derived from the FNDDS food-code leading digit. Valid food groups are:
milk, meat, eggs, legumes, grains, fruits, vegetables, fats, sugars
Data
- standard
- usda
food_code: str
Eight-digit FNDDS food code identifying the food item.
mod_code: str | None
Recipe modification code, '0' for an unmodified item. Non-zero only on the 2011/2012 recipe-modification rows.
food_description: str
Food description, as published in the most recent survey cycle the item appears in.
method_description: str | None
Price-estimation method, as published in the most recent survey cycle the item appears in.
nhanes: str | None
NHANES reporting flag, as published in the most recent survey cycle the item appears in.
cycle_2011_2012: float | None
National average price for the 2011/2012 survey cycle, in nominal U.S. dollars per 100 edible grams.
cycle_2013_2014: float | None
National average price for the 2013/2014 survey cycle, in nominal U.S. dollars per 100 edible grams.
cycle_2015_2016: float | None
National average price for the 2015/2016 survey cycle, in nominal U.S. dollars per 100 edible grams.
cycle_2017_2018: float | None
National average price for the 2017/2018 survey cycle, in nominal U.S. dollars per 100 edible grams.