{
  "format": "dataset-manifest/1",
  "slug": "culinary-choices-dataset",
  "version": 1,
  "seed": "culinary-choices-dataset:1",
  "spec": {
    "format": "dataset/1",
    "slug": "culinary-choices-dataset",
    "name": "Culinary Choices Dataset",
    "tagline": "Food items, nutritional values, dietary preferences, and allergens from various restaurants for health-conscious diners.",
    "description": "Restaurants craft an array of meals designed for health-conscious diners, and this dataset captures that culinary diversity. Each entry details food items along with their nutritional values, dietary preferences, and potential allergens. This information empowers users to make informed decisions when dining out or preparing meals at home. Most entries represent popular dishes frequently scanned or saved as favorites, while niche items cover specific dietary needs, appealing to those with unique tastes. This dataset allows for exploration of trends in food choices, helping to answer questions about popular nutritional options, dietary restrictions, and the prevalence of allergens in various cuisines. It serves as a rich resource for developers, nutritionists, and culinary enthusiasts alike, providing a synthetic collection of data that mirrors real-world dining choices.",
    "domain": "restaurants",
    "shape": "transactional",
    "useCases": [
      "sql-practice",
      "orm-seeding"
    ],
    "keywords": [
      "nutrition",
      "restaurants",
      "food items",
      "dietary preferences",
      "allergens",
      "meals",
      "data analysis"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "food_items": {
        "description": "Each row represents a food item available at restaurants, detailing its nutritional information and dietary considerations. The table links to various dietary categories and allergens, providing a comprehensive view of the meal's characteristics.",
        "rows": 500,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each food item."
          },
          "name": {
            "kind": "fullName",
            "description": "Name of the food item."
          },
          "calories": {
            "kind": "int",
            "min": 50,
            "max": 1500,
            "description": "Total calories in the food item."
          },
          "protein": {
            "kind": "decimal",
            "min": 0,
            "max": 100,
            "scale": 1,
            "description": "Amount of protein in grams.",
            "nullable": true,
            "when": {
              "column": "dietary_preferences",
              "in": [
                "vegan",
                "vegetarian"
              ]
            }
          },
          "carbohydrates": {
            "kind": "decimal",
            "min": 0,
            "max": 300,
            "scale": 1,
            "description": "Total carbohydrates in grams.",
            "nullable": true,
            "when": {
              "column": "dietary_preferences",
              "in": [
                "vegan",
                "vegetarian"
              ]
            }
          },
          "fat": {
            "kind": "decimal",
            "min": 0,
            "max": 200,
            "scale": 1,
            "description": "Total fat content in grams."
          },
          "dietary_preferences": {
            "kind": "enum",
            "values": [
              "vegan",
              "vegetarian",
              "gluten-free",
              "keto",
              "paleo"
            ],
            "description": "Dietary preferences that the food item adheres to."
          },
          "allergens": {
            "kind": "words",
            "max": 100,
            "description": "Common allergens present in the food item, if any.",
            "nullable": true
          }
        }
      }
    },
    "structure": "single-table",
    "traits": [
      "categorical",
      "monetary",
      "nullable"
    ],
    "analysisQuestions": [
      "What are the most common dietary preferences across the food items?",
      "Which allergens are most frequently found in popular dishes?",
      "How do calorie counts vary between different dietary categories?",
      "What is the average protein content of vegan meals compared to non-vegan ones?"
    ],
    "suggestedQueries": [
      {
        "title": "Get all food items and their calorie counts",
        "sql": "SELECT name, calories FROM food_items;",
        "dialect": "postgres"
      },
      {
        "title": "Count food items by dietary preference",
        "sql": "SELECT dietary_preferences, COUNT(*) FROM food_items GROUP BY dietary_preferences;",
        "dialect": "postgres"
      },
      {
        "title": "Find items with allergens",
        "sql": "SELECT name, allergens FROM food_items WHERE allergens IS NOT NULL;",
        "dialect": "postgres"
      },
      {
        "title": "Average fat content in each dietary category",
        "sql": "SELECT dietary_preferences, AVG(fat) FROM food_items GROUP BY dietary_preferences;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Nutritionists analyzing meal options",
        "body": "Nutritionists can use this dataset to analyze food items available in restaurants, helping them provide better dietary advice to clients based on nutritional content and dietary preferences."
      },
      {
        "title": "Developers building food apps",
        "body": "Developers can seed their applications with this dataset to create real-time food and nutrition information apps, allowing users to search for meals based on dietary needs or allergies."
      },
      {
        "title": "Researchers studying dietary trends",
        "body": "Researchers can examine the dataset to identify trends in food choices among different populations, analyzing how dietary preferences affect health outcomes and restaurant offerings."
      }
    ]
  },
  "counts": {
    "food_items": 500
  },
  "stats": {
    "food_items": {
      "rows": 500,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 500,
          "min": 1,
          "max": 500
        },
        "name": {
          "nulls": 0,
          "distinct": 476,
          "min": "Alice Bennett",
          "max": "Zoe Wright"
        },
        "calories": {
          "nulls": 0,
          "distinct": 414,
          "min": 54,
          "max": 1499
        },
        "protein": {
          "nulls": 295,
          "distinct": 187,
          "min": 1.6,
          "max": 99.4
        },
        "carbohydrates": {
          "nulls": 295,
          "distinct": 197,
          "min": 0.3,
          "max": 299
        },
        "fat": {
          "nulls": 0,
          "distinct": 434,
          "min": 0,
          "max": 200
        },
        "dietary_preferences": {
          "nulls": 0,
          "distinct": 5,
          "min": "gluten-free",
          "max": "vegetarian"
        },
        "allergens": {
          "nulls": 56,
          "distinct": 444
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/food_items.csv",
      "format": "csv",
      "table": "food_items",
      "key": "datasets/culinary-choices-dataset/v1/csv/food_items.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/culinary-choices-dataset/v1/csv/food_items.csv",
      "bytes": 171712,
      "sha256": "7beb9799b65dd1a9a4c6bc10517582575af89a57a5bc3704329006f6eeb1830e",
      "rows": 500,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "culinary-choices-dataset.json",
      "format": "json",
      "table": null,
      "key": "datasets/culinary-choices-dataset/v1/culinary-choices-dataset.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/culinary-choices-dataset/v1/culinary-choices-dataset.json",
      "bytes": 258985,
      "sha256": "89fe4f65eb48c22e7024f94eacc5e30cdcadf43e2482345ab7435e8036e5e8aa",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/culinary-choices-dataset/v1/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/culinary-choices-dataset/v1/sql/postgres.sql",
      "bytes": 184733,
      "sha256": "0e87e3b57af47a5df204c03a32ad7d47068aa2935e68b7d24982a459a72c31a6",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/culinary-choices-dataset/v1/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/culinary-choices-dataset/v1/sql/mysql.sql",
      "bytes": 184626,
      "sha256": "7e3cc35c5e95820bb5afeaea55d1109533940a7c63634494d48ee81941ade323",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/culinary-choices-dataset/v1/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/culinary-choices-dataset/v1/sql/mssql.sql",
      "bytes": 186138,
      "sha256": "aac4f736661fad4db4fd7aa9692a8b0cb395c9cd7a67910f7b2045d364e82097",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/culinary-choices-dataset/v1/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/culinary-choices-dataset/v1/sql/sqlite.sql",
      "bytes": 184589,
      "sha256": "080f99d8dfaf7ddc3745c64928a6857c1b639966ef8c92a8ee1e06a450807a8c",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/culinary-choices-dataset/v1/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/culinary-choices-dataset/v1/prisma/seed.ts",
      "bytes": 231674,
      "sha256": "32b4dab1f36e1283fd6596609bd9865f6fb6390896c1239f614153d74e4a0f5d",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/culinary-choices-dataset/v1/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/culinary-choices-dataset/v1/django/fixtures.json",
      "bytes": 283433,
      "sha256": "20f014fc0901edb1b42355fb59ec3635a10ccd650b6cb8ab8e59cbdaa865a2f1",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788768476026,
  "updatedAt": 1788768476026
}
