Resource Requirements Of Food Demand
Implementation details
Class names
| Model name | Parameters class | Data class |
|---|---|---|
ResourceRequirementsOfFoodDemand | ResourceRequirementsOfFoodDemandQueryParams | ResourceRequirementsOfFoodDemandData |
Import Statement
from openbb_core.provider.standard_models. import (
ResourceRequirementsOfFoodDemandData,
ResourceRequirementsOfFoodDemandQueryParams,
)
Parameters
- standard
- usda
table: str | None
Default: Xf0000
Description
Food group, commodity, or aggregate table to retrieve, identified by its Xf table number. Each table holds the employment, freshwater withdrawal, and energy resources embodied across the food supply chain to meet final demand for that category; the resource-and-source measures become the wide value columns while year and supply-chain stage stay as pinned rows. Valid tables are:
Xf0000 (Food and food-related), Xf1000 (Food), Xf1100 (Food at home), Xf1101 (Cereals), Xf1102 (Bakery products), Xf1103 (Beef), Xf1104 (Pork), Xf1105 (Other meats), Xf1106 (Poultry), Xf1107 (Fish and seafood), Xf1108 (Fresh milk), Xf1109 (Processed dairy products), Xf1110 (Fresh eggs), Xf1111 (Processed eggs), Xf1112 (Fats and oils), Xf1113 (Fresh fruits), Xf1114 (Fresh vegetables), Xf1115 (Canned, frozen, and dried fruits and vegetables), Xf1116 (Sugar and sweets), Xf1117 (Snack foods), Xf1118 (Frozen prepared foods), Xf1119 (Processed fruit and vegetable canning and drying), Xf1120 (Seasonings, sauces, and dressings), Xf1121 (Dry, condensed, and evaporated dairy and non-dairy products), Xf1122 (Tree nuts and peanuts), Xf1123 (Fresh cut produce plus grab-and-go foods), Xf1124 (Miscellaneous foods and ingredients), Xf1125 (Fruit and vegetable juices), Xf1126 (Food consumed on farms), Xf1127 (Coffee, tea, and beverage materials), Xf1128 (Soft drinks and bottled water), Xf1200 (Food away from home), Xf1201 (Food at full-service restaurants), Xf1202 (Food at limited-service restaurants), Xf1203 (Food at other food and drinking places), Xf1204 (Food at schools and colleges), Xf1205 (Food furnished to employees (including military)), Xf1206 (Institutional and employer furnished meals plus food assistance), Xf1207 (Food and non-alcoholic beverages at work (per diem and expensing)), Xf2000 (Alcohol), Xf2100 (Alcohol at home), Xf2101 (Beer), Xf2102 (Wine), Xf2103 (Spirits), Xf2200 (Alcohol away from home), Xf2201 (Alcohol at full-service restaurants), Xf2202 (Alcohol at limited-service restaurants), Xf2203 (Alcohol at other food and drinking places), Xf3000 (Households)
start_year: int | None
Start year for filtering the data, compared against the observation year. If None, returns from the beginning of the series.
end_year: int | None
End year for filtering the data, compared against the observation year. If None, returns up to the most recent year.
Data
- standard
- usda
year: int
Year of the observation.
stage: str | None
Supply-chain stage the resources are attributed to, as published, e.g. 'Total', 'Crops', 'Food retail', or a household home-kitchen stage.
employment: float | None
Full- or part-time employees per year embodied at the stage.
water: float | None
Freshwater withdrawals embodied at the stage, in million gallons per year.
energy_total: float | None
Total energy from all sources embodied at the stage, in billion British thermal units per year.
energy_pa: float | None
Energy from all petroleum products embodied at the stage, in billion British thermal units per year.
energy_ng: float | None
Energy from natural gas, including supplemental gaseous fuels, embodied at the stage, in billion British thermal units per year.
energy_es: float | None
Energy from electricity sales embodied at the stage, in billion British thermal units per year.
energy_cl: float | None
Energy from coal embodied at the stage, in billion British thermal units per year.
energy_lo: float | None
Electrical system energy losses embodied at the stage, in billion British thermal units per year.
energy_bf: float | None
Energy from biofuel embodied at the stage, in billion British thermal units per year.
energy_ww: float | None
Energy from wood and biomass waste embodied at the stage, in billion British thermal units per year.
energy_wd: float | None
Energy from wood embodied at the stage, in billion British thermal units per year.
energy_hy: float | None
Energy from hydroelectric power embodied at the stage, in billion British thermal units per year.
energy_ge: float | None
Energy from geothermal power embodied at the stage, in billion British thermal units per year.
energy_so: float | None
Energy from solar power embodied at the stage, in billion British thermal units per year.
energy_wy: float | None
Energy from wind power embodied at the stage, in billion British thermal units per year.
energy_cc: float | None
Energy from coal coke embodied at the stage, in billion British thermal units per year.
energy_sf: float | None
Energy from supplemental gaseous fuels embodied at the stage, in billion British thermal units per year.