Signal drop!
Relay (operand.online) is unreachable.
Usually, a dropped signal means an upgrade is happening. Hold on!
Sorry, no connección.
Hang in there while we get back on track
gram: luck
> ./src/data/officialFoods.ts
Lenses
(coming soon!)
// @ts-ignore
// import officialFoods from "./officialFoodIdsFiltered.csv";
// @ts-ignore
// import nutrients from "./nutrient.csv";
// @ts-ignore
// import measureUnits from "./measure_unit.csv";
// @ts-ignore
import foodNutrients from "./food_nutrient_filtered.csv";
export type OfficialFood = {
fdc_id: string;
data_type: string;
description: string;
food_category_id: string;
publication_date: string;
};
export type FoodNutrient = {
id: string;
fdc_id: string;
nutrient_id: string;
amount: string;
data_points: string;
derivation_id: string;
};
export const OFFICIAL_FOODS = [] /* officialFoods */ as OfficialFood[];
export const NUTRIENTS = [] /* nutrients*/ as { [key: string]: string }[];
export const MEASURE_UNITS = [] /* measureUnits */ as { [key: string]: string }[];
export const FOOD_NUTRIENTS = [] /* foodNutrients */ as FoodNutrient[];