{
  "format": "dataset-manifest/1",
  "slug": "home-furnishings-marketplace-dataset",
  "version": 2,
  "seed": "home-furnishings-marketplace-dataset:1",
  "spec": {
    "format": "dataset/1",
    "slug": "home-furnishings-marketplace-dataset",
    "name": "Home Furnishings Marketplace Dataset",
    "tagline": "Customer profiles, order details, product listings, and supplier information from a home furnishings marketplace.",
    "description": "Customers browse an extensive selection of home furnishings, from chic sofas to elegant lighting fixtures, all designed to transform their living spaces. Orders are placed online, and each transaction records essential details about the purchased items, customer preferences, and the suppliers who provide the products. This marketplace thrives on a diverse inventory, where each product is linked to information about its supplier, including pricing and availability, ensuring that customers receive quality furnishings in a timely manner.\n\nIn this dataset, the 'customers' table includes profiles that capture essential information about shoppers, such as their preferences and purchasing behavior. The 'orders' table lists each transaction, detailing the customer ID associated with the order, the date, total amount spent, and the products included. The 'products' table provides vital information about each item for sale, including categories, descriptions, and supplier IDs. Lastly, the 'suppliers' table contains data on the businesses that manufacture or distribute the products, offering insight into their contributions and reliability. Each row in the orders table connects a specific customer with the products they purchased, while the products relate back to their suppliers, creating a network of relationships essential for understanding the marketplace dynamics.\n\nDevelopers can use this data to answer questions around customer buying patterns, item popularity, and supplier performance. Analyzing how different customers interact with varying product categories can reveal trends and help optimize inventory management. Practicing with this dataset allows for exploration of order fulfillment processes and customer satisfaction metrics. It's important to note that all data in this dataset is synthetic, designed to simulate a real-world marketplace environment without compromising real customer information.",
    "domain": "ecommerce",
    "shape": "hierarchical",
    "useCases": [
      "sql-practice",
      "teaching"
    ],
    "keywords": [
      "ecommerce",
      "furniture",
      "marketplace",
      "orders",
      "customers",
      "inventory",
      "suppliers"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "customers": {
        "description": "This table contains information about customers, including their demographics and location. Each customer is uniquely identified and can have multiple orders associated with them.",
        "rows": 500,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each customer."
          },
          "full_name": {
            "kind": "fullName",
            "description": "The full name of the customer."
          },
          "email": {
            "kind": "email",
            "from": "full_name",
            "description": "Email address of the customer."
          },
          "city": {
            "kind": "city",
            "description": "City where the customer resides."
          },
          "country": {
            "kind": "country",
            "from": "city",
            "description": "Country where the customer resides."
          }
        }
      },
      "orders": {
        "description": "This table records details of customer orders, including the products purchased. It links to the customers table, allowing users to analyze customer purchasing behavior.",
        "rows": {
          "per": "customers",
          "via": "customer_id",
          "min": 1,
          "max": 5,
          "skew": "heavy-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each order."
          },
          "customer_id": {
            "kind": "fk",
            "ref": "customers.id",
            "description": "Reference to the customer who placed the order."
          },
          "order_date": {
            "kind": "datetime",
            "from": "2022-01-01",
            "to": "2023-12-31",
            "description": "The date when the order was placed.",
            "dayProfile": "waking"
          },
          "total_amount": {
            "kind": "decimal",
            "min": 20,
            "max": 2000,
            "scale": 2,
            "description": "Total amount for the order.",
            "distribution": "long-tail"
          }
        }
      },
      "products": {
        "description": "This table lists products available in the marketplace, detailing their categories and inventory levels. Each product can be linked to multiple orders from the orders table.",
        "rows": 300,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each product."
          },
          "product_name": {
            "kind": "productName",
            "description": "The name of the product."
          },
          "category": {
            "kind": "enum",
            "values": [
              "Furniture",
              "Decor",
              "Accessories"
            ],
            "description": "The category of the product.",
            "weights": [
              6,
              3,
              1
            ]
          },
          "supplier_id": {
            "kind": "fk",
            "ref": "suppliers.id",
            "description": "Reference to the supplier providing the product."
          },
          "inventory_level": {
            "kind": "int",
            "min": 0,
            "max": 100,
            "description": "Current inventory level of the product.",
            "distribution": "long-tail"
          }
        }
      },
      "suppliers": {
        "description": "This table contains information about suppliers who provide products to the marketplace. Each supplier can supply multiple products.",
        "rows": 100,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each supplier."
          },
          "company_name": {
            "kind": "company",
            "description": "Name of the supplier company."
          },
          "contact_email": {
            "kind": "email",
            "from": "company_name",
            "description": "Email address for contacting the supplier."
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "categorical",
      "timestamped",
      "high-cardinality"
    ],
    "analysisQuestions": [
      "What are the most popular product categories among customers?",
      "How does the average order value vary across different customer demographics?",
      "Which suppliers provide the most products, and how does this affect inventory levels?",
      "What trends can be observed in order placements over time?"
    ],
    "suggestedQueries": [
      {
        "title": "Join Orders and Customers",
        "sql": "SELECT o.id, c.full_name, o.total_amount FROM orders o JOIN customers c ON o.customer_id = c.id;",
        "dialect": "postgres"
      },
      {
        "title": "Aggregate Order Totals by Customer",
        "sql": "SELECT c.full_name, SUM(o.total_amount) as total_spent FROM orders o JOIN customers c ON o.customer_id = c.id GROUP BY c.full_name;",
        "dialect": "postgres"
      },
      {
        "title": "Products Supplied by Each Supplier",
        "sql": "SELECT s.company_name, COUNT(p.id) as product_count FROM suppliers s JOIN products p ON s.id = p.supplier_id GROUP BY s.company_name;",
        "dialect": "postgres"
      },
      {
        "title": "Inventory Levels by Product Category",
        "sql": "SELECT p.category, SUM(p.inventory_level) as total_inventory FROM products p GROUP BY p.category;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Retail Analyst",
        "body": "A retail analyst can utilize this dataset to identify sales trends and customer preferences within the home furnishings market. By analyzing which product categories are most popular among different demographics, they can make informed decisions about inventory management and marketing strategies."
      },
      {
        "title": "Data Science Student",
        "body": "A data science student can use this dataset to practice SQL skills and learn about database design. By constructing queries that join multiple tables, they can gain practical experience in data manipulation and analysis, preparing them for real-world data science roles."
      },
      {
        "title": "Business Intelligence Developer",
        "body": "A business intelligence developer can leverage this data to create interactive dashboards that visualize sales performance and inventory levels. This visualization can help stakeholders quickly assess business health and make strategic decisions based on data insights."
      },
      {
        "title": "Supply Chain Manager",
        "body": "A supply chain manager can analyze supplier performance using this dataset. By examining the relationship between suppliers and product inventory levels, they can optimize sourcing strategies and ensure that inventory meets customer demand."
      }
    ]
  },
  "counts": {
    "customers": 500,
    "orders": 991,
    "suppliers": 100,
    "products": 300
  },
  "stats": {
    "customers": {
      "rows": 500,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 500,
          "min": 1,
          "max": 500
        },
        "full_name": {
          "nulls": 0,
          "distinct": 474,
          "min": "Alice Hansen",
          "max": "Zoe Vargas"
        },
        "email": {
          "nulls": 0,
          "distinct": 489
        },
        "city": {
          "nulls": 0,
          "distinct": 63,
          "min": "Amsterdam",
          "max": "Zurich"
        },
        "country": {
          "nulls": 0,
          "distinct": 43,
          "min": "Argentina",
          "max": "United States"
        }
      }
    },
    "orders": {
      "rows": 991,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 991,
          "min": 1,
          "max": 991
        },
        "customer_id": {
          "nulls": 0,
          "distinct": 500,
          "min": 1,
          "max": 500
        },
        "order_date": {
          "nulls": 0,
          "distinct": 991,
          "min": "2022-01-01 17:51:43",
          "max": "2023-12-31 17:10:43"
        },
        "total_amount": {
          "nulls": 0,
          "distinct": 990,
          "min": 20,
          "max": 1999.77
        }
      }
    },
    "products": {
      "rows": 300,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 300,
          "min": 1,
          "max": 300
        },
        "product_name": {
          "nulls": 0,
          "distinct": 234,
          "min": "Classic Backpack",
          "max": "Wireless Umbrella"
        },
        "category": {
          "nulls": 0,
          "distinct": 3,
          "min": "Accessories",
          "max": "Furniture"
        },
        "supplier_id": {
          "nulls": 0,
          "distinct": 95,
          "min": 1,
          "max": 100
        },
        "inventory_level": {
          "nulls": 0,
          "distinct": 84,
          "min": 0,
          "max": 98
        }
      }
    },
    "suppliers": {
      "rows": 100,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "company_name": {
          "nulls": 0,
          "distinct": 94,
          "min": "Acme Foods",
          "max": "Willow Media"
        },
        "contact_email": {
          "nulls": 0,
          "distinct": 100
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/customers.csv",
      "format": "csv",
      "table": "customers",
      "key": "datasets/home-furnishings-marketplace-dataset/v2/csv/customers.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/home-furnishings-marketplace-dataset/v2/csv/customers.csv",
      "bytes": 28970,
      "sha256": "d3a2d322829c3892f877c99cbc83bbf140562e5ceed3ed63419dd35916f6dadb",
      "rows": 500,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/orders.csv",
      "format": "csv",
      "table": "orders",
      "key": "datasets/home-furnishings-marketplace-dataset/v2/csv/orders.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/home-furnishings-marketplace-dataset/v2/csv/orders.csv",
      "bytes": 35501,
      "sha256": "c2d7d21533cf8bc00aa10e2dc71ed9dc9a5b79aa87c2747179342901c7364cba",
      "rows": 991,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/suppliers.csv",
      "format": "csv",
      "table": "suppliers",
      "key": "datasets/home-furnishings-marketplace-dataset/v2/csv/suppliers.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/home-furnishings-marketplace-dataset/v2/csv/suppliers.csv",
      "bytes": 4463,
      "sha256": "657507189370f60026596301944a2af245f3396a856616355e844e08bdd59744",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/products.csv",
      "format": "csv",
      "table": "products",
      "key": "datasets/home-furnishings-marketplace-dataset/v2/csv/products.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/home-furnishings-marketplace-dataset/v2/csv/products.csv",
      "bytes": 10310,
      "sha256": "0d5213e8bde8e0992a0875b9d51c795a8a648b40878563f8d340505d60128829",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "home-furnishings-marketplace-dataset.json",
      "format": "json",
      "table": null,
      "key": "datasets/home-furnishings-marketplace-dataset/v2/home-furnishings-marketplace-dataset.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/home-furnishings-marketplace-dataset/v2/home-furnishings-marketplace-dataset.json",
      "bytes": 263629,
      "sha256": "bb4f54ff9b75edb859a0f9fc81e098adaa31f7f71a933d61a42ef42465a05f62",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/home-furnishings-marketplace-dataset/v2/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/home-furnishings-marketplace-dataset/v2/sql/postgres.sql",
      "bytes": 107116,
      "sha256": "d97d786e473011b98e3c15f45f3caf454a39ba8055f2fe627837fcc4a8f033a4",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/home-furnishings-marketplace-dataset/v2/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/home-furnishings-marketplace-dataset/v2/sql/mysql.sql",
      "bytes": 106680,
      "sha256": "7593257d584bb4295ddcb0823bff2c345b1737570b3c45d5548b7653bee4dcf0",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/home-furnishings-marketplace-dataset/v2/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/home-furnishings-marketplace-dataset/v2/sql/mssql.sql",
      "bytes": 110724,
      "sha256": "59c0cb9d5c00ed9deef5a73aa46fcd7ad1fa703424d5052cc4ee08bb14e6e993",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/home-furnishings-marketplace-dataset/v2/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/home-furnishings-marketplace-dataset/v2/sql/sqlite.sql",
      "bytes": 106537,
      "sha256": "84b599712f3527ed7d7c9b09d0ff52ab162c2722c2d4800d9a28572189412285",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/home-furnishings-marketplace-dataset/v2/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/home-furnishings-marketplace-dataset/v2/prisma/seed.ts",
      "bytes": 219052,
      "sha256": "ff7845421819c86a1623497f75c45db3ddb3da5cc7f0276ebd888ca51a8461d8",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/home-furnishings-marketplace-dataset/v2/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/home-furnishings-marketplace-dataset/v2/django/fixtures.json",
      "bytes": 344583,
      "sha256": "7ec6ca7c8f1e950b60b97ab9262a108e8851be151c9ad14d69ef6543b41d96c6",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788766122249,
  "updatedAt": 1788784283477
}
