{
  "format": "dataset-manifest/1",
  "slug": "warehouse-management-insights",
  "version": 1,
  "seed": "warehouse-management-insights:1",
  "spec": {
    "format": "dataset/1",
    "slug": "warehouse-management-insights",
    "name": "Warehouse Management Insights",
    "tagline": "Products, inventory levels, orders, expenses, and suppliers for efficient warehouse management operations.",
    "description": "Warehouse managers coordinate the movement of goods to ensure seamless operations. They oversee the management of products, track inventory levels, process orders, and handle expenses related to storage and distribution. Each day, they analyze a multitude of transactions driven by regular customers, allowing them to maintain optimal stock levels and respond to changing demands. Occasionally, they encounter unique transactions, such as one-off purchases or special discounts, which require careful attention to ensure accuracy in inventory records.\n\nThe relational structure of this dataset consists of several interconnected tables. The products table holds details about individual items available in the warehouse, including their descriptions and pricing. Each product's availability is monitored through the inventory table, which tracks stock levels and can signal when reordering is necessary. Orders that reflect customer purchases are recorded in the orders table, detailing what items were sold and the quantities involved. The expenses table captures the costs related to running the warehouse, including storage fees and transportation charges, while the suppliers table lists entities that provide the products, further linking them to the inventory and orders.\n\nThis dataset allows developers and data analysts to explore a variety of questions pertinent to warehouse management. One can analyze trends in product sales, assess inventory turnover rates, or evaluate the relationship between order volume and associated expenses. Additionally, users can practice constructing queries that identify patterns in supplier performance or analyze the impact of one-off purchases on overall warehouse operations. As a synthetic creation, this data provides a safe and realistic environment for honing analytical skills without the complexities of real-world data privacy concerns.",
    "domain": "hr",
    "shape": "star-schema",
    "useCases": [
      "bi-dashboards",
      "analytics-demo"
    ],
    "keywords": [
      "warehouse",
      "inventory",
      "orders",
      "suppliers",
      "expenses",
      "analytics",
      "SQL",
      "business intelligence"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "products": {
        "description": "This table contains information about various products available in the warehouse, linking to the suppliers table. Each product has a unique identifier, name, category, and price.",
        "rows": 100,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each product."
          },
          "name": {
            "kind": "fullName",
            "description": "The name of the product."
          },
          "category": {
            "kind": "enum",
            "values": [
              "Electronics",
              "Furniture",
              "Clothing",
              "Food"
            ],
            "description": "The category to which the product belongs."
          },
          "price": {
            "kind": "decimal",
            "min": 0.01,
            "max": 1000,
            "scale": 2,
            "description": "The price of the product.",
            "nullable": true
          },
          "supplier_id": {
            "kind": "fk",
            "ref": "suppliers.id",
            "description": "Reference to the supplier of the product."
          }
        }
      },
      "inventory": {
        "description": "This table tracks the inventory levels of products in the warehouse, linked to the products table. It includes current stock quantities and reorder thresholds.",
        "rows": 100,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each inventory record."
          },
          "product_id": {
            "kind": "fk",
            "ref": "products.id",
            "description": "Reference to the product."
          },
          "current_stock": {
            "kind": "int",
            "min": 0,
            "max": 500,
            "description": "Current quantity of the product in stock."
          },
          "reorder_threshold": {
            "kind": "int",
            "min": 0,
            "max": 100,
            "description": "Minimum stock level before reordering.",
            "nullable": true
          }
        }
      },
      "orders": {
        "description": "This table captures order details made by customers, linking to both products and expenses. Each order includes information about the product ordered, quantity, and total cost.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each order."
          },
          "product_id": {
            "kind": "fk",
            "ref": "products.id",
            "description": "Reference to the ordered product."
          },
          "quantity": {
            "kind": "int",
            "min": 1,
            "max": 10,
            "description": "Quantity of the product ordered."
          },
          "total_cost": {
            "kind": "decimal",
            "min": 0.01,
            "max": 10000,
            "scale": 2,
            "description": "Total cost of the order.",
            "nullable": true
          },
          "order_date": {
            "kind": "datetime",
            "from": "2022-01-01",
            "to": "2023-12-31",
            "description": "Date and time when the order was placed.",
            "dayProfile": "business"
          }
        }
      },
      "expenses": {
        "description": "This table holds records of various expenses incurred in the warehouse operations, linked to orders. Each expense includes details on type, amount, and associated order.",
        "rows": 150,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each expense record."
          },
          "order_id": {
            "kind": "fk",
            "ref": "orders.id",
            "description": "Reference to the associated order."
          },
          "expense_type": {
            "kind": "enum",
            "values": [
              "Storage",
              "Transportation",
              "Labor"
            ],
            "description": "Type of expense incurred."
          },
          "amount": {
            "kind": "decimal",
            "min": 0.01,
            "max": 5000,
            "scale": 2,
            "description": "Amount of the expense.",
            "nullable": true,
            "when": {
              "column": "expense_type",
              "in": [
                "Storage",
                "Transportation"
              ]
            }
          }
        }
      },
      "suppliers": {
        "description": "This table contains information about suppliers who provide products to the warehouse, linking back to the products table. It includes contact details and the location of each supplier.",
        "rows": 50,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each supplier."
          },
          "name": {
            "kind": "fullName",
            "description": "The name of the supplier."
          },
          "contact_email": {
            "kind": "email",
            "from": "name",
            "description": "Contact email address of the supplier.",
            "nullable": true
          },
          "location": {
            "kind": "city",
            "description": "Location where the supplier is based.",
            "nullable": true
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "monetary",
      "timestamped",
      "high-cardinality"
    ],
    "analysisQuestions": [
      "What products have the highest stock levels and how does that impact order fulfillment?",
      "Which suppliers provide the most products and what are their average delivery times?",
      "How do expenses vary across different types of orders?",
      "What is the trend in order quantities over the past year?",
      "Which product categories generate the most revenue?"
    ],
    "suggestedQueries": [
      {
        "title": "Join Products with Inventory",
        "sql": "SELECT p.name, i.current_stock FROM products p JOIN inventory i ON p.id = i.product_id;",
        "dialect": "postgres"
      },
      {
        "title": "Calculate Total Orders by Product",
        "sql": "SELECT p.name, SUM(o.quantity) AS total_orders FROM products p JOIN orders o ON p.id = o.product_id GROUP BY p.name;",
        "dialect": "postgres"
      },
      {
        "title": "Average Expense by Type",
        "sql": "SELECT e.expense_type, AVG(e.amount) AS average_expense FROM expenses e GROUP BY e.expense_type;",
        "dialect": "postgres"
      },
      {
        "title": "Monthly Order Trends",
        "sql": "SELECT DATE_TRUNC('month', o.order_date) AS month, COUNT(o.id) AS order_count FROM orders o GROUP BY month ORDER BY month;",
        "dialect": "postgres"
      },
      {
        "title": "Supplier Performance Analysis",
        "sql": "SELECT s.name, COUNT(o.id) AS orders_count FROM suppliers s JOIN products p ON s.id = p.supplier_id JOIN orders o ON p.id = o.product_id GROUP BY s.name;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Business Intelligence Dashboards",
        "body": "Data analysts can utilize this dataset to build interactive dashboards that visualize warehouse operations, helping stakeholders gain insights into inventory levels, order fulfillment, and expense management. These dashboards can drive strategic decisions and improve supply chain efficiency."
      },
      {
        "title": "Operational Analysis",
        "body": "Warehouse managers can analyze operational metrics such as order processing times and inventory turnover rates using this dataset. By identifying bottlenecks in the supply chain, they can implement improvements and optimize workflows for better performance."
      },
      {
        "title": "Financial Oversight",
        "body": "Finance teams can leverage this dataset to monitor and analyze expenses associated with warehouse operations. Understanding expense categories and their impact on overall profitability will help in making informed budgetary decisions."
      },
      {
        "title": "Supplier Relationship Management",
        "body": "Procurement teams can evaluate supplier performance using this dataset, analyzing metrics such as product availability and delivery efficiency. This analysis can aid in fostering better relationships with key suppliers and negotiating favorable terms."
      }
    ]
  },
  "counts": {
    "suppliers": 50,
    "products": 100,
    "inventory": 100,
    "orders": 200,
    "expenses": 150
  },
  "stats": {
    "products": {
      "rows": 100,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "name": {
          "nulls": 0,
          "distinct": 100,
          "min": "Alice Miller",
          "max": "Zoe Hughes"
        },
        "category": {
          "nulls": 0,
          "distinct": 4,
          "min": "Clothing",
          "max": "Furniture"
        },
        "price": {
          "nulls": 10,
          "distinct": 90,
          "min": 1.61,
          "max": 998.25
        },
        "supplier_id": {
          "nulls": 0,
          "distinct": 50,
          "min": 1,
          "max": 50
        }
      }
    },
    "inventory": {
      "rows": 100,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "product_id": {
          "nulls": 0,
          "distinct": 64,
          "min": 1,
          "max": 99
        },
        "current_stock": {
          "nulls": 0,
          "distinct": 92,
          "min": 10,
          "max": 488
        },
        "reorder_threshold": {
          "nulls": 11,
          "distinct": 61,
          "min": 0,
          "max": 98
        }
      }
    },
    "orders": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "product_id": {
          "nulls": 0,
          "distinct": 85,
          "min": 1,
          "max": 100
        },
        "quantity": {
          "nulls": 0,
          "distinct": 10,
          "min": 1,
          "max": 10
        },
        "total_cost": {
          "nulls": 23,
          "distinct": 177,
          "min": 22.13,
          "max": 9889.4
        },
        "order_date": {
          "nulls": 0,
          "distinct": 200,
          "min": "2022-01-01 16:24:13",
          "max": "2023-12-27 16:15:38"
        }
      }
    },
    "expenses": {
      "rows": 150,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 150,
          "min": 1,
          "max": 150
        },
        "order_id": {
          "nulls": 0,
          "distinct": 107,
          "min": 1,
          "max": 200
        },
        "expense_type": {
          "nulls": 0,
          "distinct": 3,
          "min": "Labor",
          "max": "Transportation"
        },
        "amount": {
          "nulls": 43,
          "distinct": 107,
          "min": 29.42,
          "max": 4898.57
        }
      }
    },
    "suppliers": {
      "rows": 50,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 50,
          "min": 1,
          "max": 50
        },
        "name": {
          "nulls": 0,
          "distinct": 50,
          "min": "Alice Wang",
          "max": "Zoe Wright"
        },
        "contact_email": {
          "nulls": 7,
          "distinct": 43
        },
        "location": {
          "nulls": 6,
          "distinct": 27,
          "min": "Ankara",
          "max": "Zurich"
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/suppliers.csv",
      "format": "csv",
      "table": "suppliers",
      "key": "datasets/warehouse-management-insights/v1/csv/suppliers.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/warehouse-management-insights/v1/csv/suppliers.csv",
      "bytes": 2182,
      "sha256": "fa9e83c1e47fdea6c46b54505c9a7a44092d9341616a9c5061a11c771a1d74b5",
      "rows": 50,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/products.csv",
      "format": "csv",
      "table": "products",
      "key": "datasets/warehouse-management-insights/v1/csv/products.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/warehouse-management-insights/v1/csv/products.csv",
      "bytes": 3458,
      "sha256": "5ce37fe7033bd968d62a4471062ed9a60bc89a29179bee8d080846f05f702291",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/inventory.csv",
      "format": "csv",
      "table": "inventory",
      "key": "datasets/warehouse-management-insights/v1/csv/inventory.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/warehouse-management-insights/v1/csv/inventory.csv",
      "bytes": 1376,
      "sha256": "f5ea9212ac131d5c4c5f73eb5688f2e4d5450f6d98ea9f1db92d01d52c953c3b",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/orders.csv",
      "format": "csv",
      "table": "orders",
      "key": "datasets/warehouse-management-insights/v1/csv/orders.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/warehouse-management-insights/v1/csv/orders.csv",
      "bytes": 7356,
      "sha256": "bd1aabd979331704eda5adc4676f16f84ba27ef8626750ab0ce88b105ba7f797",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/expenses.csv",
      "format": "csv",
      "table": "expenses",
      "key": "datasets/warehouse-management-insights/v1/csv/expenses.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/warehouse-management-insights/v1/csv/expenses.csv",
      "bytes": 3491,
      "sha256": "b61eceaca9ac3f1377505cb51be2700303308767c9847966607011fc792b2087",
      "rows": 150,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "warehouse-management-insights.json",
      "format": "json",
      "table": null,
      "key": "datasets/warehouse-management-insights/v1/warehouse-management-insights.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/warehouse-management-insights/v1/warehouse-management-insights.json",
      "bytes": 76548,
      "sha256": "2c41d2285a9b4d62acdbd41cc1156010d0537a90d36d381767a48e613555e3b0",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/warehouse-management-insights/v1/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/warehouse-management-insights/v1/sql/postgres.sql",
      "bytes": 27854,
      "sha256": "d8aa8e94fb318457b055d3dccb3cb5c4a846fde2244a2e1a32234f1caa1a66cb",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/warehouse-management-insights/v1/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/warehouse-management-insights/v1/sql/mysql.sql",
      "bytes": 27294,
      "sha256": "7a1c37a7353e17ccd93a7d4a64d0368dd77c0e5b064f5ee09ff3c17e389860cd",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/warehouse-management-insights/v1/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/warehouse-management-insights/v1/sql/mssql.sql",
      "bytes": 28293,
      "sha256": "51c09e1496c2025c7b6150e920912284bb63d6a1d7779e38e5f8136c65f0dc4d",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/warehouse-management-insights/v1/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/warehouse-management-insights/v1/sql/sqlite.sql",
      "bytes": 27118,
      "sha256": "dbc872f7399f6645113fad444f8ff7ded36c4e737012152638b953e8cc4f07c8",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/warehouse-management-insights/v1/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/warehouse-management-insights/v1/prisma/seed.ts",
      "bytes": 61288,
      "sha256": "7d772d1711e02396042827253047bc412f6246714645ce9babe20b1d6c2325b1",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/warehouse-management-insights/v1/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/warehouse-management-insights/v1/django/fixtures.json",
      "bytes": 101894,
      "sha256": "ec5060c3842c1cca20c9d3d7ede50851b0020264ee66110eff152f74b2a77d13",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788767725514,
  "updatedAt": 1788767725514
}
