From bd41ea17ff776a81354009b28968f8c611442dc4 Mon Sep 17 00:00:00 2001 From: Cody Weaver Date: Fri, 5 Jan 2024 00:18:46 -0700 Subject: [PATCH] Add scripts to extract food data from usda databases --- .gitignore | 4 + .../editrecipe/EditRecipeViewModel.kt | 4 +- .../android/pocketalchemy/model/Ingredient.kt | 28 +- .../com/android/pocketalchemy/model/Recipe.kt | 2 +- .../recipelist/RecipeListCard.kt | 2 +- .../repository/RecipeRepository.kt | 2 +- ingredients/data/finalIngredients.json | 7479 +++++++++++++++++ ingredients/extract_ingredients.py | 151 + 8 files changed, 7664 insertions(+), 8 deletions(-) create mode 100755 ingredients/data/finalIngredients.json create mode 100644 ingredients/extract_ingredients.py diff --git a/.gitignore b/.gitignore index 170a9ed..e9951e5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,7 @@ +# Unproccessed USDA database files +brandedFood.json +foundationFoods.json + # Gradle files .gradle/ build/ diff --git a/app/src/main/java/com/android/pocketalchemy/editrecipe/EditRecipeViewModel.kt b/app/src/main/java/com/android/pocketalchemy/editrecipe/EditRecipeViewModel.kt index 26c380f..e79af05 100644 --- a/app/src/main/java/com/android/pocketalchemy/editrecipe/EditRecipeViewModel.kt +++ b/app/src/main/java/com/android/pocketalchemy/editrecipe/EditRecipeViewModel.kt @@ -39,7 +39,7 @@ class EditRecipeViewModel @Inject constructor( /** * ui state model for EditRecipeScreen */ - private var _recipeState: MutableState = mutableStateOf(Recipe(userId = userId, recipeId = recipeId)) + private var _recipeState: MutableState = mutableStateOf(Recipe(userId = userId, id = recipeId)) /** * public accessor for ui state model */ @@ -91,7 +91,7 @@ class EditRecipeViewModel @Inject constructor( * Updates ui state model */ fun updateRecipeState(recipe: Recipe) { - _recipeState.value = recipe.copy(recipeId = recipeId) + _recipeState.value = recipe.copy(id = recipeId) } /** diff --git a/app/src/main/java/com/android/pocketalchemy/model/Ingredient.kt b/app/src/main/java/com/android/pocketalchemy/model/Ingredient.kt index c296612..e4e2fba 100644 --- a/app/src/main/java/com/android/pocketalchemy/model/Ingredient.kt +++ b/app/src/main/java/com/android/pocketalchemy/model/Ingredient.kt @@ -1,7 +1,29 @@ package com.android.pocketalchemy.model +import com.google.firebase.firestore.DocumentId +import com.google.firebase.firestore.IgnoreExtraProperties +import androidx.annotation.Keep -/* PLACEHOLDER */ +/** + * Ingredient Model class + */ +@Keep +@IgnoreExtraProperties data class Ingredient( - val name: String = "", - val ingredientId: Int = 0 + @DocumentId val id: String? = null, + val name: String? = null, + val category: String? = null, + val calories: MeasuredInt? = null, + val protein: MeasuredInt? = null, + val fat: MeasuredInt? = null, + val carbs: MeasuredInt? = null, + val sodium: MeasuredInt? = null, + val fiber: MeasuredInt? = null,, + val sugars: MeasuredInt? = null, + val portions: list? = null, + val fdcId: String? = null ) + +/** + * TODO: extract possible units from ingredients and make enum + */ +data class MeasuredInt(val value: Int, val unit: String) \ No newline at end of file diff --git a/app/src/main/java/com/android/pocketalchemy/model/Recipe.kt b/app/src/main/java/com/android/pocketalchemy/model/Recipe.kt index cdb3213..f599678 100644 --- a/app/src/main/java/com/android/pocketalchemy/model/Recipe.kt +++ b/app/src/main/java/com/android/pocketalchemy/model/Recipe.kt @@ -16,7 +16,7 @@ import com.google.firebase.firestore.IgnoreExtraProperties @IgnoreExtraProperties @Keep data class Recipe( - @DocumentId val recipeId: String? = null, + @DocumentId val id: String? = null, val userId: String? = null, val title: String? = null, val subtitle: String? = null, diff --git a/app/src/main/java/com/android/pocketalchemy/recipelist/RecipeListCard.kt b/app/src/main/java/com/android/pocketalchemy/recipelist/RecipeListCard.kt index 8b1eeec..2f52e94 100644 --- a/app/src/main/java/com/android/pocketalchemy/recipelist/RecipeListCard.kt +++ b/app/src/main/java/com/android/pocketalchemy/recipelist/RecipeListCard.kt @@ -50,7 +50,7 @@ fun RecipeListCard( Card( onClick = { - onNavigateToEditRecipe(recipe.recipeId) + onNavigateToEditRecipe(recipe.id) }, enabled = true, elevation = CardDefaults.cardElevation( diff --git a/app/src/main/java/com/android/pocketalchemy/repository/RecipeRepository.kt b/app/src/main/java/com/android/pocketalchemy/repository/RecipeRepository.kt index 618fa7b..f7d308c 100644 --- a/app/src/main/java/com/android/pocketalchemy/repository/RecipeRepository.kt +++ b/app/src/main/java/com/android/pocketalchemy/repository/RecipeRepository.kt @@ -53,7 +53,7 @@ class RecipeRepository @Inject constructor( * @param recipe Recipe object to insert into collection */ fun insertRecipe(recipe: Recipe) { - recipe.recipeId?.let { id -> + recipe.id?.let { id -> firestore.collection(RECIPE_COLLECTION).document(id) .set(recipe) .addOnSuccessListener { diff --git a/ingredients/data/finalIngredients.json b/ingredients/data/finalIngredients.json new file mode 100755 index 0000000..c5bf22c --- /dev/null +++ b/ingredients/data/finalIngredients.json @@ -0,0 +1,7479 @@ +[ + { + "name": "hummus", + "fdcId": 321358, + "category": "Legumes and Legume Products", + "calories": { + "value": 229, + "unit": "kcal" + }, + "protein": { + "value": 7.35, + "unit": "g" + }, + "carbs": { + "value": 14.9, + "unit": "g" + }, + "fat": { + "value": 17.1, + "unit": "g" + }, + "sodium": { + "value": 438, + "unit": "mg" + }, + "sugars": { + "value": 0.34, + "unit": "g" + }, + "fiber": { + "value": 5.4, + "unit": "g" + }, + "portions": [ + { + "portion-value": 2.0, + "portion-abbr": "tbsp", + "portion-gweight": 33.9 + } + ] + }, + { + "name": "raw grape tomatoes", + "fdcId": 321360, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 27.0, + "unit": "kcal" + }, + "protein": { + "value": 0.83, + "unit": "g" + }, + "carbs": { + "value": 5.51, + "unit": "g" + }, + "fat": { + "value": 0.63, + "unit": "g" + }, + "sodium": { + "value": 6.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 2.1, + "unit": "g" + }, + "portions": [ + { + "portion-value": 5.0, + "portion-abbr": "tomatoes", + "portion-gweight": 49.7 + }, + { + "portion-value": 1.0, + "portion-abbr": "cup", + "portion-gweight": 152.0 + } + ] + }, + { + "name": "green snap beans", + "fdcId": 321611, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 20.0, + "unit": "kcal" + }, + "protein": { + "value": 1.04, + "unit": "g" + }, + "carbs": { + "value": 4.11, + "unit": "g" + }, + "fat": { + "value": 0.39, + "unit": "g" + }, + "sodium": { + "value": 282, + "unit": "mg" + }, + "sugars": { + "value": 1.29, + "unit": "g" + }, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "cup", + "portion-gweight": 129.0 + } + ] + }, + { + "name": "unheated beef frankfurter", + "fdcId": 323121, + "category": "Sausages and Luncheon Meats", + "calories": { + "value": 314, + "unit": "kcal" + }, + "protein": { + "value": 11.7, + "unit": "g" + }, + "carbs": { + "value": 2.89, + "unit": "g" + }, + "fat": { + "value": 28.0, + "unit": "g" + }, + "sodium": { + "value": 872, + "unit": "mg" + }, + "sugars": { + "value": 1.26, + "unit": "g" + }, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "piece", + "portion-gweight": 48.6 + } + ] + }, + { + "name": "dry roasted almonds", + "fdcId": 323294, + "category": "Nut and Seed Products", + "calories": { + "value": 621, + "unit": "kcal" + }, + "protein": { + "value": 20.4, + "unit": "g" + }, + "carbs": { + "value": 16.2, + "unit": "g" + }, + "fat": { + "value": 57.8, + "unit": "g" + }, + "sodium": { + "value": 256, + "unit": "mg" + }, + "sugars": { + "value": 4.17, + "unit": "g" + }, + "fiber": { + "value": 11.0, + "unit": "g" + }, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "cup", + "portion-gweight": 135.0 + } + ] + }, + { + "name": "raw kale", + "fdcId": 323505, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 35.0, + "unit": "kcal" + }, + "protein": { + "value": 2.92, + "unit": "g" + }, + "carbs": { + "value": 4.42, + "unit": "g" + }, + "fat": { + "value": 1.49, + "unit": "g" + }, + "sodium": { + "value": 53.0, + "unit": "mg" + }, + "sugars": { + "value": 0.8, + "unit": "g" + }, + "fiber": { + "value": 4.1, + "unit": "g" + }, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "cup", + "portion-gweight": 20.6 + } + ] + }, + { + "name": "raw whole egg", + "fdcId": 323604, + "category": "Dairy and Egg Products", + "calories": { + "value": 150, + "unit": "kcal" + }, + "protein": { + "value": 12.3, + "unit": "g" + }, + "carbs": { + "value": 0.91, + "unit": "g" + }, + "fat": { + "value": 10.3, + "unit": "g" + }, + "sodium": { + "value": 121, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "oz", + "portion-gweight": 28.4 + } + ] + }, + { + "name": "raw white egg", + "fdcId": 323697, + "category": "Dairy and Egg Products", + "calories": { + "value": 48.0, + "unit": "kcal" + }, + "protein": { + "value": 10.1, + "unit": "g" + }, + "carbs": { + "value": 0.74, + "unit": "g" + }, + "fat": { + "value": 0.16, + "unit": "g" + }, + "sodium": { + "value": 144, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "oz", + "portion-gweight": 28.4 + } + ] + }, + { + "name": "dried white egg", + "fdcId": 323793, + "category": "Dairy and Egg Products", + "calories": { + "value": 376, + "unit": "kcal" + }, + "protein": { + "value": 79.9, + "unit": "g" + }, + "carbs": { + "value": 6.02, + "unit": "g" + }, + "fat": { + "value": 0.65, + "unit": "g" + }, + "sodium": { + "value": 1250.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "tbsp", + "portion-gweight": 7.0 + }, + { + "portion-value": 1.0, + "portion-abbr": "cup", + "portion-gweight": 107.0 + } + ] + }, + { + "name": "par fried breaded onion rings", + "fdcId": 324317, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 289, + "unit": "kcal" + }, + "protein": { + "value": 4.52, + "unit": "g" + }, + "carbs": { + "value": 36.3, + "unit": "g" + }, + "fat": { + "value": 14.4, + "unit": "g" + }, + "sodium": { + "value": 374, + "unit": "mg" + }, + "sugars": { + "value": 4.5, + "unit": "g" + }, + "fiber": { + "value": 2.4, + "unit": "g" + }, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "piece", + "portion-gweight": 20.2 + } + ] + }, + { + "name": "dill or kosher dill cucumber pickles", + "fdcId": 324653, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 12.0, + "unit": "kcal" + }, + "protein": { + "value": 0.48, + "unit": "g" + }, + "carbs": { + "value": 1.99, + "unit": "g" + }, + "fat": { + "value": 0.43, + "unit": "g" + }, + "sodium": { + "value": 808, + "unit": "mg" + }, + "sugars": { + "value": 1.28, + "unit": "g" + }, + "fiber": { + "value": 1.0, + "unit": "g" + }, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "spear", + "portion-gweight": 40.4 + } + ] + }, + { + "name": "grated parmesan cheese", + "fdcId": 325036, + "category": "Dairy and Egg Products", + "calories": { + "value": 420, + "unit": "kcal" + }, + "protein": { + "value": 29.6, + "unit": "g" + }, + "carbs": { + "value": 12.4, + "unit": "g" + }, + "fat": { + "value": 28.0, + "unit": "g" + }, + "sodium": { + "value": 1750.0, + "unit": "mg" + }, + "sugars": { + "value": 0.07, + "unit": "g" + }, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "tbsp", + "portion-gweight": 7.6 + } + ] + }, + { + "name": "american pasteurized process cheese", + "fdcId": 325198, + "category": "Dairy and Egg Products", + "calories": { + "value": 366, + "unit": "kcal" + }, + "protein": { + "value": 18.0, + "unit": "g" + }, + "carbs": { + "value": 5.27, + "unit": "g" + }, + "fat": { + "value": 30.6, + "unit": "g" + }, + "sodium": { + "value": 1660.0, + "unit": "mg" + }, + "sugars": { + "value": 2.63, + "unit": "g" + }, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "slice", + "portion-gweight": 20.6 + } + ] + }, + { + "name": "canned or bottled white grapefruit juice", + "fdcId": 325287, + "category": "Fruits and Fruit Juices", + "calories": { + "value": 37.0, + "unit": "kcal" + }, + "protein": { + "value": 0.55, + "unit": "g" + }, + "carbs": { + "value": 7.59, + "unit": "g" + }, + "fat": { + "value": 0.7, + "unit": "g" + }, + "sodium": { + "value": 1.0, + "unit": "mg" + }, + "sugars": { + "value": 7.72, + "unit": "g" + }, + "fiber": { + "value": 0.2, + "unit": "g" + }, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "cup", + "portion-gweight": 257.0 + } + ] + }, + { + "name": "raw yellow peaches", + "fdcId": 325430, + "category": "Fruits and Fruit Juices", + "calories": { + "value": 42.0, + "unit": "kcal" + }, + "protein": { + "value": 0.91, + "unit": "g" + }, + "carbs": { + "value": 10.1, + "unit": "g" + }, + "fat": { + "value": 0.27, + "unit": "g" + }, + "sodium": { + "value": 13.0, + "unit": "mg" + }, + "sugars": { + "value": 8.39, + "unit": "g" + }, + "fiber": { + "value": 1.5, + "unit": "g" + }, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "fruit", + "portion-gweight": 147.0 + }, + { + "portion-value": 1.0, + "portion-abbr": "cup", + "portion-gweight": 154.0 + }, + { + "portion-value": 1.0, + "portion-abbr": "fruit", + "portion-gweight": 173.0 + }, + { + "portion-value": 1.0, + "portion-abbr": "fruit", + "portion-gweight": 225.0 + }, + { + "portion-value": 1.0, + "portion-abbr": "fruit", + "portion-gweight": 161.0 + }, + { + "portion-value": 1.0, + "portion-abbr": "serving", + "portion-gweight": 147.0 + } + ] + }, + { + "name": "dry roasted sunflower seed kernels", + "fdcId": 325524, + "category": "Nut and Seed Products", + "calories": { + "value": 612, + "unit": "kcal" + }, + "protein": { + "value": 21.0, + "unit": "g" + }, + "carbs": { + "value": 17.1, + "unit": "g" + }, + "fat": { + "value": 56.1, + "unit": "g" + }, + "sodium": { + "value": 532, + "unit": "mg" + }, + "sugars": { + "value": 3.14, + "unit": "g" + }, + "fiber": { + "value": 10.3, + "unit": "g" + }, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "cup", + "portion-gweight": 127.0 + } + ] + }, + { + "name": "white bread", + "fdcId": 325871, + "category": "Baked Products", + "calories": { + "value": 270, + "unit": "kcal" + }, + "protein": { + "value": 9.43, + "unit": "g" + }, + "carbs": { + "value": 49.2, + "unit": "g" + }, + "fat": { + "value": 3.59, + "unit": "g" + }, + "sodium": { + "value": 477, + "unit": "mg" + }, + "sugars": { + "value": 5.34, + "unit": "g" + }, + "fiber": { + "value": 2.3, + "unit": "g" + }, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "slice", + "portion-gweight": 27.3 + } + ] + }, + { + "name": "cooked frozen kale", + "fdcId": 326196, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 36.0, + "unit": "kcal" + }, + "protein": { + "value": 2.94, + "unit": "g" + }, + "carbs": { + "value": 5.3, + "unit": "g" + }, + "fat": { + "value": 1.21, + "unit": "g" + }, + "sodium": { + "value": 16.0, + "unit": "mg" + }, + "sugars": { + "value": 1.12, + "unit": "g" + }, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "cup", + "portion-gweight": 118.0 + } + ] + }, + { + "name": "yellow prepared mustard", + "fdcId": 326698, + "category": "Spices and Herbs", + "calories": { + "value": 61.0, + "unit": "kcal" + }, + "protein": { + "value": 4.25, + "unit": "g" + }, + "carbs": { + "value": 5.3, + "unit": "g" + }, + "fat": { + "value": 3.38, + "unit": "g" + }, + "sodium": { + "value": 1100.0, + "unit": "mg" + }, + "sugars": { + "value": 1.42, + "unit": "g" + }, + "fiber": { + "value": 4.3, + "unit": "g" + }, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "cup", + "portion-gweight": 249.0 + }, + { + "portion-value": 1.0, + "portion-abbr": "tsp", + "portion-gweight": 6.0 + } + ] + }, + { + "name": "raw green kiwifruit", + "fdcId": 327046, + "category": "Fruits and Fruit Juices", + "calories": { + "value": 58.0, + "unit": "kcal" + }, + "protein": { + "value": 1.06, + "unit": "g" + }, + "carbs": { + "value": 14.0, + "unit": "g" + }, + "fat": { + "value": 0.44, + "unit": "g" + }, + "sodium": { + "value": 5.0, + "unit": "mg" + }, + "sugars": { + "value": 8.99, + "unit": "g" + }, + "fiber": { + "value": 3.0, + "unit": "g" + }, + "portions": [] + }, + { + "name": "raw nectarines", + "fdcId": 327357, + "category": "Fruits and Fruit Juices", + "calories": { + "value": 39.0, + "unit": "kcal" + }, + "protein": { + "value": 1.06, + "unit": "g" + }, + "carbs": { + "value": 9.18, + "unit": "g" + }, + "fat": { + "value": 0.28, + "unit": "g" + }, + "sodium": { + "value": 13.0, + "unit": "mg" + }, + "sugars": { + "value": 7.89, + "unit": "g" + }, + "fiber": { + "value": 1.5, + "unit": "g" + }, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "each", + "portion-gweight": 129.0 + }, + { + "portion-value": 1.0, + "portion-abbr": "each", + "portion-gweight": 156.0 + }, + { + "portion-value": 1.0, + "portion-abbr": "each", + "portion-gweight": 142.0 + }, + { + "portion-value": 1.0, + "portion-abbr": "serving", + "portion-gweight": 140.0 + }, + { + "portion-value": 1.0, + "portion-abbr": "cup", + "portion-gweight": 143.0 + } + ] + }, + { + "name": "cheddar cheese", + "fdcId": 328637, + "category": "Dairy and Egg Products", + "calories": { + "value": 408, + "unit": "kcal" + }, + "protein": { + "value": 23.3, + "unit": "g" + }, + "carbs": { + "value": 2.44, + "unit": "g" + }, + "fat": { + "value": 34.0, + "unit": "g" + }, + "sodium": { + "value": 654, + "unit": "mg" + }, + "sugars": { + "value": 0.33, + "unit": "g" + }, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "slice", + "portion-gweight": 17.0 + }, + { + "portion-value": 1.0, + "portion-abbr": "cup", + "portion-gweight": 105.0 + } + ] + }, + { + "name": "lowfat cottage cheese", + "fdcId": 328841, + "category": "Dairy and Egg Products", + "calories": { + "value": 84.0, + "unit": "kcal" + }, + "protein": { + "value": 11.0, + "unit": "g" + }, + "carbs": { + "value": 4.31, + "unit": "g" + }, + "fat": { + "value": 2.3, + "unit": "g" + }, + "sodium": { + "value": 321, + "unit": "mg" + }, + "sugars": { + "value": 4.1, + "unit": "g" + }, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "cup", + "portion-gweight": 220.0 + } + ] + }, + { + "name": "low moisture mozzarella cheese", + "fdcId": 329370, + "category": "Dairy and Egg Products", + "calories": { + "value": 298, + "unit": "kcal" + }, + "protein": { + "value": 23.7, + "unit": "g" + }, + "carbs": { + "value": 4.44, + "unit": "g" + }, + "fat": { + "value": 20.4, + "unit": "g" + }, + "sodium": { + "value": 699, + "unit": "mg" + }, + "sugars": { + "value": 1.81, + "unit": "g" + }, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "cup", + "portion-gweight": 86.2 + } + ] + }, + { + "name": "dried whole egg", + "fdcId": 329490, + "category": "Dairy and Egg Products", + "calories": { + "value": 576, + "unit": "kcal" + }, + "protein": { + "value": 48.1, + "unit": "g" + }, + "carbs": { + "value": 1.87, + "unit": "g" + }, + "fat": { + "value": 39.8, + "unit": "g" + }, + "sodium": { + "value": 485, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "cup", + "portion-gweight": 85.0 + }, + { + "portion-value": 1.0, + "portion-abbr": "tbsp", + "portion-gweight": 5.0 + }, + { + "portion-value": 1.0, + "portion-abbr": "oz", + "portion-gweight": 28.4 + } + ] + }, + { + "name": "raw yolk egg", + "fdcId": 329596, + "category": "Dairy and Egg Products", + "calories": { + "value": 297, + "unit": "kcal" + }, + "protein": { + "value": 15.6, + "unit": "g" + }, + "carbs": { + "value": 0.59, + "unit": "g" + }, + "fat": { + "value": 25.1, + "unit": "g" + }, + "sodium": { + "value": 66.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "oz", + "portion-gweight": 28.4 + } + ] + }, + { + "name": "dried yolk egg", + "fdcId": 329716, + "category": "Dairy and Egg Products", + "calories": { + "value": 654, + "unit": "kcal" + }, + "protein": { + "value": 34.2, + "unit": "g" + }, + "carbs": { + "value": 1.07, + "unit": "g" + }, + "fat": { + "value": 55.5, + "unit": "g" + }, + "sodium": { + "value": 149, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "tbsp", + "portion-gweight": 4.0 + }, + { + "portion-value": 1.0, + "portion-abbr": "cup", + "portion-gweight": 67.0 + }, + { + "portion-value": 1.0, + "portion-abbr": "oz", + "portion-gweight": 28.4 + } + ] + }, + { + "name": "plain greek yogurt", + "fdcId": 330137, + "category": "Dairy and Egg Products", + "calories": { + "value": 61.0, + "unit": "kcal" + }, + "protein": { + "value": 10.3, + "unit": "g" + }, + "carbs": { + "value": 3.64, + "unit": "g" + }, + "fat": { + "value": 0.37, + "unit": "g" + }, + "sodium": { + "value": 36.0, + "unit": "mg" + }, + "sugars": { + "value": 3.27, + "unit": "g" + }, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "container", + "portion-gweight": 156.0 + } + ] + }, + { + "name": "strawberry greek yogurt", + "fdcId": 330415, + "category": "Dairy and Egg Products", + "calories": { + "value": 83.0, + "unit": "kcal" + }, + "protein": { + "value": 8.06, + "unit": "g" + }, + "carbs": { + "value": 12.2, + "unit": "g" + }, + "fat": { + "value": 0.15, + "unit": "g" + }, + "sodium": { + "value": 32.0, + "unit": "mg" + }, + "sugars": { + "value": 11.5, + "unit": "g" + }, + "fiber": { + "value": 0.6, + "unit": "g" + }, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "container", + "portion-gweight": 150.0 + } + ] + }, + { + "name": "coconut oil", + "fdcId": 330458, + "category": "Fats and Oils", + "calories": { + "value": 833, + "unit": "kcal" + }, + "protein": { + "value": 0.0, + "unit": "g" + }, + "carbs": { + "value": 0.84, + "unit": "g" + }, + "fat": { + "value": 99.1, + "unit": "g" + }, + "sodium": { + "value": 0.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "tbsp", + "portion-gweight": 11.6 + } + ] + }, + { + "name": "drumstick broilers or fryers chicken", + "fdcId": 331897, + "category": "Poultry Products", + "calories": { + "value": 156, + "unit": "kcal" + }, + "protein": { + "value": 23.9, + "unit": "g" + }, + "carbs": { + "value": 0.0, + "unit": "g" + }, + "fat": { + "value": 5.95, + "unit": "g" + }, + "sodium": { + "value": 117, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "drumstick", + "portion-gweight": 104.0 + }, + { + "portion-value": 1.0, + "portion-abbr": "drumstick", + "portion-gweight": 94.7 + } + ] + }, + { + "name": "breast broiler or fryers chicken", + "fdcId": 331960, + "category": "Poultry Products", + "calories": { + "value": 166, + "unit": "kcal" + }, + "protein": { + "value": 32.1, + "unit": "g" + }, + "carbs": { + "value": 0.0, + "unit": "g" + }, + "fat": { + "value": 3.24, + "unit": "g" + }, + "sodium": { + "value": 47.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "piece", + "portion-gweight": 174.0 + } + ] + }, + { + "name": "spaghetti/marinara pasta sauce", + "fdcId": 332282, + "category": "Soups, Sauces, and Gravies", + "calories": { + "value": 45.0, + "unit": "kcal" + }, + "protein": { + "value": 1.41, + "unit": "g" + }, + "carbs": { + "value": 8.05, + "unit": "g" + }, + "fat": { + "value": 1.48, + "unit": "g" + }, + "sodium": { + "value": 419, + "unit": "mg" + }, + "sugars": { + "value": 5.5, + "unit": "g" + }, + "fiber": { + "value": 1.8, + "unit": "g" + }, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "serving", + "portion-gweight": 135.0 + } + ] + }, + { + "name": "pre-packaged sliced ham", + "fdcId": 332397, + "category": "Sausages and Luncheon Meats", + "calories": { + "value": 106, + "unit": "kcal" + }, + "protein": { + "value": 16.7, + "unit": "g" + }, + "carbs": { + "value": 0.27, + "unit": "g" + }, + "fat": { + "value": 3.73, + "unit": "g" + }, + "sodium": { + "value": 1040.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "slice", + "portion-gweight": 13.5 + } + ] + }, + { + "name": "manzanilla green olives", + "fdcId": 332791, + "category": "Fruits and Fruit Juices", + "calories": { + "value": 130, + "unit": "kcal" + }, + "protein": { + "value": 1.15, + "unit": "g" + }, + "carbs": { + "value": 4.96, + "unit": "g" + }, + "fat": { + "value": 12.9, + "unit": "g" + }, + "sodium": { + "value": 1620.0, + "unit": "mg" + }, + "sugars": { + "value": 0.0, + "unit": "g" + }, + "fiber": { + "value": 4.0, + "unit": "g" + }, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "olive", + "portion-gweight": 3.2 + } + ] + }, + { + "name": "soft oatmeal cookies", + "fdcId": 333008, + "category": "Baked Products", + "calories": {}, + "protein": { + "value": 5.79, + "unit": "g" + }, + "carbs": { + "value": 69.6, + "unit": "g" + }, + "fat": { + "value": 14.3, + "unit": "g" + }, + "sodium": { + "value": 314, + "unit": "mg" + }, + "sugars": { + "value": 34.8, + "unit": "g" + }, + "fiber": { + "value": 3.3, + "unit": "g" + }, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "cookie", + "portion-gweight": 27.0 + } + ] + }, + { + "name": "red canned tomatoes", + "fdcId": 333281, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 18.0, + "unit": "kcal" + }, + "protein": { + "value": 0.84, + "unit": "g" + }, + "carbs": { + "value": 3.32, + "unit": "g" + }, + "fat": { + "value": 0.5, + "unit": "g" + }, + "sodium": { + "value": 125, + "unit": "mg" + }, + "sugars": { + "value": 2.99, + "unit": "g" + }, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "cup", + "portion-gweight": 245.0 + } + ] + }, + { + "name": "raw haddock fish", + "fdcId": 333374, + "category": "Finfish and Shellfish Products", + "calories": { + "value": 74.0, + "unit": "kcal" + }, + "protein": { + "value": 16.3, + "unit": "g" + }, + "carbs": { + "value": 0.0, + "unit": "g" + }, + "fat": { + "value": 0.45, + "unit": "g" + }, + "sodium": { + "value": 213, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "fillet", + "portion-gweight": 176.0 + } + ] + }, + { + "name": "raw pollock fish", + "fdcId": 333476, + "category": "Finfish and Shellfish Products", + "calories": { + "value": 56.0, + "unit": "kcal" + }, + "protein": { + "value": 12.3, + "unit": "g" + }, + "carbs": { + "value": 0.0, + "unit": "g" + }, + "fat": { + "value": 0.41, + "unit": "g" + }, + "sodium": { + "value": 333, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "fillet", + "portion-gweight": 177.0 + } + ] + }, + { + "name": "light tuna fish", + "fdcId": 334194, + "category": "Finfish and Shellfish Products", + "calories": { + "value": 90.0, + "unit": "kcal" + }, + "protein": { + "value": 19.0, + "unit": "g" + }, + "carbs": { + "value": 0.08, + "unit": "g" + }, + "fat": { + "value": 0.94, + "unit": "g" + }, + "sodium": { + "value": 219, + "unit": "mg" + }, + "sugars": { + "value": 0.0, + "unit": "g" + }, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "can", + "portion-gweight": 142.0 + }, + { + "portion-value": 1.0, + "portion-abbr": "can", + "portion-gweight": 107.0 + } + ] + }, + { + "name": "whole-wheat bread", + "fdcId": 335240, + "category": "Baked Products", + "calories": {}, + "protein": { + "value": 12.3, + "unit": "g" + }, + "carbs": { + "value": 43.1, + "unit": "g" + }, + "fat": { + "value": 3.55, + "unit": "g" + }, + "sodium": { + "value": 450, + "unit": "mg" + }, + "sugars": { + "value": 4.41, + "unit": "g" + }, + "fiber": { + "value": 6.0, + "unit": "g" + }, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "slice", + "portion-gweight": 32.1 + } + ] + }, + { + "name": "tenderloin roast loin beef", + "fdcId": 746758, + "category": "Beef Products", + "calories": { + "value": 176, + "unit": "kcal" + }, + "protein": { + "value": 27.7, + "unit": "g" + }, + "carbs": { + "value": 0.0, + "unit": "g" + }, + "fat": { + "value": 6.36, + "unit": "g" + }, + "sodium": { + "value": 54.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "roast", + "portion-gweight": 462.0 + } + ] + }, + { + "name": "top loin steak loin beef", + "fdcId": 746759, + "category": "Beef Products", + "calories": { + "value": 155, + "unit": "kcal" + }, + "protein": { + "value": 22.8, + "unit": "g" + }, + "carbs": { + "value": 0.0, + "unit": "g" + }, + "fat": { + "value": 6.39, + "unit": "g" + }, + "sodium": { + "value": 45.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "steak", + "portion-gweight": 284.0 + } + ] + }, + { + "name": "eye of round roast round beef", + "fdcId": 746760, + "category": "Beef Products", + "calories": { + "value": 122, + "unit": "kcal" + }, + "protein": { + "value": 23.4, + "unit": "g" + }, + "carbs": { + "value": 0.0, + "unit": "g" + }, + "fat": { + "value": 2.48, + "unit": "g" + }, + "sodium": { + "value": 50.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "roast", + "portion-gweight": 690.0 + } + ] + }, + { + "name": "top round roast round beef", + "fdcId": 746761, + "category": "Beef Products", + "calories": { + "value": 123, + "unit": "kcal" + }, + "protein": { + "value": 23.7, + "unit": "g" + }, + "carbs": { + "value": 0.0, + "unit": "g" + }, + "fat": { + "value": 2.41, + "unit": "g" + }, + "sodium": { + "value": 55.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "roast", + "portion-gweight": 788.0 + } + ] + }, + { + "name": "porterhouse steak short loin beef", + "fdcId": 746762, + "category": "Beef Products", + "calories": { + "value": 145, + "unit": "kcal" + }, + "protein": { + "value": 22.7, + "unit": "g" + }, + "carbs": { + "value": 0.0, + "unit": "g" + }, + "fat": { + "value": 5.32, + "unit": "g" + }, + "sodium": { + "value": 43.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "steak", + "portion-gweight": 525.0 + } + ] + }, + { + "name": "t-bone steak short loin beef", + "fdcId": 746763, + "category": "Beef Products", + "calories": { + "value": 219, + "unit": "kcal" + }, + "protein": { + "value": 27.3, + "unit": "g" + }, + "carbs": { + "value": 0.0, + "unit": "g" + }, + "fat": { + "value": 11.4, + "unit": "g" + }, + "sodium": { + "value": 67.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "steak", + "portion-gweight": 360.0 + } + ] + }, + { + "name": "unprepared frozen carrots", + "fdcId": 746764, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 37.0, + "unit": "kcal" + }, + "protein": { + "value": 0.81, + "unit": "g" + }, + "carbs": { + "value": 7.92, + "unit": "g" + }, + "fat": { + "value": 0.47, + "unit": "g" + }, + "sodium": { + "value": 66.0, + "unit": "mg" + }, + "sugars": { + "value": 4.2, + "unit": "g" + }, + "fiber": { + "value": 3.2, + "unit": "g" + }, + "portions": [] + }, + { + "name": "queso seco dry white cheese", + "fdcId": 746765, + "category": "Dairy and Egg Products", + "calories": { + "value": 326, + "unit": "kcal" + }, + "protein": { + "value": 24.5, + "unit": "g" + }, + "carbs": { + "value": 2.07, + "unit": "g" + }, + "fat": { + "value": 24.3, + "unit": "g" + }, + "sodium": { + "value": 1810.0, + "unit": "mg" + }, + "sugars": { + "value": 0.43, + "unit": "g" + }, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "cup", + "portion-gweight": 97.3 + } + ] + }, + { + "name": "whole milk ricotta cheese", + "fdcId": 746766, + "category": "Dairy and Egg Products", + "calories": { + "value": 157, + "unit": "kcal" + }, + "protein": { + "value": 7.81, + "unit": "g" + }, + "carbs": { + "value": 6.86, + "unit": "g" + }, + "fat": { + "value": 11.0, + "unit": "g" + }, + "sodium": { + "value": 105, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [ + { + "portion-value": 0.2, + "portion-abbr": "cup", + "portion-gweight": 64.6 + }, + { + "portion-value": 1.0, + "portion-abbr": "cup", + "portion-gweight": 258.0 + }, + { + "portion-value": 0.5, + "portion-abbr": "cup", + "portion-gweight": 129.0 + } + ] + }, + { + "name": "swiss cheese", + "fdcId": 746767, + "category": "Dairy and Egg Products", + "calories": { + "value": 393, + "unit": "kcal" + }, + "protein": { + "value": 27.0, + "unit": "g" + }, + "carbs": { + "value": 1.44, + "unit": "g" + }, + "fat": { + "value": 31.0, + "unit": "g" + }, + "sodium": { + "value": 185, + "unit": "mg" + }, + "sugars": { + "value": 0.0, + "unit": "g" + }, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "slice", + "portion-gweight": 21.9 + }, + { + "portion-value": 1.0, + "portion-abbr": "slice", + "portion-gweight": 10.9 + } + ] + }, + { + "name": "uncooked dried figs", + "fdcId": 746768, + "category": "Fruits and Fruit Juices", + "calories": { + "value": 249, + "unit": "kcal" + }, + "protein": { + "value": 3.3, + "unit": "g" + }, + "carbs": { + "value": 63.9, + "unit": "g" + }, + "fat": { + "value": 0.92, + "unit": "g" + }, + "sodium": { + "value": 10.0, + "unit": "mg" + }, + "sugars": { + "value": 47.9, + "unit": "g" + }, + "fiber": { + "value": 9.8, + "unit": "g" + }, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "each", + "portion-gweight": 8.4 + }, + { + "portion-value": 1.0, + "portion-abbr": "cup", + "portion-gweight": 149.0 + } + ] + }, + { + "name": "raw cos or romaine lettuce", + "fdcId": 746769, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 17.0, + "unit": "kcal" + }, + "protein": { + "value": 1.24, + "unit": "g" + }, + "carbs": { + "value": 3.24, + "unit": "g" + }, + "fat": { + "value": 0.26, + "unit": "g" + }, + "sodium": {}, + "sugars": { + "value": 1.19, + "unit": "g" + }, + "fiber": { + "value": 1.8, + "unit": "g" + }, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "bunch", + "portion-gweight": 581.0 + } + ] + }, + { + "name": "raw cantaloupe melons", + "fdcId": 746770, + "category": "Fruits and Fruit Juices", + "calories": { + "value": 34.0, + "unit": "kcal" + }, + "protein": { + "value": 0.82, + "unit": "g" + }, + "carbs": { + "value": 8.16, + "unit": "g" + }, + "fat": { + "value": 0.18, + "unit": "g" + }, + "sodium": { + "value": 30.0, + "unit": "mg" + }, + "sugars": { + "value": 7.88, + "unit": "g" + }, + "fiber": { + "value": 0.8, + "unit": "g" + }, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "wedge", + "portion-gweight": 69.0 + }, + { + "portion-value": 1.0, + "portion-abbr": "wedge", + "portion-gweight": 102.0 + }, + { + "portion-value": 1.0, + "portion-abbr": "each", + "portion-gweight": 441.0 + }, + { + "portion-value": 1.0, + "portion-abbr": "each", + "portion-gweight": 814.0 + }, + { + "portion-value": 1.0, + "portion-abbr": "cup", + "portion-gweight": 160.0 + }, + { + "portion-value": 10.0, + "portion-abbr": "pieces", + "portion-gweight": 138.0 + }, + { + "portion-value": 1.0, + "portion-abbr": "cup", + "portion-gweight": 156.0 + }, + { + "portion-value": 1.0, + "portion-abbr": "each", + "portion-gweight": 552.0 + }, + { + "portion-value": 1.0, + "portion-abbr": "wedge", + "portion-gweight": 55.0 + } + ] + }, + { + "name": "navels raw oranges", + "fdcId": 746771, + "category": "Fruits and Fruit Juices", + "calories": { + "value": 47.0, + "unit": "kcal" + }, + "protein": { + "value": 0.91, + "unit": "g" + }, + "carbs": { + "value": 11.8, + "unit": "g" + }, + "fat": { + "value": 0.15, + "unit": "g" + }, + "sodium": { + "value": 9.0, + "unit": "mg" + }, + "sugars": { + "value": 8.57, + "unit": "g" + }, + "fiber": { + "value": 2.0, + "unit": "g" + }, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "cup", + "portion-gweight": 165.0 + }, + { + "portion-value": 1.0, + "portion-abbr": "each", + "portion-gweight": 140.0 + } + ] + }, + { + "name": "fluid lowfat milk", + "fdcId": 746772, + "category": "Dairy and Egg Products", + "calories": { + "value": 43.0, + "unit": "kcal" + }, + "protein": { + "value": 3.38, + "unit": "g" + }, + "carbs": { + "value": 5.18, + "unit": "g" + }, + "fat": { + "value": 0.95, + "unit": "g" + }, + "sodium": { + "value": 39.0, + "unit": "mg" + }, + "sugars": { + "value": 4.96, + "unit": "g" + }, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "cup", + "portion-gweight": 246.0 + } + ] + }, + { + "name": "bartlett raw pears", + "fdcId": 746773, + "category": "Fruits and Fruit Juices", + "calories": { + "value": 57.0, + "unit": "kcal" + }, + "protein": { + "value": 0.38, + "unit": "g" + }, + "carbs": { + "value": 15.1, + "unit": "g" + }, + "fat": { + "value": 0.16, + "unit": "g" + }, + "sodium": { + "value": 7.0, + "unit": "mg" + }, + "sugars": { + "value": 9.69, + "unit": "g" + }, + "fiber": { + "value": 3.1, + "unit": "g" + }, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "cup", + "portion-gweight": 140.0 + }, + { + "portion-value": 1.0, + "portion-abbr": "each", + "portion-gweight": 178.0 + }, + { + "portion-value": 1.0, + "portion-abbr": "each", + "portion-gweight": 230.0 + }, + { + "portion-value": 1.0, + "portion-abbr": "each", + "portion-gweight": 148.0 + } + ] + }, + { + "name": "iodized table salt", + "fdcId": 746775, + "category": "Spices and Herbs", + "calories": {}, + "protein": {}, + "carbs": {}, + "fat": {}, + "sodium": { + "value": 38700.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "tsp", + "portion-gweight": 6.1 + } + ] + }, + { + "name": "fluid nonfat milk", + "fdcId": 746776, + "category": "Dairy and Egg Products", + "calories": { + "value": 34.0, + "unit": "kcal" + }, + "protein": { + "value": 3.43, + "unit": "g" + }, + "carbs": { + "value": 4.92, + "unit": "g" + }, + "fat": { + "value": 0.08, + "unit": "g" + }, + "sodium": { + "value": 41.0, + "unit": "mg" + }, + "sugars": { + "value": 5.05, + "unit": "g" + }, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "cup", + "portion-gweight": 246.0 + } + ] + }, + { + "name": "ready-to-serve salsa sauce", + "fdcId": 746777, + "category": "Soups, Sauces, and Gravies", + "calories": { + "value": 29.0, + "unit": "kcal" + }, + "protein": { + "value": 1.44, + "unit": "g" + }, + "carbs": { + "value": 6.74, + "unit": "g" + }, + "fat": { + "value": 0.19, + "unit": "g" + }, + "sodium": { + "value": 656, + "unit": "mg" + }, + "sugars": { + "value": 3.81, + "unit": "g" + }, + "fiber": { + "value": 1.8, + "unit": "g" + }, + "portions": [ + { + "portion-value": 2.0, + "portion-abbr": "tbsp", + "portion-gweight": 35.7 + } + ] + }, + { + "name": "fluid reduced fat milk", + "fdcId": 746778, + "category": "Dairy and Egg Products", + "calories": { + "value": 50.0, + "unit": "kcal" + }, + "protein": { + "value": 3.36, + "unit": "g" + }, + "carbs": { + "value": 4.9, + "unit": "g" + }, + "fat": { + "value": 1.9, + "unit": "g" + }, + "sodium": { + "value": 39.0, + "unit": "mg" + }, + "sugars": { + "value": 4.89, + "unit": "g" + }, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "cup", + "portion-gweight": 245.0 + } + ] + }, + { + "name": "beef breakfast sausage sausage", + "fdcId": 746779, + "category": "Sausages and Luncheon Meats", + "calories": { + "value": 346, + "unit": "kcal" + }, + "protein": { + "value": 13.3, + "unit": "g" + }, + "carbs": { + "value": 3.37, + "unit": "g" + }, + "fat": { + "value": 28.7, + "unit": "g" + }, + "sodium": { + "value": 866, + "unit": "mg" + }, + "sugars": { + "value": 1.0, + "unit": "g" + }, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "link", + "portion-gweight": 18.6 + } + ] + }, + { + "name": "pork italian sausage", + "fdcId": 746780, + "category": "Sausages and Luncheon Meats", + "calories": { + "value": 322, + "unit": "kcal" + }, + "protein": { + "value": 18.2, + "unit": "g" + }, + "carbs": { + "value": 2.15, + "unit": "g" + }, + "fat": { + "value": 26.2, + "unit": "g" + }, + "sodium": { + "value": 766, + "unit": "mg" + }, + "sugars": { + "value": 1.46, + "unit": "g" + }, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "link", + "portion-gweight": 86.6 + } + ] + }, + { + "name": "chorizo pork sausage", + "fdcId": 746781, + "category": "Sausages and Luncheon Meats", + "calories": {}, + "protein": { + "value": 19.3, + "unit": "g" + }, + "carbs": { + "value": 2.63, + "unit": "g" + }, + "fat": { + "value": 28.1, + "unit": "g" + }, + "sodium": { + "value": 983, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "link", + "portion-gweight": 186.0 + }, + { + "portion-value": 1.0, + "portion-abbr": "cup", + "portion-gweight": 185.0 + }, + { + "portion-value": 1.0, + "portion-abbr": "link", + "portion-gweight": 80.4 + } + ] + }, + { + "name": "3.25% milkfat whole milk", + "fdcId": 746782, + "category": "Dairy and Egg Products", + "calories": { + "value": 60.0, + "unit": "kcal" + }, + "protein": { + "value": 3.27, + "unit": "g" + }, + "carbs": { + "value": 4.63, + "unit": "g" + }, + "fat": { + "value": 3.2, + "unit": "g" + }, + "sodium": { + "value": 38.0, + "unit": "mg" + }, + "sugars": { + "value": 4.81, + "unit": "g" + }, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "cup", + "portion-gweight": 249.0 + } + ] + }, + { + "name": "breakfast links turkey sausage", + "fdcId": 746783, + "category": "Sausages and Luncheon Meats", + "calories": { + "value": 169, + "unit": "kcal" + }, + "protein": { + "value": 16.7, + "unit": "g" + }, + "carbs": { + "value": 0.93, + "unit": "g" + }, + "fat": { + "value": 10.4, + "unit": "g" + }, + "sodium": { + "value": 599, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "package", + "portion-gweight": 450.0 + }, + { + "portion-value": 1.0, + "portion-abbr": "link", + "portion-gweight": 27.9 + } + ] + }, + { + "name": "granulated sugars", + "fdcId": 746784, + "category": "Sweets", + "calories": { + "value": 385, + "unit": "kcal" + }, + "protein": { + "value": 0.0, + "unit": "g" + }, + "carbs": { + "value": 99.6, + "unit": "g" + }, + "fat": { + "value": 0.32, + "unit": "g" + }, + "sodium": { + "value": 1.0, + "unit": "mg" + }, + "sugars": { + "value": 99.8, + "unit": "g" + }, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "tsp", + "portion-gweight": 4.0 + }, + { + "portion-value": 1.0, + "portion-abbr": "cup", + "portion-gweight": 188.0 + } + ] + }, + { + "name": "93% lean ground turkey", + "fdcId": 746785, + "category": "Poultry Products", + "calories": { + "value": 220, + "unit": "kcal" + }, + "protein": { + "value": 27.1, + "unit": "g" + }, + "carbs": { + "value": 0.0, + "unit": "g" + }, + "fat": { + "value": 11.6, + "unit": "g" + }, + "sodium": { + "value": 90.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "ckd pr g", + "portion-gweight": 155.0 + } + ] + }, + { + "name": "restaurant sliced ham", + "fdcId": 746952, + "category": "Pork Products", + "calories": { + "value": 126, + "unit": "kcal" + }, + "protein": { + "value": 19.6, + "unit": "g" + }, + "carbs": { + "value": 2.36, + "unit": "g" + }, + "fat": { + "value": 3.68, + "unit": "g" + }, + "sodium": { + "value": 1030.0, + "unit": "mg" + }, + "sugars": { + "value": 2.2, + "unit": "g" + }, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "slice", + "portion-gweight": 16.2 + } + ] + }, + { + "name": "restaurant american cheese", + "fdcId": 747429, + "category": "Dairy and Egg Products", + "calories": { + "value": 373, + "unit": "kcal" + }, + "protein": { + "value": 17.5, + "unit": "g" + }, + "carbs": { + "value": 6.35, + "unit": "g" + }, + "fat": { + "value": 31.1, + "unit": "g" + }, + "sodium": { + "value": 1600.0, + "unit": "mg" + }, + "sugars": { + "value": 3.76, + "unit": "g" + }, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "slice", + "portion-gweight": 16.0 + } + ] + }, + { + "name": "medium red (0% moisture) dry beans", + "fdcId": 747430, + "category": "Legumes and Legume Products", + "calories": {}, + "protein": { + "value": 25.5, + "unit": "g" + }, + "carbs": {}, + "fat": { + "value": 1.04, + "unit": "g" + }, + "sodium": {}, + "sugars": {}, + "fiber": { + "value": 4.3, + "unit": "g" + }, + "portions": [] + }, + { + "name": "red (0% moisture) dry beans", + "fdcId": 747431, + "category": "Legumes and Legume Products", + "calories": {}, + "protein": { + "value": 21.3, + "unit": "g" + }, + "carbs": {}, + "fat": { + "value": 1.16, + "unit": "g" + }, + "sodium": {}, + "sugars": {}, + "fiber": { + "value": 4.0, + "unit": "g" + }, + "portions": [] + }, + { + "name": "flor de mayo (0% moisture) dry beans", + "fdcId": 747432, + "category": "Legumes and Legume Products", + "calories": {}, + "protein": { + "value": 23.3, + "unit": "g" + }, + "carbs": {}, + "fat": { + "value": 0.86, + "unit": "g" + }, + "sodium": {}, + "sugars": {}, + "fiber": { + "value": 4.0, + "unit": "g" + }, + "portions": [] + }, + { + "name": "brown (0% moisture) dry beans", + "fdcId": 747433, + "category": "Legumes and Legume Products", + "calories": {}, + "protein": { + "value": 25.6, + "unit": "g" + }, + "carbs": {}, + "fat": { + "value": 1.12, + "unit": "g" + }, + "sodium": {}, + "sugars": {}, + "fiber": { + "value": 4.1, + "unit": "g" + }, + "portions": [] + }, + { + "name": "tan (0% moisture) dry beans", + "fdcId": 747434, + "category": "Legumes and Legume Products", + "calories": {}, + "protein": { + "value": 26.8, + "unit": "g" + }, + "carbs": {}, + "fat": { + "value": 1.14, + "unit": "g" + }, + "sodium": {}, + "sugars": {}, + "fiber": { + "value": 4.4, + "unit": "g" + }, + "portions": [] + }, + { + "name": "light tan (0% moisture) dry beans", + "fdcId": 747435, + "category": "Legumes and Legume Products", + "calories": {}, + "protein": { + "value": 24.6, + "unit": "g" + }, + "carbs": {}, + "fat": { + "value": 1.28, + "unit": "g" + }, + "sodium": {}, + "sugars": {}, + "fiber": { + "value": 4.3, + "unit": "g" + }, + "portions": [] + }, + { + "name": "carioca (0% moisture) dry beans", + "fdcId": 747436, + "category": "Legumes and Legume Products", + "calories": {}, + "protein": { + "value": 25.2, + "unit": "g" + }, + "carbs": {}, + "fat": { + "value": 1.44, + "unit": "g" + }, + "sodium": {}, + "sugars": {}, + "fiber": { + "value": 4.5, + "unit": "g" + }, + "portions": [] + }, + { + "name": "cranberry (0% moisture) dry beans", + "fdcId": 747437, + "category": "Legumes and Legume Products", + "calories": {}, + "protein": { + "value": 24.4, + "unit": "g" + }, + "carbs": {}, + "fat": { + "value": 1.23, + "unit": "g" + }, + "sodium": {}, + "sugars": {}, + "fiber": { + "value": 4.3, + "unit": "g" + }, + "portions": [] + }, + { + "name": "light red kidney (0% moisture) dry beans", + "fdcId": 747438, + "category": "Legumes and Legume Products", + "calories": {}, + "protein": { + "value": 25.0, + "unit": "g" + }, + "carbs": {}, + "fat": { + "value": 1.03, + "unit": "g" + }, + "sodium": {}, + "sugars": {}, + "fiber": { + "value": 4.5, + "unit": "g" + }, + "portions": [] + }, + { + "name": "pink (0% moisture) dry beans", + "fdcId": 747439, + "category": "Legumes and Legume Products", + "calories": {}, + "protein": { + "value": 23.4, + "unit": "g" + }, + "carbs": {}, + "fat": { + "value": 1.2, + "unit": "g" + }, + "sodium": {}, + "sugars": {}, + "fiber": { + "value": 4.1, + "unit": "g" + }, + "portions": [] + }, + { + "name": "dark red kidney (0% moisture) dry beans", + "fdcId": 747440, + "category": "Legumes and Legume Products", + "calories": {}, + "protein": { + "value": 25.9, + "unit": "g" + }, + "carbs": {}, + "fat": { + "value": 1.31, + "unit": "g" + }, + "sodium": {}, + "sugars": {}, + "fiber": { + "value": 4.3, + "unit": "g" + }, + "portions": [] + }, + { + "name": "navy (0% moisture) dry beans", + "fdcId": 747441, + "category": "Legumes and Legume Products", + "calories": {}, + "protein": { + "value": 24.1, + "unit": "g" + }, + "carbs": {}, + "fat": { + "value": 1.51, + "unit": "g" + }, + "sodium": {}, + "sugars": {}, + "fiber": { + "value": 4.3, + "unit": "g" + }, + "portions": [] + }, + { + "name": "small white (0% moisture) dry beans", + "fdcId": 747442, + "category": "Legumes and Legume Products", + "calories": {}, + "protein": { + "value": 24.5, + "unit": "g" + }, + "carbs": {}, + "fat": { + "value": 1.32, + "unit": "g" + }, + "sodium": {}, + "sugars": {}, + "fiber": { + "value": 4.3, + "unit": "g" + }, + "portions": [] + }, + { + "name": "small red (0% moisture) dry beans", + "fdcId": 747443, + "category": "Legumes and Legume Products", + "calories": {}, + "protein": { + "value": 23.5, + "unit": "g" + }, + "carbs": {}, + "fat": { + "value": 1.28, + "unit": "g" + }, + "sodium": {}, + "sugars": {}, + "fiber": { + "value": 4.1, + "unit": "g" + }, + "portions": [] + }, + { + "name": "black (0% moisture) dry beans", + "fdcId": 747444, + "category": "Legumes and Legume Products", + "calories": {}, + "protein": { + "value": 24.4, + "unit": "g" + }, + "carbs": {}, + "fat": { + "value": 1.45, + "unit": "g" + }, + "sodium": {}, + "sugars": {}, + "fiber": { + "value": 4.2, + "unit": "g" + }, + "portions": [] + }, + { + "name": "pinto (0% moisture) dry beans", + "fdcId": 747445, + "category": "Legumes and Legume Products", + "calories": {}, + "protein": { + "value": 23.7, + "unit": "g" + }, + "carbs": {}, + "fat": { + "value": 1.24, + "unit": "g" + }, + "sodium": {}, + "sugars": {}, + "fiber": { + "value": 4.1, + "unit": "g" + }, + "portions": [] + }, + { + "name": "great northern (0% moisture) dry beans", + "fdcId": 747446, + "category": "Legumes and Legume Products", + "calories": {}, + "protein": { + "value": 24.7, + "unit": "g" + }, + "carbs": {}, + "fat": { + "value": 1.24, + "unit": "g" + }, + "sodium": {}, + "sugars": {}, + "fiber": { + "value": 4.3, + "unit": "g" + }, + "portions": [] + }, + { + "name": "raw broccoli", + "fdcId": 747447, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 32.0, + "unit": "kcal" + }, + "protein": { + "value": 2.57, + "unit": "g" + }, + "carbs": { + "value": 6.27, + "unit": "g" + }, + "fat": { + "value": 0.34, + "unit": "g" + }, + "sodium": { + "value": 36.0, + "unit": "mg" + }, + "sugars": { + "value": 1.4, + "unit": "g" + }, + "fiber": { + "value": 2.4, + "unit": "g" + }, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "cup", + "portion-gweight": 76.0 + } + ] + }, + { + "name": "restaurant ketchup", + "fdcId": 747693, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 103, + "unit": "kcal" + }, + "protein": { + "value": 1.11, + "unit": "g" + }, + "carbs": { + "value": 26.8, + "unit": "g" + }, + "fat": { + "value": 0.55, + "unit": "g" + }, + "sodium": { + "value": 949, + "unit": "mg" + }, + "sugars": { + "value": 21.8, + "unit": "g" + }, + "fiber": {}, + "portions": [] + }, + { + "name": "large grade a eggs", + "fdcId": 747997, + "category": "Dairy and Egg Products", + "calories": { + "value": 55.0, + "unit": "kcal" + }, + "protein": { + "value": 10.7, + "unit": "g" + }, + "carbs": { + "value": 2.36, + "unit": "g" + }, + "fat": { + "value": 0.0, + "unit": "g" + }, + "sodium": {}, + "sugars": {}, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "egg", + "portion-gweight": 34.0 + } + ] + }, + { + "name": "large grade a eggs", + "fdcId": 748236, + "category": "Dairy and Egg Products", + "calories": { + "value": 334, + "unit": "kcal" + }, + "protein": { + "value": 16.2, + "unit": "g" + }, + "carbs": { + "value": 1.02, + "unit": "g" + }, + "fat": { + "value": 28.8, + "unit": "g" + }, + "sodium": {}, + "sugars": {}, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "egg", + "portion-gweight": 17.0 + } + ] + }, + { + "name": "canola oil", + "fdcId": 748278, + "category": "Fats and Oils", + "calories": {}, + "protein": {}, + "carbs": {}, + "fat": {}, + "sodium": {}, + "sugars": {}, + "fiber": {}, + "portions": [ + { + "portion-value": 100.0, + "portion-abbr": "ml", + "portion-gweight": 90.9 + } + ] + }, + { + "name": "corn oil", + "fdcId": 748323, + "category": "Fats and Oils", + "calories": {}, + "protein": {}, + "carbs": {}, + "fat": {}, + "sodium": {}, + "sugars": {}, + "fiber": {}, + "portions": [ + { + "portion-value": 100.0, + "portion-abbr": "ml", + "portion-gweight": 91.3 + } + ] + }, + { + "name": "soybean oil", + "fdcId": 748366, + "category": "Fats and Oils", + "calories": {}, + "protein": {}, + "carbs": {}, + "fat": {}, + "sodium": {}, + "sugars": {}, + "fiber": {}, + "portions": [ + { + "portion-value": 100.0, + "portion-abbr": "ml", + "portion-gweight": 91.3 + } + ] + }, + { + "name": "extra virgin olive oil", + "fdcId": 748608, + "category": "Fats and Oils", + "calories": {}, + "protein": {}, + "carbs": {}, + "fat": {}, + "sodium": {}, + "sugars": {}, + "fiber": {}, + "portions": [ + { + "portion-value": 100.0, + "portion-abbr": "ml", + "portion-gweight": 90.7 + } + ] + }, + { + "name": "large grade a eggs", + "fdcId": 748967, + "category": "Dairy and Egg Products", + "calories": { + "value": 147, + "unit": "kcal" + }, + "protein": { + "value": 12.4, + "unit": "g" + }, + "carbs": { + "value": 0.96, + "unit": "g" + }, + "fat": { + "value": 9.96, + "unit": "g" + }, + "sodium": { + "value": 129, + "unit": "mg" + }, + "sugars": { + "value": 0.2, + "unit": "g" + }, + "fiber": { + "value": 0.0, + "unit": "g" + }, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "egg", + "portion-gweight": 50.3 + } + ] + }, + { + "name": "bacon cured pork", + "fdcId": 749420, + "category": "Pork Products", + "calories": { + "value": 512, + "unit": "kcal" + }, + "protein": { + "value": 40.9, + "unit": "g" + }, + "carbs": { + "value": 2.1, + "unit": "g" + }, + "fat": { + "value": 36.5, + "unit": "g" + }, + "sodium": { + "value": 1830.0, + "unit": "mg" + }, + "sugars": { + "value": 3.14, + "unit": "g" + }, + "fiber": {}, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "slice", + "portion-gweight": 6.3 + } + ] + }, + { + "name": "unsalted stick butter", + "fdcId": 789828, + "category": "Dairy and Egg Products", + "calories": {}, + "protein": {}, + "carbs": {}, + "fat": { + "value": 81.5, + "unit": "g" + }, + "sodium": { + "value": 10.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [] + }, + { + "name": "all-purpose wheat flour", + "fdcId": 789890, + "category": "Cereal Grains and Pasta", + "calories": { + "value": 375, + "unit": "kcal" + }, + "protein": { + "value": 10.9, + "unit": "g" + }, + "carbs": { + "value": 77.3, + "unit": "g" + }, + "fat": { + "value": 1.48, + "unit": "g" + }, + "sodium": { + "value": 2.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [] + }, + { + "name": "all-purpose wheat flour", + "fdcId": 789951, + "category": "Cereal Grains and Pasta", + "calories": { + "value": 367, + "unit": "kcal" + }, + "protein": { + "value": 13.1, + "unit": "g" + }, + "carbs": { + "value": 73.2, + "unit": "g" + }, + "fat": { + "value": 1.48, + "unit": "g" + }, + "sodium": { + "value": 4.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [] + }, + { + "name": "all-purpose wheat flour", + "fdcId": 790018, + "category": "Cereal Grains and Pasta", + "calories": { + "value": 370, + "unit": "kcal" + }, + "protein": { + "value": 12.0, + "unit": "g" + }, + "carbs": { + "value": 74.6, + "unit": "g" + }, + "fat": { + "value": 1.7, + "unit": "g" + }, + "sodium": { + "value": 2.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 3.0, + "unit": "g" + }, + "portions": [] + }, + { + "name": "unenriched whole wheat flour", + "fdcId": 790085, + "category": "Cereal Grains and Pasta", + "calories": { + "value": 346, + "unit": "kcal" + }, + "protein": { + "value": 15.1, + "unit": "g" + }, + "carbs": { + "value": 71.2, + "unit": "g" + }, + "fat": { + "value": 2.73, + "unit": "g" + }, + "sodium": { + "value": 3.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 10.6, + "unit": "g" + }, + "portions": [] + }, + { + "name": "white bread flour", + "fdcId": 790146, + "category": "Cereal Grains and Pasta", + "calories": { + "value": 372, + "unit": "kcal" + }, + "protein": { + "value": 14.3, + "unit": "g" + }, + "carbs": { + "value": 72.8, + "unit": "g" + }, + "fat": { + "value": 1.65, + "unit": "g" + }, + "sodium": { + "value": 3.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [] + }, + { + "name": "white rice flour", + "fdcId": 790214, + "category": "Cereal Grains and Pasta", + "calories": { + "value": 369, + "unit": "kcal" + }, + "protein": { + "value": 6.94, + "unit": "g" + }, + "carbs": { + "value": 79.8, + "unit": "g" + }, + "fat": { + "value": 1.3, + "unit": "g" + }, + "sodium": { + "value": 5.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 0.5, + "unit": "g" + }, + "portions": [] + }, + { + "name": "yellow corn flour", + "fdcId": 790276, + "category": "Cereal Grains and Pasta", + "calories": { + "value": 372, + "unit": "kcal" + }, + "protein": { + "value": 6.2, + "unit": "g" + }, + "carbs": { + "value": 80.8, + "unit": "g" + }, + "fat": { + "value": 1.74, + "unit": "g" + }, + "sodium": { + "value": 0.0, + "unit": "mg" + }, + "sugars": { + "value": 1.04, + "unit": "g" + }, + "fiber": { + "value": 4.3, + "unit": "g" + }, + "portions": [] + }, + { + "name": "salted stick butter", + "fdcId": 790508, + "category": "Dairy and Egg Products", + "calories": {}, + "protein": {}, + "carbs": {}, + "fat": { + "value": 82.2, + "unit": "g" + }, + "sodium": { + "value": 524, + "unit": "mg" + }, + "sugars": { + "value": 0.58, + "unit": "g" + }, + "fiber": {}, + "portions": [] + }, + { + "name": "raw red onions", + "fdcId": 790577, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 42.0, + "unit": "kcal" + }, + "protein": { + "value": 0.94, + "unit": "g" + }, + "carbs": { + "value": 9.93, + "unit": "g" + }, + "fat": { + "value": 0.1, + "unit": "g" + }, + "sodium": { + "value": 1.0, + "unit": "mg" + }, + "sugars": { + "value": 5.76, + "unit": "g" + }, + "fiber": { + "value": 2.2, + "unit": "g" + }, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "Onion", + "portion-gweight": 197.0 + } + ] + }, + { + "name": "raw yellow onions", + "fdcId": 790646, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 36.0, + "unit": "kcal" + }, + "protein": { + "value": 0.83, + "unit": "g" + }, + "carbs": { + "value": 8.61, + "unit": "g" + }, + "fat": { + "value": 0.05, + "unit": "g" + }, + "sodium": { + "value": 1.0, + "unit": "mg" + }, + "sugars": { + "value": 5.82, + "unit": "g" + }, + "fiber": { + "value": 1.9, + "unit": "g" + }, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "Onion", + "portion-gweight": 143.0 + } + ] + }, + { + "name": "raw garlic", + "fdcId": 1104647, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 130, + "unit": "kcal" + }, + "protein": { + "value": 6.62, + "unit": "g" + }, + "carbs": { + "value": 28.2, + "unit": "g" + }, + "fat": { + "value": 0.38, + "unit": "g" + }, + "sodium": {}, + "sugars": {}, + "fiber": { + "value": 2.7, + "unit": "g" + }, + "portions": [] + }, + { + "name": "defatted soy flour", + "fdcId": 1104705, + "category": "Legumes and Legume Products", + "calories": { + "value": 339, + "unit": "kcal" + }, + "protein": { + "value": 51.1, + "unit": "g" + }, + "carbs": { + "value": 32.9, + "unit": "g" + }, + "fat": { + "value": 3.33, + "unit": "g" + }, + "sodium": { + "value": 2.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [] + }, + { + "name": "full-fat soy flour", + "fdcId": 1104766, + "category": "Legumes and Legume Products", + "calories": { + "value": 421, + "unit": "kcal" + }, + "protein": { + "value": 38.6, + "unit": "g" + }, + "carbs": { + "value": 27.9, + "unit": "g" + }, + "fat": { + "value": 20.7, + "unit": "g" + }, + "sodium": { + "value": 2.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [] + }, + { + "name": "brown rice flour", + "fdcId": 1104812, + "category": "Cereal Grains and Pasta", + "calories": { + "value": 368, + "unit": "kcal" + }, + "protein": { + "value": 7.19, + "unit": "g" + }, + "carbs": { + "value": 75.5, + "unit": "g" + }, + "fat": { + "value": 3.85, + "unit": "g" + }, + "sodium": { + "value": 1.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [] + }, + { + "name": "glutinous rice flour", + "fdcId": 1104867, + "category": "Cereal Grains and Pasta", + "calories": { + "value": 368, + "unit": "kcal" + }, + "protein": { + "value": 6.69, + "unit": "g" + }, + "carbs": { + "value": 80.1, + "unit": "g" + }, + "fat": { + "value": 1.16, + "unit": "g" + }, + "sodium": { + "value": 6.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [] + }, + { + "name": "unenriched pastry flour", + "fdcId": 1104913, + "category": "Cereal Grains and Pasta", + "calories": { + "value": 367, + "unit": "kcal" + }, + "protein": { + "value": 8.75, + "unit": "g" + }, + "carbs": { + "value": 77.2, + "unit": "g" + }, + "fat": { + "value": 1.64, + "unit": "g" + }, + "sodium": { + "value": 1.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [] + }, + { + "name": "raw white onions", + "fdcId": 1104962, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 33.0, + "unit": "kcal" + }, + "protein": { + "value": 0.89, + "unit": "g" + }, + "carbs": { + "value": 7.68, + "unit": "g" + }, + "fat": { + "value": 0.13, + "unit": "g" + }, + "sodium": { + "value": 2.0, + "unit": "mg" + }, + "sugars": { + "value": 5.76, + "unit": "g" + }, + "fiber": { + "value": 1.2, + "unit": "g" + }, + "portions": [] + }, + { + "name": "raw overripe bananas", + "fdcId": 1105073, + "category": "Fruits and Fruit Juices", + "calories": { + "value": 77.0, + "unit": "kcal" + }, + "protein": { + "value": 0.73, + "unit": "g" + }, + "carbs": { + "value": 20.1, + "unit": "g" + }, + "fat": { + "value": 0.22, + "unit": "g" + }, + "sodium": {}, + "sugars": { + "value": 15.8, + "unit": "g" + }, + "fiber": { + "value": 1.7, + "unit": "g" + }, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "Banana", + "portion-gweight": 110.0 + } + ] + }, + { + "name": "raw ripe and slightly ripe bananas", + "fdcId": 1105314, + "category": "Fruits and Fruit Juices", + "calories": { + "value": 88.0, + "unit": "kcal" + }, + "protein": { + "value": 0.74, + "unit": "g" + }, + "carbs": { + "value": 23.0, + "unit": "g" + }, + "fat": { + "value": 0.29, + "unit": "g" + }, + "sodium": { + "value": 0.0, + "unit": "mg" + }, + "sugars": { + "value": 15.8, + "unit": "g" + }, + "fiber": { + "value": 1.7, + "unit": "g" + }, + "portions": [ + { + "portion-value": 1.0, + "portion-abbr": "Banana", + "portion-gweight": 115.0 + } + ] + }, + { + "name": "red delicious apples", + "fdcId": 1750339, + "category": "Fruits and Fruit Juices", + "calories": { + "value": 55.6, + "unit": "kcal" + }, + "protein": { + "value": 0.188, + "unit": "g" + }, + "carbs": { + "value": 14.8, + "unit": "g" + }, + "fat": { + "value": 0.212, + "unit": "g" + }, + "sodium": { + "value": 0.0, + "unit": "mg" + }, + "sugars": { + "value": 12.2, + "unit": "g" + }, + "fiber": { + "value": 2.04, + "unit": "g" + }, + "portions": [] + }, + { + "name": "fuji apples", + "fdcId": 1750340, + "category": "Fruits and Fruit Juices", + "calories": { + "value": 58.2, + "unit": "kcal" + }, + "protein": { + "value": 0.148, + "unit": "g" + }, + "carbs": { + "value": 15.7, + "unit": "g" + }, + "fat": { + "value": 0.162, + "unit": "g" + }, + "sodium": { + "value": 1.01, + "unit": "mg" + }, + "sugars": { + "value": 13.3, + "unit": "g" + }, + "fiber": { + "value": 2.08, + "unit": "g" + }, + "portions": [] + }, + { + "name": "gala apples", + "fdcId": 1750341, + "category": "Fruits and Fruit Juices", + "calories": { + "value": 54.9, + "unit": "kcal" + }, + "protein": { + "value": 0.133, + "unit": "g" + }, + "carbs": { + "value": 14.8, + "unit": "g" + }, + "fat": { + "value": 0.15, + "unit": "g" + }, + "sodium": { + "value": 0.279, + "unit": "mg" + }, + "sugars": { + "value": 11.8, + "unit": "g" + }, + "fiber": { + "value": 2.11, + "unit": "g" + }, + "portions": [] + }, + { + "name": "granny smith apples", + "fdcId": 1750342, + "category": "Fruits and Fruit Juices", + "calories": { + "value": 53.0, + "unit": "kcal" + }, + "protein": { + "value": 0.266, + "unit": "g" + }, + "carbs": { + "value": 14.1, + "unit": "g" + }, + "fat": { + "value": 0.138, + "unit": "g" + }, + "sodium": { + "value": 0.0, + "unit": "mg" + }, + "sugars": { + "value": 10.7, + "unit": "g" + }, + "fiber": { + "value": 2.51, + "unit": "g" + }, + "portions": [] + }, + { + "name": "honeycrisp apples", + "fdcId": 1750343, + "category": "Fruits and Fruit Juices", + "calories": { + "value": 54.0, + "unit": "kcal" + }, + "protein": { + "value": 0.102, + "unit": "g" + }, + "carbs": { + "value": 14.7, + "unit": "g" + }, + "fat": { + "value": 0.1, + "unit": "g" + }, + "sodium": { + "value": 0.138, + "unit": "mg" + }, + "sugars": { + "value": 12.4, + "unit": "g" + }, + "fiber": { + "value": 1.72, + "unit": "g" + }, + "portions": [] + }, + { + "name": "peanut oil", + "fdcId": 1750348, + "category": "Fats and Oils", + "calories": {}, + "protein": {}, + "carbs": {}, + "fat": {}, + "sodium": {}, + "sugars": {}, + "fiber": {}, + "portions": [] + }, + { + "name": "sunflower oil", + "fdcId": 1750349, + "category": "Fats and Oils", + "calories": {}, + "protein": {}, + "carbs": {}, + "fat": {}, + "sodium": {}, + "sugars": {}, + "fiber": {}, + "portions": [] + }, + { + "name": "safflower oil", + "fdcId": 1750350, + "category": "Fats and Oils", + "calories": {}, + "protein": {}, + "carbs": {}, + "fat": {}, + "sodium": {}, + "sugars": {}, + "fiber": {}, + "portions": [] + }, + { + "name": "extra light olive oil", + "fdcId": 1750351, + "category": "Fats and Oils", + "calories": {}, + "protein": {}, + "carbs": {}, + "fat": {}, + "sodium": {}, + "sugars": {}, + "fiber": {}, + "portions": [] + }, + { + "name": "lion's mane mushroom", + "fdcId": 1999626, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 35.1, + "unit": "kcal" + }, + "protein": { + "value": 2.5, + "unit": "g" + }, + "carbs": { + "value": 7.59, + "unit": "g" + }, + "fat": { + "value": 0.256, + "unit": "g" + }, + "sodium": { + "value": 0.336, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 4.38, + "unit": "g" + }, + "portions": [] + }, + { + "name": "oyster mushroom", + "fdcId": 1999627, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 33.3, + "unit": "kcal" + }, + "protein": { + "value": 2.9, + "unit": "g" + }, + "carbs": { + "value": 6.94, + "unit": "g" + }, + "fat": { + "value": 0.188, + "unit": "g" + }, + "sodium": { + "value": 1.13, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 2.85, + "unit": "g" + }, + "portions": [] + }, + { + "name": "shiitake mushrooms", + "fdcId": 1999628, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 36.4, + "unit": "kcal" + }, + "protein": { + "value": 2.41, + "unit": "g" + }, + "carbs": { + "value": 8.17, + "unit": "g" + }, + "fat": { + "value": 0.195, + "unit": "g" + }, + "sodium": { + "value": 0.936, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 4.17, + "unit": "g" + }, + "portions": [] + }, + { + "name": "white button mushrooms", + "fdcId": 1999629, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 24.9, + "unit": "kcal" + }, + "protein": { + "value": 2.89, + "unit": "g" + }, + "carbs": { + "value": 4.08, + "unit": "g" + }, + "fat": { + "value": 0.371, + "unit": "g" + }, + "sodium": { + "value": 6.44, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 1.72, + "unit": "g" + }, + "portions": [] + }, + { + "name": "plain unsweetened soy milk", + "fdcId": 1999630, + "category": "Legumes and Legume Products", + "calories": { + "value": 38.5, + "unit": "kcal" + }, + "protein": { + "value": 3.55, + "unit": "g" + }, + "carbs": { + "value": 1.29, + "unit": "g" + }, + "fat": { + "value": 2.12, + "unit": "g" + }, + "sodium": { + "value": 34.3, + "unit": "mg" + }, + "sugars": { + "value": 0.557, + "unit": "g" + }, + "fiber": { + "value": 0.0, + "unit": "g" + }, + "portions": [] + }, + { + "name": "plain unsweetened almond milk", + "fdcId": 1999631, + "category": "Beverages", + "calories": { + "value": 14.6, + "unit": "kcal" + }, + "protein": { + "value": 0.555, + "unit": "g" + }, + "carbs": { + "value": 0.337, + "unit": "g" + }, + "fat": { + "value": 1.22, + "unit": "g" + }, + "sodium": { + "value": 59.6, + "unit": "mg" + }, + "sugars": { + "value": 0.0, + "unit": "g" + }, + "fiber": { + "value": 0.0, + "unit": "g" + }, + "portions": [] + }, + { + "name": "baby spinach", + "fdcId": 1999632, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 20.7, + "unit": "kcal" + }, + "protein": { + "value": 2.85, + "unit": "g" + }, + "carbs": { + "value": 2.41, + "unit": "g" + }, + "fat": { + "value": 0.619, + "unit": "g" + }, + "sodium": { + "value": 111, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 1.56, + "unit": "g" + }, + "portions": [] + }, + { + "name": "mature spinach", + "fdcId": 1999633, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 21.6, + "unit": "kcal" + }, + "protein": { + "value": 2.91, + "unit": "g" + }, + "carbs": { + "value": 2.64, + "unit": "g" + }, + "fat": { + "value": 0.604, + "unit": "g" + }, + "sodium": { + "value": 107, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 1.59, + "unit": "g" + }, + "portions": [] + }, + { + "name": "roma tomato", + "fdcId": 1999634, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 19.0, + "unit": "kcal" + }, + "protein": { + "value": 0.696, + "unit": "g" + }, + "carbs": { + "value": 3.84, + "unit": "g" + }, + "fat": { + "value": 0.425, + "unit": "g" + }, + "sodium": { + "value": 0.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 0.971, + "unit": "g" + }, + "portions": [] + }, + { + "name": "00 flour", + "fdcId": 2003586, + "category": "Cereal Grains and Pasta", + "calories": { + "value": 366, + "unit": "kcal" + }, + "protein": { + "value": 11.4, + "unit": "g" + }, + "carbs": { + "value": 74.4, + "unit": "g" + }, + "fat": { + "value": 1.52, + "unit": "g" + }, + "sodium": { + "value": 0.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 2.66, + "unit": "g" + }, + "portions": [] + }, + { + "name": "whole grain spelt flour", + "fdcId": 2003587, + "category": "Cereal Grains and Pasta", + "calories": { + "value": 341, + "unit": "kcal" + }, + "protein": { + "value": 14.5, + "unit": "g" + }, + "carbs": { + "value": 70.7, + "unit": "g" + }, + "fat": { + "value": 2.54, + "unit": "g" + }, + "sodium": { + "value": 0.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 9.34, + "unit": "g" + }, + "portions": [] + }, + { + "name": "coarse and semi-coarse semolina flour", + "fdcId": 2003588, + "category": "Cereal Grains and Pasta", + "calories": { + "value": 365, + "unit": "kcal" + }, + "protein": { + "value": 11.7, + "unit": "g" + }, + "carbs": { + "value": 73.8, + "unit": "g" + }, + "fat": { + "value": 1.6, + "unit": "g" + }, + "sodium": { + "value": 0.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 3.22, + "unit": "g" + }, + "portions": [] + }, + { + "name": "fine semolina flour", + "fdcId": 2003589, + "category": "Cereal Grains and Pasta", + "calories": { + "value": 366, + "unit": "kcal" + }, + "protein": { + "value": 13.3, + "unit": "g" + }, + "carbs": { + "value": 72.0, + "unit": "g" + }, + "fat": { + "value": 1.84, + "unit": "g" + }, + "sodium": { + "value": 0.426, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 3.68, + "unit": "g" + }, + "portions": [] + }, + { + "name": "apple juice", + "fdcId": 2003590, + "category": "Fruits and Fruit Juices", + "calories": { + "value": 47.2, + "unit": "kcal" + }, + "protein": { + "value": 0.086, + "unit": "g" + }, + "carbs": { + "value": 11.4, + "unit": "g" + }, + "fat": { + "value": 0.286, + "unit": "g" + }, + "sodium": { + "value": 4.87, + "unit": "mg" + }, + "sugars": { + "value": 10.3, + "unit": "g" + }, + "fiber": {}, + "portions": [] + }, + { + "name": "no pulp orange juice", + "fdcId": 2003591, + "category": "Fruits and Fruit Juices", + "calories": { + "value": 45.7, + "unit": "kcal" + }, + "protein": { + "value": 0.734, + "unit": "g" + }, + "carbs": { + "value": 10.3, + "unit": "g" + }, + "fat": { + "value": 0.325, + "unit": "g" + }, + "sodium": { + "value": 5.23, + "unit": "mg" + }, + "sugars": { + "value": 8.28, + "unit": "g" + }, + "fiber": {}, + "portions": [] + }, + { + "name": "purple grape juice", + "fdcId": 2003592, + "category": "Fruits and Fruit Juices", + "calories": { + "value": 64.5, + "unit": "kcal" + }, + "protein": { + "value": 0.258, + "unit": "g" + }, + "carbs": { + "value": 15.6, + "unit": "g" + }, + "fat": { + "value": 0.288, + "unit": "g" + }, + "sodium": { + "value": 4.02, + "unit": "mg" + }, + "sugars": { + "value": 14.0, + "unit": "g" + }, + "fiber": {}, + "portions": [] + }, + { + "name": "white grape juice", + "fdcId": 2003593, + "category": "Fruits and Fruit Juices", + "calories": { + "value": 64.6, + "unit": "kcal" + }, + "protein": { + "value": 0.094, + "unit": "g" + }, + "carbs": { + "value": 15.8, + "unit": "g" + }, + "fat": { + "value": 0.265, + "unit": "g" + }, + "sodium": { + "value": 7.19, + "unit": "mg" + }, + "sugars": { + "value": 14.4, + "unit": "g" + }, + "fiber": {}, + "portions": [] + }, + { + "name": "cranberry juice", + "fdcId": 2003594, + "category": "Fruits and Fruit Juices", + "calories": { + "value": 31.3, + "unit": "kcal" + }, + "protein": { + "value": 0.0, + "unit": "g" + }, + "carbs": { + "value": 7.26, + "unit": "g" + }, + "fat": { + "value": 0.338, + "unit": "g" + }, + "sodium": { + "value": 6.34, + "unit": "mg" + }, + "sugars": { + "value": 3.41, + "unit": "g" + }, + "fiber": {}, + "portions": [] + }, + { + "name": "red grapefruit juice", + "fdcId": 2003595, + "category": "Fruits and Fruit Juices", + "calories": { + "value": 39.8, + "unit": "kcal" + }, + "protein": { + "value": 0.57, + "unit": "g" + }, + "carbs": { + "value": 9.1, + "unit": "g" + }, + "fat": { + "value": 0.267, + "unit": "g" + }, + "sodium": { + "value": 1.03, + "unit": "mg" + }, + "sugars": { + "value": 7.12, + "unit": "g" + }, + "fiber": {}, + "portions": [] + }, + { + "name": "tomato juice", + "fdcId": 2003596, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 19.9, + "unit": "kcal" + }, + "protein": { + "value": 0.859, + "unit": "g" + }, + "carbs": { + "value": 4.32, + "unit": "g" + }, + "fat": { + "value": 0.288, + "unit": "g" + }, + "sodium": { + "value": 236, + "unit": "mg" + }, + "sugars": { + "value": 2.57, + "unit": "g" + }, + "fiber": {}, + "portions": [] + }, + { + "name": "no pulp orange juice", + "fdcId": 2003597, + "category": "Fruits and Fruit Juices", + "calories": { + "value": 45.0, + "unit": "kcal" + }, + "protein": { + "value": 0.812, + "unit": "g" + }, + "carbs": { + "value": 10.0, + "unit": "g" + }, + "fat": { + "value": 0.356, + "unit": "g" + }, + "sodium": { + "value": 0.075, + "unit": "mg" + }, + "sugars": { + "value": 8.08, + "unit": "g" + }, + "fiber": {}, + "portions": [] + }, + { + "name": "portabella mushroom", + "fdcId": 2003598, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 26.0, + "unit": "kcal" + }, + "protein": { + "value": 2.75, + "unit": "g" + }, + "carbs": { + "value": 4.66, + "unit": "g" + }, + "fat": { + "value": 0.312, + "unit": "g" + }, + "sodium": { + "value": 5.31, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 1.88, + "unit": "g" + }, + "portions": [] + }, + { + "name": "king oyster mushroom", + "fdcId": 2003599, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 38.5, + "unit": "kcal" + }, + "protein": { + "value": 2.41, + "unit": "g" + }, + "carbs": { + "value": 8.5, + "unit": "g" + }, + "fat": { + "value": 0.308, + "unit": "g" + }, + "sodium": { + "value": 0.771, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 3.01, + "unit": "g" + }, + "portions": [] + }, + { + "name": "enoki mushroom", + "fdcId": 2003600, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 36.7, + "unit": "kcal" + }, + "protein": { + "value": 2.42, + "unit": "g" + }, + "carbs": { + "value": 8.14, + "unit": "g" + }, + "fat": { + "value": 0.245, + "unit": "g" + }, + "sodium": { + "value": 0.417, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 2.94, + "unit": "g" + }, + "portions": [] + }, + { + "name": "crimini mushroom", + "fdcId": 2003601, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 23.7, + "unit": "kcal" + }, + "protein": { + "value": 3.09, + "unit": "g" + }, + "carbs": { + "value": 4.01, + "unit": "g" + }, + "fat": { + "value": 0.197, + "unit": "g" + }, + "sodium": { + "value": 4.57, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 1.78, + "unit": "g" + }, + "portions": [] + }, + { + "name": "maitake mushroom", + "fdcId": 2003602, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 31.0, + "unit": "kcal" + }, + "protein": { + "value": 2.2, + "unit": "g" + }, + "carbs": { + "value": 6.6, + "unit": "g" + }, + "fat": { + "value": 0.265, + "unit": "g" + }, + "sodium": { + "value": 0.345, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 3.07, + "unit": "g" + }, + "portions": [] + }, + { + "name": "beech mushroom", + "fdcId": 2003603, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 33.0, + "unit": "kcal" + }, + "protein": { + "value": 2.18, + "unit": "g" + }, + "carbs": { + "value": 6.76, + "unit": "g" + }, + "fat": { + "value": 0.449, + "unit": "g" + }, + "sodium": { + "value": 0.891, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 3.14, + "unit": "g" + }, + "portions": [] + }, + { + "name": "pioppini mushroom", + "fdcId": 2003604, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 31.2, + "unit": "kcal" + }, + "protein": { + "value": 3.5, + "unit": "g" + }, + "carbs": { + "value": 5.76, + "unit": "g" + }, + "fat": { + "value": 0.24, + "unit": "g" + }, + "sodium": { + "value": 0.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 2.75, + "unit": "g" + }, + "portions": [] + }, + { + "name": "plain sweetened soy milk", + "fdcId": 2257044, + "category": "Legumes and Legume Products", + "calories": {}, + "protein": { + "value": 2.78, + "unit": "g" + }, + "carbs": { + "value": 3.0, + "unit": "g" + }, + "fat": { + "value": 1.96, + "unit": "g" + }, + "sodium": { + "value": 39.4, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 0.0, + "unit": "g" + }, + "portions": [] + }, + { + "name": "plain unsweetened almond milk", + "fdcId": 2257045, + "category": "Beverages", + "calories": {}, + "protein": { + "value": 0.656, + "unit": "g" + }, + "carbs": { + "value": 0.671, + "unit": "g" + }, + "fat": { + "value": 1.56, + "unit": "g" + }, + "sodium": { + "value": 59.2, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 0.0, + "unit": "g" + }, + "portions": [] + }, + { + "name": "plain unsweetened oat milk", + "fdcId": 2257046, + "category": "Beverages", + "calories": {}, + "protein": { + "value": 0.797, + "unit": "g" + }, + "carbs": { + "value": 5.1, + "unit": "g" + }, + "fat": { + "value": 2.75, + "unit": "g" + }, + "sodium": { + "value": 42.0, + "unit": "mg" + }, + "sugars": { + "value": 2.32, + "unit": "g" + }, + "fiber": { + "value": 0.0, + "unit": "g" + }, + "portions": [] + }, + { + "name": "raw mature carrots", + "fdcId": 2258586, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 45.0, + "unit": "kcal" + }, + "protein": { + "value": 0.941, + "unit": "g" + }, + "carbs": { + "value": 10.3, + "unit": "g" + }, + "fat": { + "value": 0.351, + "unit": "g" + }, + "sodium": { + "value": 86.6, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 3.1, + "unit": "g" + }, + "portions": [] + }, + { + "name": "raw baby carrots", + "fdcId": 2258587, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 38.3, + "unit": "kcal" + }, + "protein": { + "value": 0.805, + "unit": "g" + }, + "carbs": { + "value": 9.08, + "unit": "g" + }, + "fat": { + "value": 0.138, + "unit": "g" + }, + "sodium": { + "value": 62.7, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 2.69, + "unit": "g" + }, + "portions": [] + }, + { + "name": "green bell peppers", + "fdcId": 2258588, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 19.7, + "unit": "kcal" + }, + "protein": { + "value": 0.715, + "unit": "g" + }, + "carbs": { + "value": 4.78, + "unit": "g" + }, + "fat": { + "value": 0.106, + "unit": "g" + }, + "sodium": { + "value": 0.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 0.942, + "unit": "g" + }, + "portions": [] + }, + { + "name": "yellow bell peppers", + "fdcId": 2258589, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 26.6, + "unit": "kcal" + }, + "protein": { + "value": 0.819, + "unit": "g" + }, + "carbs": { + "value": 6.6, + "unit": "g" + }, + "fat": { + "value": 0.121, + "unit": "g" + }, + "sodium": { + "value": 0.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 1.07, + "unit": "g" + }, + "portions": [] + }, + { + "name": "red bell peppers", + "fdcId": 2258590, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 27.0, + "unit": "kcal" + }, + "protein": { + "value": 0.896, + "unit": "g" + }, + "carbs": { + "value": 6.65, + "unit": "g" + }, + "fat": { + "value": 0.126, + "unit": "g" + }, + "sodium": { + "value": 0.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 1.16, + "unit": "g" + }, + "portions": [] + }, + { + "name": "orange bell peppers", + "fdcId": 2258591, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 27.4, + "unit": "kcal" + }, + "protein": { + "value": 0.882, + "unit": "g" + }, + "carbs": { + "value": 6.7, + "unit": "g" + }, + "fat": { + "value": 0.156, + "unit": "g" + }, + "sodium": { + "value": 0.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 0.967, + "unit": "g" + }, + "portions": [] + }, + { + "name": "low fat buttermilk", + "fdcId": 2259792, + "category": "Dairy and Egg Products", + "calories": { + "value": 42.9, + "unit": "kcal" + }, + "protein": { + "value": 3.46, + "unit": "g" + }, + "carbs": { + "value": 4.81, + "unit": "g" + }, + "fat": { + "value": 1.08, + "unit": "g" + }, + "sodium": { + "value": 92.5, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [] + }, + { + "name": "whole milk plain yogurt", + "fdcId": 2259793, + "category": "Dairy and Egg Products", + "calories": { + "value": 77.3, + "unit": "kcal" + }, + "protein": { + "value": 3.82, + "unit": "g" + }, + "carbs": { + "value": 5.57, + "unit": "g" + }, + "fat": { + "value": 4.48, + "unit": "g" + }, + "sodium": { + "value": 41.8, + "unit": "mg" + }, + "sugars": { + "value": 4.09, + "unit": "g" + }, + "fiber": {}, + "portions": [] + }, + { + "name": "plain greek yogurt", + "fdcId": 2259794, + "category": "Dairy and Egg Products", + "calories": { + "value": 94.5, + "unit": "kcal" + }, + "protein": { + "value": 8.78, + "unit": "g" + }, + "carbs": { + "value": 4.75, + "unit": "g" + }, + "fat": { + "value": 4.39, + "unit": "g" + }, + "sodium": { + "value": 33.8, + "unit": "mg" + }, + "sugars": { + "value": 3.25, + "unit": "g" + }, + "fiber": {}, + "portions": [] + }, + { + "name": "grated parmesan cheese", + "fdcId": 2259795, + "category": "Dairy and Egg Products", + "calories": { + "value": 405, + "unit": "kcal" + }, + "protein": { + "value": 30.1, + "unit": "g" + }, + "carbs": { + "value": 4.33, + "unit": "g" + }, + "fat": { + "value": 29.5, + "unit": "g" + }, + "sodium": { + "value": 1050.0, + "unit": "mg" + }, + "sugars": { + "value": 0.638, + "unit": "g" + }, + "fiber": {}, + "portions": [] + }, + { + "name": "whole milk feta cheese", + "fdcId": 2259796, + "category": "Dairy and Egg Products", + "calories": { + "value": 273, + "unit": "kcal" + }, + "protein": { + "value": 19.7, + "unit": "g" + }, + "carbs": { + "value": 5.58, + "unit": "g" + }, + "fat": { + "value": 19.1, + "unit": "g" + }, + "sodium": { + "value": 1030.0, + "unit": "mg" + }, + "sugars": { + "value": 1.63, + "unit": "g" + }, + "fiber": {}, + "portions": [] + }, + { + "name": "almond flour", + "fdcId": 2261420, + "category": "Nut and Seed Products", + "calories": { + "value": 578, + "unit": "kcal" + }, + "protein": { + "value": 26.2, + "unit": "g" + }, + "carbs": { + "value": 16.2, + "unit": "g" + }, + "fat": { + "value": 50.2, + "unit": "g" + }, + "sodium": { + "value": 0.894, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 9.27, + "unit": "g" + }, + "portions": [] + }, + { + "name": "whole grain oat flour", + "fdcId": 2261421, + "category": "Cereal Grains and Pasta", + "calories": { + "value": 386, + "unit": "kcal" + }, + "protein": { + "value": 13.2, + "unit": "g" + }, + "carbs": { + "value": 69.9, + "unit": "g" + }, + "fat": { + "value": 6.31, + "unit": "g" + }, + "sodium": { + "value": 3.62, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 10.5, + "unit": "g" + }, + "portions": [] + }, + { + "name": "potato flour", + "fdcId": 2261422, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 353, + "unit": "kcal" + }, + "protein": { + "value": 8.11, + "unit": "g" + }, + "carbs": { + "value": 79.9, + "unit": "g" + }, + "fat": { + "value": 0.951, + "unit": "g" + }, + "sodium": { + "value": 47.7, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 5.4, + "unit": "g" + }, + "portions": [] + }, + { + "name": "creamy peanut butter", + "fdcId": 2262072, + "category": "Legumes and Legume Products", + "calories": { + "value": 589, + "unit": "kcal" + }, + "protein": { + "value": 24.0, + "unit": "g" + }, + "carbs": { + "value": 22.7, + "unit": "g" + }, + "fat": { + "value": 49.4, + "unit": "g" + }, + "sodium": { + "value": 221, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 6.32, + "unit": "g" + }, + "portions": [] + }, + { + "name": "creamy sesame butter", + "fdcId": 2262073, + "category": "Nut and Seed Products", + "calories": { + "value": 648, + "unit": "kcal" + }, + "protein": { + "value": 19.7, + "unit": "g" + }, + "carbs": { + "value": 14.2, + "unit": "g" + }, + "fat": { + "value": 62.4, + "unit": "g" + }, + "sodium": { + "value": 63.6, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 8.37, + "unit": "g" + }, + "portions": [] + }, + { + "name": "creamy almond butter", + "fdcId": 2262074, + "category": "Nut and Seed Products", + "calories": { + "value": 603, + "unit": "kcal" + }, + "protein": { + "value": 20.8, + "unit": "g" + }, + "carbs": { + "value": 21.2, + "unit": "g" + }, + "fat": { + "value": 53.0, + "unit": "g" + }, + "sodium": { + "value": 0.996, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 9.72, + "unit": "g" + }, + "portions": [] + }, + { + "name": "ground flaxseed", + "fdcId": 2262075, + "category": "Nut and Seed Products", + "calories": { + "value": 514, + "unit": "kcal" + }, + "protein": { + "value": 18.0, + "unit": "g" + }, + "carbs": { + "value": 34.4, + "unit": "g" + }, + "fat": { + "value": 37.3, + "unit": "g" + }, + "sodium": { + "value": 36.7, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 23.1, + "unit": "g" + }, + "portions": [] + }, + { + "name": "large or small curd full fat cottage cheese", + "fdcId": 2346384, + "category": "Dairy and Egg Products", + "calories": { + "value": 105, + "unit": "kcal" + }, + "protein": { + "value": 11.6, + "unit": "g" + }, + "carbs": { + "value": 4.6, + "unit": "g" + }, + "fat": { + "value": 4.22, + "unit": "g" + }, + "sodium": { + "value": 350, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [] + }, + { + "name": "block full fat cream cheese", + "fdcId": 2346385, + "category": "Dairy and Egg Products", + "calories": { + "value": 337, + "unit": "kcal" + }, + "protein": { + "value": 5.79, + "unit": "g" + }, + "carbs": { + "value": 4.56, + "unit": "g" + }, + "fat": { + "value": 33.5, + "unit": "g" + }, + "sodium": { + "value": 368, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [] + }, + { + "name": "heavy cream", + "fdcId": 2346386, + "category": "Dairy and Egg Products", + "calories": { + "value": 336, + "unit": "kcal" + }, + "protein": { + "value": 2.02, + "unit": "g" + }, + "carbs": { + "value": 3.8, + "unit": "g" + }, + "fat": { + "value": 35.6, + "unit": "g" + }, + "sodium": { + "value": 20.6, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [] + }, + { + "name": "full fat sour cream", + "fdcId": 2346387, + "category": "Dairy and Egg Products", + "calories": { + "value": 193, + "unit": "kcal" + }, + "protein": { + "value": 3.07, + "unit": "g" + }, + "carbs": { + "value": 5.56, + "unit": "g" + }, + "fat": { + "value": 18.0, + "unit": "g" + }, + "sodium": { + "value": 50.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [] + }, + { + "name": "raw iceberg lettuce", + "fdcId": 2346388, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 14.5, + "unit": "kcal" + }, + "protein": { + "value": 0.742, + "unit": "g" + }, + "carbs": { + "value": 3.37, + "unit": "g" + }, + "fat": { + "value": 0.074, + "unit": "g" + }, + "sodium": { + "value": 16.1, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [] + }, + { + "name": "green romaine lettuce", + "fdcId": 2346389, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 17.5, + "unit": "kcal" + }, + "protein": { + "value": 0.977, + "unit": "g" + }, + "carbs": { + "value": 4.06, + "unit": "g" + }, + "fat": { + "value": 0.071, + "unit": "g" + }, + "sodium": { + "value": 23.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [] + }, + { + "name": "red leaf lettuce", + "fdcId": 2346390, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 14.7, + "unit": "kcal" + }, + "protein": { + "value": 0.883, + "unit": "g" + }, + "carbs": { + "value": 3.26, + "unit": "g" + }, + "fat": { + "value": 0.106, + "unit": "g" + }, + "sodium": { + "value": 24.9, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [] + }, + { + "name": "green leaf lettuce", + "fdcId": 2346391, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 18.5, + "unit": "kcal" + }, + "protein": { + "value": 1.09, + "unit": "g" + }, + "carbs": { + "value": 4.07, + "unit": "g" + }, + "fat": { + "value": 0.156, + "unit": "g" + }, + "sodium": { + "value": 28.9, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [] + }, + { + "name": "raw pine nuts", + "fdcId": 2346392, + "category": "Nut and Seed Products", + "calories": { + "value": 643, + "unit": "kcal" + }, + "protein": { + "value": 15.7, + "unit": "g" + }, + "carbs": { + "value": 18.6, + "unit": "g" + }, + "fat": { + "value": 61.3, + "unit": "g" + }, + "sodium": { + "value": 0.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 3.94, + "unit": "g" + }, + "portions": [] + }, + { + "name": "whole almonds", + "fdcId": 2346393, + "category": "Nut and Seed Products", + "calories": { + "value": 584, + "unit": "kcal" + }, + "protein": { + "value": 21.5, + "unit": "g" + }, + "carbs": { + "value": 20.0, + "unit": "g" + }, + "fat": { + "value": 51.1, + "unit": "g" + }, + "sodium": { + "value": 0.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 10.8, + "unit": "g" + }, + "portions": [] + }, + { + "name": "english walnuts", + "fdcId": 2346394, + "category": "Nut and Seed Products", + "calories": { + "value": 679, + "unit": "kcal" + }, + "protein": { + "value": 14.6, + "unit": "g" + }, + "carbs": { + "value": 10.9, + "unit": "g" + }, + "fat": { + "value": 69.7, + "unit": "g" + }, + "sodium": { + "value": 0.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 5.21, + "unit": "g" + }, + "portions": [] + }, + { + "name": "halves pecans", + "fdcId": 2346395, + "category": "Nut and Seed Products", + "calories": { + "value": 700, + "unit": "kcal" + }, + "protein": { + "value": 9.96, + "unit": "g" + }, + "carbs": { + "value": 12.7, + "unit": "g" + }, + "fat": { + "value": 73.3, + "unit": "g" + }, + "sodium": { + "value": 0.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 5.79, + "unit": "g" + }, + "portions": [] + }, + { + "name": "rolled whole grain oats", + "fdcId": 2346396, + "category": "Cereal Grains and Pasta", + "calories": { + "value": 379, + "unit": "kcal" + }, + "protein": { + "value": 13.5, + "unit": "g" + }, + "carbs": { + "value": 68.7, + "unit": "g" + }, + "fat": { + "value": 5.89, + "unit": "g" + }, + "sodium": { + "value": 0.668, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [] + }, + { + "name": "steel cut whole grain oats", + "fdcId": 2346397, + "category": "Cereal Grains and Pasta", + "calories": { + "value": 379, + "unit": "kcal" + }, + "protein": { + "value": 12.5, + "unit": "g" + }, + "carbs": { + "value": 69.8, + "unit": "g" + }, + "fat": { + "value": 5.8, + "unit": "g" + }, + "sodium": { + "value": 0.311, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [] + }, + { + "name": "raw pineapple", + "fdcId": 2346398, + "category": "Fruits and Fruit Juices", + "calories": { + "value": 54.0, + "unit": "kcal" + }, + "protein": { + "value": 0.461, + "unit": "g" + }, + "carbs": { + "value": 14.1, + "unit": "g" + }, + "fat": { + "value": 0.211, + "unit": "g" + }, + "sodium": { + "value": 0.0, + "unit": "mg" + }, + "sugars": { + "value": 11.4, + "unit": "g" + }, + "fiber": { + "value": 0.935, + "unit": "g" + }, + "portions": [] + }, + { + "name": "dark red sweet cherries", + "fdcId": 2346399, + "category": "Fruits and Fruit Juices", + "calories": { + "value": 63.3, + "unit": "kcal" + }, + "protein": { + "value": 1.04, + "unit": "g" + }, + "carbs": { + "value": 16.2, + "unit": "g" + }, + "fat": { + "value": 0.192, + "unit": "g" + }, + "sodium": { + "value": 0.0, + "unit": "mg" + }, + "sugars": { + "value": 13.9, + "unit": "g" + }, + "fiber": {}, + "portions": [] + }, + { + "name": "green snap beans", + "fdcId": 2346400, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 33.6, + "unit": "kcal" + }, + "protein": { + "value": 1.97, + "unit": "g" + }, + "carbs": { + "value": 7.41, + "unit": "g" + }, + "fat": { + "value": 0.275, + "unit": "g" + }, + "sodium": { + "value": 0.0, + "unit": "mg" + }, + "sugars": { + "value": 2.33, + "unit": "g" + }, + "fiber": { + "value": 3.01, + "unit": "g" + }, + "portions": [] + }, + { + "name": "russet potatoes", + "fdcId": 2346401, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 81.0, + "unit": "kcal" + }, + "protein": { + "value": 2.27, + "unit": "g" + }, + "carbs": { + "value": 17.8, + "unit": "g" + }, + "fat": { + "value": 0.36, + "unit": "g" + }, + "sodium": { + "value": 2.74, + "unit": "mg" + }, + "sugars": { + "value": 0.526, + "unit": "g" + }, + "fiber": {}, + "portions": [] + }, + { + "name": "red potatoes", + "fdcId": 2346402, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 73.4, + "unit": "kcal" + }, + "protein": { + "value": 2.06, + "unit": "g" + }, + "carbs": { + "value": 16.3, + "unit": "g" + }, + "fat": { + "value": 0.248, + "unit": "g" + }, + "sodium": { + "value": 2.86, + "unit": "mg" + }, + "sugars": { + "value": 0.664, + "unit": "g" + }, + "fiber": {}, + "portions": [] + }, + { + "name": "gold potatoes", + "fdcId": 2346403, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 71.6, + "unit": "kcal" + }, + "protein": { + "value": 1.81, + "unit": "g" + }, + "carbs": { + "value": 16.0, + "unit": "g" + }, + "fat": { + "value": 0.264, + "unit": "g" + }, + "sodium": { + "value": 2.24, + "unit": "mg" + }, + "sugars": { + "value": 0.645, + "unit": "g" + }, + "fiber": {}, + "portions": [] + }, + { + "name": "orange flesh sweet potatoes", + "fdcId": 2346404, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 77.4, + "unit": "kcal" + }, + "protein": { + "value": 1.58, + "unit": "g" + }, + "carbs": { + "value": 17.3, + "unit": "g" + }, + "fat": { + "value": 0.375, + "unit": "g" + }, + "sodium": { + "value": 0.0, + "unit": "mg" + }, + "sugars": { + "value": 6.06, + "unit": "g" + }, + "fiber": {}, + "portions": [] + }, + { + "name": "raw celery", + "fdcId": 2346405, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 14.8, + "unit": "kcal" + }, + "protein": { + "value": 0.492, + "unit": "g" + }, + "carbs": { + "value": 3.32, + "unit": "g" + }, + "fat": { + "value": 0.162, + "unit": "g" + }, + "sodium": { + "value": 97.2, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [] + }, + { + "name": "raw cucumber", + "fdcId": 2346406, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 13.9, + "unit": "kcal" + }, + "protein": { + "value": 0.625, + "unit": "g" + }, + "carbs": { + "value": 2.95, + "unit": "g" + }, + "fat": { + "value": 0.178, + "unit": "g" + }, + "sodium": { + "value": 1.52, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [] + }, + { + "name": "raw green cabbage", + "fdcId": 2346407, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 27.9, + "unit": "kcal" + }, + "protein": { + "value": 0.961, + "unit": "g" + }, + "carbs": { + "value": 6.38, + "unit": "g" + }, + "fat": { + "value": 0.228, + "unit": "g" + }, + "sodium": { + "value": 16.1, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [] + }, + { + "name": "raw red cabbage", + "fdcId": 2346408, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 29.9, + "unit": "kcal" + }, + "protein": { + "value": 1.24, + "unit": "g" + }, + "carbs": { + "value": 6.79, + "unit": "g" + }, + "fat": { + "value": 0.214, + "unit": "g" + }, + "sodium": { + "value": 11.7, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [] + }, + { + "name": "raw strawberries", + "fdcId": 2346409, + "category": "Fruits and Fruit Juices", + "calories": { + "value": 32.7, + "unit": "kcal" + }, + "protein": { + "value": 0.641, + "unit": "g" + }, + "carbs": { + "value": 7.96, + "unit": "g" + }, + "fat": { + "value": 0.22, + "unit": "g" + }, + "sodium": { + "value": 0.0, + "unit": "mg" + }, + "sugars": { + "value": 4.86, + "unit": "g" + }, + "fiber": {}, + "portions": [] + }, + { + "name": "raw raspberries", + "fdcId": 2346410, + "category": "Fruits and Fruit Juices", + "calories": { + "value": 51.4, + "unit": "kcal" + }, + "protein": { + "value": 1.01, + "unit": "g" + }, + "carbs": { + "value": 12.9, + "unit": "g" + }, + "fat": { + "value": 0.188, + "unit": "g" + }, + "sodium": { + "value": 0.0, + "unit": "mg" + }, + "sugars": { + "value": 2.68, + "unit": "g" + }, + "fiber": {}, + "portions": [] + }, + { + "name": "raw blueberries", + "fdcId": 2346411, + "category": "Fruits and Fruit Juices", + "calories": { + "value": 57.4, + "unit": "kcal" + }, + "protein": { + "value": 0.703, + "unit": "g" + }, + "carbs": { + "value": 14.6, + "unit": "g" + }, + "fat": { + "value": 0.306, + "unit": "g" + }, + "sodium": { + "value": 0.0, + "unit": "mg" + }, + "sugars": { + "value": 9.36, + "unit": "g" + }, + "fiber": {}, + "portions": [] + }, + { + "name": "seedless red grapes", + "fdcId": 2346412, + "category": "Fruits and Fruit Juices", + "calories": { + "value": 77.2, + "unit": "kcal" + }, + "protein": { + "value": 0.914, + "unit": "g" + }, + "carbs": { + "value": 20.2, + "unit": "g" + }, + "fat": { + "value": 0.164, + "unit": "g" + }, + "sodium": { + "value": 7.0, + "unit": "mg" + }, + "sugars": { + "value": 17.3, + "unit": "g" + }, + "fiber": {}, + "portions": [] + }, + { + "name": "seedless green grapes", + "fdcId": 2346413, + "category": "Fruits and Fruit Juices", + "calories": { + "value": 71.9, + "unit": "kcal" + }, + "protein": { + "value": 0.899, + "unit": "g" + }, + "carbs": { + "value": 18.6, + "unit": "g" + }, + "fat": { + "value": 0.232, + "unit": "g" + }, + "sodium": { + "value": 3.17, + "unit": "mg" + }, + "sugars": { + "value": 16.1, + "unit": "g" + }, + "fiber": {}, + "portions": [] + }, + { + "name": "unsweetened applesauce", + "fdcId": 2346414, + "category": "Fruits and Fruit Juices", + "calories": { + "value": 46.4, + "unit": "kcal" + }, + "protein": { + "value": 0.273, + "unit": "g" + }, + "carbs": { + "value": 12.3, + "unit": "g" + }, + "fat": { + "value": 0.162, + "unit": "g" + }, + "sodium": { + "value": 0.504, + "unit": "mg" + }, + "sugars": { + "value": 9.66, + "unit": "g" + }, + "fiber": {}, + "portions": [] + }, + { + "name": "amaranth flour", + "fdcId": 2512371, + "category": "Cereal Grains and Pasta", + "calories": { + "value": 378, + "unit": "kcal" + }, + "protein": { + "value": 13.2, + "unit": "g" + }, + "carbs": { + "value": 68.8, + "unit": "g" + }, + "fat": { + "value": 6.24, + "unit": "g" + }, + "sodium": { + "value": 0.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 7.21, + "unit": "g" + }, + "portions": [] + }, + { + "name": "quinoa flour", + "fdcId": 2512372, + "category": "Cereal Grains and Pasta", + "calories": { + "value": 378, + "unit": "kcal" + }, + "protein": { + "value": 11.9, + "unit": "g" + }, + "carbs": { + "value": 69.5, + "unit": "g" + }, + "fat": { + "value": 6.6, + "unit": "g" + }, + "sodium": { + "value": 6.32, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 6.3, + "unit": "g" + }, + "portions": [] + }, + { + "name": "sorghum flour", + "fdcId": 2512373, + "category": "Cereal Grains and Pasta", + "calories": { + "value": 364, + "unit": "kcal" + }, + "protein": { + "value": 8.27, + "unit": "g" + }, + "carbs": { + "value": 77.4, + "unit": "g" + }, + "fat": { + "value": 3.59, + "unit": "g" + }, + "sodium": { + "value": 0.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 6.02, + "unit": "g" + }, + "portions": [] + }, + { + "name": "buckwheat flour", + "fdcId": 2512374, + "category": "Cereal Grains and Pasta", + "calories": { + "value": 334, + "unit": "kcal" + }, + "protein": { + "value": 8.88, + "unit": "g" + }, + "carbs": { + "value": 75.0, + "unit": "g" + }, + "fat": { + "value": 2.48, + "unit": "g" + }, + "sodium": { + "value": 0.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 10.4, + "unit": "g" + }, + "portions": [] + }, + { + "name": "rye flour", + "fdcId": 2512375, + "category": "Cereal Grains and Pasta", + "calories": { + "value": 351, + "unit": "kcal" + }, + "protein": { + "value": 8.4, + "unit": "g" + }, + "carbs": { + "value": 77.2, + "unit": "g" + }, + "fat": { + "value": 1.91, + "unit": "g" + }, + "sodium": { + "value": 0.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 13.7, + "unit": "g" + }, + "portions": [] + }, + { + "name": "barley flour", + "fdcId": 2512376, + "category": "Cereal Grains and Pasta", + "calories": { + "value": 357, + "unit": "kcal" + }, + "protein": { + "value": 8.72, + "unit": "g" + }, + "carbs": { + "value": 77.4, + "unit": "g" + }, + "fat": { + "value": 2.45, + "unit": "g" + }, + "sodium": { + "value": 20.3, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 12.8, + "unit": "g" + }, + "portions": [] + }, + { + "name": "cassava flour", + "fdcId": 2512377, + "category": "Vegetables and Vegetable Products", + "calories": { + "value": 359, + "unit": "kcal" + }, + "protein": { + "value": 0.918, + "unit": "g" + }, + "carbs": { + "value": 87.3, + "unit": "g" + }, + "fat": { + "value": 0.494, + "unit": "g" + }, + "sodium": { + "value": 13.1, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 4.83, + "unit": "g" + }, + "portions": [] + }, + { + "name": "whole grain buckwheat", + "fdcId": 2512378, + "category": "Cereal Grains and Pasta", + "calories": { + "value": 332, + "unit": "kcal" + }, + "protein": { + "value": 11.1, + "unit": "g" + }, + "carbs": { + "value": 71.1, + "unit": "g" + }, + "fat": { + "value": 3.04, + "unit": "g" + }, + "sodium": { + "value": 0.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 4.05, + "unit": "g" + }, + "portions": [] + }, + { + "name": "whole grain millet", + "fdcId": 2512379, + "category": "Cereal Grains and Pasta", + "calories": { + "value": 381, + "unit": "kcal" + }, + "protein": { + "value": 10.0, + "unit": "g" + }, + "carbs": { + "value": 74.4, + "unit": "g" + }, + "fat": { + "value": 4.19, + "unit": "g" + }, + "sodium": { + "value": 0.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 2.62, + "unit": "g" + }, + "portions": [] + }, + { + "name": "long grain brown rice", + "fdcId": 2512380, + "category": "Cereal Grains and Pasta", + "calories": { + "value": 368, + "unit": "kcal" + }, + "protein": { + "value": 7.25, + "unit": "g" + }, + "carbs": { + "value": 76.7, + "unit": "g" + }, + "fat": { + "value": 3.31, + "unit": "g" + }, + "sodium": { + "value": 0.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 3.02, + "unit": "g" + }, + "portions": [] + }, + { + "name": "long grain white rice", + "fdcId": 2512381, + "category": "Cereal Grains and Pasta", + "calories": { + "value": 370, + "unit": "kcal" + }, + "protein": { + "value": 7.04, + "unit": "g" + }, + "carbs": { + "value": 80.3, + "unit": "g" + }, + "fat": { + "value": 1.03, + "unit": "g" + }, + "sodium": { + "value": 0.462, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 0.149, + "unit": "g" + }, + "portions": [] + }, + { + "name": "90% lean meat / 10% fat ground beef", + "fdcId": 2514743, + "category": "Beef Products", + "calories": { + "value": 190, + "unit": "kcal" + }, + "protein": { + "value": 18.2, + "unit": "g" + }, + "carbs": { + "value": 0.0, + "unit": "g" + }, + "fat": { + "value": 12.8, + "unit": "g" + }, + "sodium": { + "value": 61.6, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [] + }, + { + "name": "80% lean meat / 20% fat ground beef", + "fdcId": 2514744, + "category": "Beef Products", + "calories": { + "value": 248, + "unit": "kcal" + }, + "protein": { + "value": 17.5, + "unit": "g" + }, + "carbs": { + "value": 0.0, + "unit": "g" + }, + "fat": { + "value": 19.4, + "unit": "g" + }, + "sodium": { + "value": 54.9, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [] + }, + { + "name": "raw ground pork", + "fdcId": 2514745, + "category": "Pork Products", + "calories": { + "value": 233, + "unit": "kcal" + }, + "protein": { + "value": 17.8, + "unit": "g" + }, + "carbs": { + "value": 0.0, + "unit": "g" + }, + "fat": { + "value": 17.5, + "unit": "g" + }, + "sodium": { + "value": 53.6, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [] + }, + { + "name": "ground chicken", + "fdcId": 2514746, + "category": "Poultry Products", + "calories": { + "value": 138, + "unit": "kcal" + }, + "protein": { + "value": 17.9, + "unit": "g" + }, + "carbs": { + "value": 0.0, + "unit": "g" + }, + "fat": { + "value": 7.16, + "unit": "g" + }, + "sodium": { + "value": 63.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [] + }, + { + "name": "93% lean/ 7% fat ground turkey", + "fdcId": 2514747, + "category": "Poultry Products", + "calories": { + "value": 158, + "unit": "kcal" + }, + "protein": { + "value": 17.3, + "unit": "g" + }, + "carbs": { + "value": 0.0, + "unit": "g" + }, + "fat": { + "value": 9.59, + "unit": "g" + }, + "sodium": { + "value": 80.2, + "unit": "mg" + }, + "sugars": {}, + "fiber": {}, + "portions": [] + }, + { + "name": "raw brazilnuts", + "fdcId": 2515373, + "category": "Nut and Seed Products", + "calories": { + "value": 621, + "unit": "kcal" + }, + "protein": { + "value": 15.0, + "unit": "g" + }, + "carbs": { + "value": 21.6, + "unit": "g" + }, + "fat": { + "value": 57.4, + "unit": "g" + }, + "sodium": { + "value": 0.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 5.98, + "unit": "g" + }, + "portions": [] + }, + { + "name": "raw cashew nuts", + "fdcId": 2515374, + "category": "Nut and Seed Products", + "calories": { + "value": 533, + "unit": "kcal" + }, + "protein": { + "value": 17.4, + "unit": "g" + }, + "carbs": { + "value": 36.3, + "unit": "g" + }, + "fat": { + "value": 38.9, + "unit": "g" + }, + "sodium": { + "value": 4.76, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 4.1, + "unit": "g" + }, + "portions": [] + }, + { + "name": "raw hazelnuts or filberts", + "fdcId": 2515375, + "category": "Nut and Seed Products", + "calories": { + "value": 602, + "unit": "kcal" + }, + "protein": { + "value": 13.5, + "unit": "g" + }, + "carbs": { + "value": 26.5, + "unit": "g" + }, + "fat": { + "value": 53.5, + "unit": "g" + }, + "sodium": { + "value": 0.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 8.41, + "unit": "g" + }, + "portions": [] + }, + { + "name": "raw peanuts", + "fdcId": 2515376, + "category": "Legumes and Legume Products", + "calories": { + "value": 551, + "unit": "kcal" + }, + "protein": { + "value": 23.2, + "unit": "g" + }, + "carbs": { + "value": 26.5, + "unit": "g" + }, + "fat": { + "value": 43.3, + "unit": "g" + }, + "sodium": { + "value": 1.49, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 8.01, + "unit": "g" + }, + "portions": [] + }, + { + "name": "chestnut flour", + "fdcId": 2515377, + "category": "Nut and Seed Products", + "calories": { + "value": 385, + "unit": "kcal" + }, + "protein": { + "value": 5.29, + "unit": "g" + }, + "carbs": { + "value": 80.5, + "unit": "g" + }, + "fat": { + "value": 4.64, + "unit": "g" + }, + "sodium": { + "value": 0.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 8.71, + "unit": "g" + }, + "portions": [] + }, + { + "name": "raw macadamia nuts", + "fdcId": 2515378, + "category": "Nut and Seed Products", + "calories": { + "value": 669, + "unit": "kcal" + }, + "protein": { + "value": 7.79, + "unit": "g" + }, + "carbs": { + "value": 24.1, + "unit": "g" + }, + "fat": { + "value": 64.9, + "unit": "g" + }, + "sodium": { + "value": 0.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 7.56, + "unit": "g" + }, + "portions": [] + }, + { + "name": "raw pistachio nuts", + "fdcId": 2515379, + "category": "Nut and Seed Products", + "calories": { + "value": 561, + "unit": "kcal" + }, + "protein": { + "value": 20.5, + "unit": "g" + }, + "carbs": { + "value": 27.7, + "unit": "g" + }, + "fat": { + "value": 45.0, + "unit": "g" + }, + "sodium": { + "value": 0.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 6.97, + "unit": "g" + }, + "portions": [] + }, + { + "name": "raw pumpkin seeds (pepitas)", + "fdcId": 2515380, + "category": "Nut and Seed Products", + "calories": { + "value": 515, + "unit": "kcal" + }, + "protein": { + "value": 29.9, + "unit": "g" + }, + "carbs": { + "value": 18.7, + "unit": "g" + }, + "fat": { + "value": 40.0, + "unit": "g" + }, + "sodium": { + "value": 0.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 5.08, + "unit": "g" + }, + "portions": [] + }, + { + "name": "kernel sunflower seed", + "fdcId": 2515381, + "category": "Nut and Seed Products", + "calories": { + "value": 571, + "unit": "kcal" + }, + "protein": { + "value": 18.9, + "unit": "g" + }, + "carbs": { + "value": 24.5, + "unit": "g" + }, + "fat": { + "value": 48.4, + "unit": "g" + }, + "sodium": { + "value": 0.0, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 7.22, + "unit": "g" + }, + "portions": [] + }, + { + "name": "coconut flour", + "fdcId": 2515382, + "category": "Nut and Seed Products", + "calories": { + "value": 424, + "unit": "kcal" + }, + "protein": { + "value": 16.1, + "unit": "g" + }, + "carbs": { + "value": 58.9, + "unit": "g" + }, + "fat": { + "value": 15.3, + "unit": "g" + }, + "sodium": { + "value": 46.9, + "unit": "mg" + }, + "sugars": {}, + "fiber": { + "value": 34.2, + "unit": "g" + }, + "portions": [] + } +] \ No newline at end of file diff --git a/ingredients/extract_ingredients.py b/ingredients/extract_ingredients.py new file mode 100644 index 0000000..f0f5d7d --- /dev/null +++ b/ingredients/extract_ingredients.py @@ -0,0 +1,151 @@ +# script for loading USDA source files and extracting +# neccessary ingredient data: Name, +#!/usr/bin/python3.12 +import json + +# open source files to read from +foundationJson = open("data/FoodData_Central_foundation_food_json_2023-04-20/foundationFoods.json") +foundationFoods: list[dict] = json.load(foundationJson).get("FoundationFoods") + +# key for Energy (Atwater Specific Factors) +ENERGY_ASF_KEY = "Energy (Atwater Specific Factors)" +MEASURE_VALUE_KEY = "value" +MEASURE_UNIT_KEY = "unit" + +NAME_KEY = "name" +FDC_ID_KEY = "fdcId" +CATEGORY_KEY = "category" +CARBS_KEY = "carbs" +CALORIES_KEY = "calories" +SODIUM_KEY = "sodium" +FAT_KEY = "fat" +FIBER_KEY = "fiber" +SUGARS_KEY = "sugars" +PROTEIN_KEY = "protein" +PORTION_VALUE_KEY = "portion-value" +PORTION_ABBR_KEY = "portion-abbr" +PORTION_GWEIGHT_KEY = "portion-gweight" +PORTIONS_KEY = "portions" + +# extracted food info +extractedIngredients: list[dict] = list() +# tracking names for dev +names: list[str] = list() + +def nameFilter(s: str) -> bool: + if s.startswith("with") or s.startswith("not"): + return False + elif s.startswith("from") or s.startswith("commercial"): + return False + elif s == "nuts" or s == "seeds": + return False + else: + return True + + +for food in foundationFoods: + ingredient = dict() + name = food.get("description") + # for testing + names.append(name) + # get category + category = food.get("foodCategory").get("description") + # get fdcId for future reference + fdcId = food.get("fdcId") + # get list of food nutrients + nutrientList = food.get("foodNutrients") + + calories: dict = {} + protein: dict = {} + fat: dict = {} + carbs: dict = {} + fiber: dict = {} + sugars: dict = {} + sodium: dict = {} + portions: list[dict] = [] + + foodPortions = food.get("foodPortions") + for foodPortion in foodPortions: + portion = {} + portion[PORTION_VALUE_KEY] = foodPortion.get("value") + portion[PORTION_ABBR_KEY] = foodPortion.get("measureUnit").get("abbreviation") + portion[PORTION_GWEIGHT_KEY] = foodPortion.get("gramWeight") + portions.append(portion) + + # get nutrient data + for nutrient in nutrientList: + nutrientName = nutrient.get("nutrient").get("name") + unitName = nutrient.get("nutrient").get("unitName") + amount = nutrient.get("amount") + + match nutrientName: + case "Energy (Atwater Specific Factors)": + calories[MEASURE_VALUE_KEY] = amount + calories[MEASURE_UNIT_KEY] = unitName + case "Protein": + protein[MEASURE_VALUE_KEY] = amount + protein[MEASURE_UNIT_KEY] = unitName + case "Total lipid (fat)": + fat[MEASURE_VALUE_KEY] = amount + fat[MEASURE_UNIT_KEY] = unitName + case "Carbohydrate, by difference": + carbs[MEASURE_VALUE_KEY] = amount + carbs[MEASURE_UNIT_KEY] = unitName + case "Fiber, total dietary": + fiber[MEASURE_VALUE_KEY] = amount + fiber[MEASURE_UNIT_KEY] = unitName + case "Sugars, Total": + sugars[MEASURE_VALUE_KEY] = amount + sugars[MEASURE_UNIT_KEY] = unitName + case "Sodium, Na": + sodium[MEASURE_VALUE_KEY] = amount + sodium[MEASURE_UNIT_KEY] = unitName + case _: + pass + + ingredient[NAME_KEY] = name + ingredient[FDC_ID_KEY] = fdcId + ingredient[CATEGORY_KEY] = category + ingredient[CALORIES_KEY] = calories + ingredient[PROTEIN_KEY] = protein + ingredient[CARBS_KEY] = carbs + ingredient[FAT_KEY] = fat + ingredient[SODIUM_KEY] = sodium + ingredient[SUGARS_KEY] = sugars + ingredient[FIBER_KEY] = fiber + ingredient[PORTIONS_KEY] = portions + + extractedIngredients.append(ingredient) + +finalIngredients: list[dict] = list() + +# finalizes extracted recipes +for ingredient in extractedIngredients: + # only take ingredients not dishes + name = ingredient[NAME_KEY] + if not name.startswith("Restaurant"): + nameWords = name.casefold().rsplit(", ") + constructedName = [] + numNameWords = len(nameWords) + if numNameWords >= 3: + word = nameWords[2] + if nameFilter(word): + constructedName.append(word) + if numNameWords >= 2: + word = nameWords[1] + if nameFilter(word): + constructedName.append(word) + if numNameWords >= 1: + word = nameWords[0] + if nameFilter(word): + constructedName.append(word) + + # update ingredient names + ingredient[NAME_KEY] = " ".join(str(x) for x in constructedName) + finalIngredients.append(ingredient) + +finalIngredientsJson = json.dumps(finalIngredients, indent=4) + +with open("data/finalIngredients.json", "w") as outfile: + outfile.write(finalIngredientsJson) +