{
  "format": "dataset-manifest/1",
  "slug": "eco-friendly-product-finder",
  "version": 2,
  "seed": "eco-friendly-product-finder:1",
  "spec": {
    "format": "dataset/1",
    "slug": "eco-friendly-product-finder",
    "name": "Sustainable Product Marketplace",
    "tagline": "User profiles, eco-friendly products, manufacturers, categories, and eco-labels from a sustainable marketplace.",
    "description": "Shoppers explore a retail platform dedicated to eco-friendly products, seeking items that align with their values of sustainability and health. Users create profiles to personalize their shopping experience, allowing them to track their favorite products and receive tailored recommendations. The platform features a wide variety of products, each associated with different manufacturers that emphasize environmentally responsible practices. These manufacturers play a key role in ensuring that the products meet the sustainability standards expected by consumers.\n\nThe data is structured across several related tables: users, products, manufacturers, categories, and eco_labels. Each user profile contains unique information about the shopper, such as preferences and purchase history. Products are listed with details about their features, prices, and the manufacturer responsible for them. Manufacturers are linked to the products they create, ensuring that consumers can trace the origin of what they buy. Categories help to classify products based on their types, such as household goods or luxury items, while eco_labels indicate certifications that confirm a product's environmental credentials. This data relationship allows users to filter products based on both their category and eco-labels, guiding them towards choices that match their values.\n\nThe questions this dataset can answer include which products are most popular among eco-conscious consumers, how different eco-labels influence purchasing decisions, and what trends are emerging in sustainable goods. By analyzing the relationships among these tables, developers can practice formulating complex queries, creating dashboards for insights, and developing features that improve user engagement. This dataset is synthetic, designed to simulate a realistic e-commerce environment focused on sustainability.",
    "domain": "ecommerce",
    "shape": "ledger",
    "useCases": [
      "sql-practice",
      "teaching"
    ],
    "keywords": [
      "eco-friendly",
      "sustainable",
      "products",
      "marketplace",
      "ecommerce",
      "user profiles",
      "manufacturers",
      "eco-labels",
      "household goods",
      "data analysis"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "users": {
        "description": "This table contains user profiles for shoppers on the marketplace. Each row represents a unique user with their preferences and demographic information.",
        "rows": 200,
        "columns": {
          "user_id": {
            "kind": "pk",
            "description": "Unique identifier for each user."
          },
          "full_name": {
            "kind": "fullName",
            "description": "The full name of the user."
          },
          "email": {
            "kind": "email",
            "from": "full_name",
            "description": "User's email address for communication."
          },
          "preferences": {
            "kind": "words",
            "max": 50,
            "description": "User's preferences regarding sustainable products."
          },
          "signup_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Date the user signed up on the platform.",
            "trend": "growing"
          }
        }
      },
      "products": {
        "description": "This table represents the products available in the marketplace. Each row details a product, its attributes, and the manufacturer.",
        "rows": 500,
        "columns": {
          "product_id": {
            "kind": "pk",
            "description": "Unique identifier for each product."
          },
          "product_name": {
            "kind": "productName",
            "description": "The name of the product."
          },
          "manufacturer_id": {
            "kind": "fk",
            "ref": "manufacturers.manufacturer_id",
            "description": "Reference to the manufacturer of the product."
          },
          "category_id": {
            "kind": "fk",
            "ref": "categories.category_id",
            "description": "Reference to the product category."
          },
          "eco_label_id": {
            "kind": "fk",
            "ref": "eco_labels.eco_label_id",
            "nullable": true,
            "description": "Reference to the eco-label associated with the product."
          },
          "price": {
            "kind": "decimal",
            "min": 5,
            "max": 500,
            "scale": 2,
            "description": "Price of the product in USD.",
            "distribution": "long-tail"
          },
          "packaging_type": {
            "kind": "enum",
            "values": [
              "recyclable",
              "biodegradable",
              "compostable",
              "refillable"
            ],
            "description": "Type of packaging used for the product."
          }
        }
      },
      "manufacturers": {
        "description": "This table holds information about manufacturers that produce eco-friendly products. Each row contains details about the manufacturer's sustainability practices.",
        "rows": 100,
        "columns": {
          "manufacturer_id": {
            "kind": "pk",
            "description": "Unique identifier for each manufacturer."
          },
          "company_name": {
            "kind": "company",
            "description": "Name of the manufacturing company."
          },
          "location": {
            "kind": "city",
            "description": "City where the manufacturer is located."
          },
          "sustainability_rating": {
            "kind": "decimal",
            "min": 1,
            "max": 5,
            "scale": 0,
            "description": "Rating of the manufacturer's sustainability efforts.",
            "distribution": "high"
          }
        }
      },
      "categories": {
        "description": "This table categorizes the products available in the marketplace. Each row represents a unique category for organizing products.",
        "rows": 20,
        "columns": {
          "category_id": {
            "kind": "pk",
            "description": "Unique identifier for each product category."
          },
          "category_name": {
            "kind": "words",
            "max": 30,
            "description": "Name of the product category."
          }
        }
      },
      "eco_labels": {
        "description": "This table lists eco-labels that certify products for compliance with environmental standards. Each row represents a certification label.",
        "rows": 15,
        "columns": {
          "eco_label_id": {
            "kind": "pk",
            "description": "Unique identifier for each eco-label."
          },
          "label_name": {
            "kind": "words",
            "max": 50,
            "description": "Name of the eco-label."
          },
          "certification_body": {
            "kind": "words",
            "max": 50,
            "description": "Organization that issues the certification."
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "categorical",
      "nullable",
      "high-cardinality"
    ],
    "analysisQuestions": [
      "What are the most popular product categories among users?",
      "How do user preferences vary by location?",
      "Which manufacturers have the highest sustainability ratings?",
      "What types of packaging are most commonly used in products?",
      "How many products are certified with eco-labels?"
    ],
    "suggestedQueries": [
      {
        "title": "Join Users and Products",
        "sql": "SELECT u.full_name, p.product_name FROM users u JOIN products p ON u.user_id = p.product_id;",
        "dialect": "postgres"
      },
      {
        "title": "Count Products by Category",
        "sql": "SELECT c.category_name, COUNT(p.product_id) FROM categories c JOIN products p ON c.category_id = p.category_id GROUP BY c.category_name;",
        "dialect": "postgres"
      },
      {
        "title": "Average Price of Products by Manufacturer",
        "sql": "SELECT m.company_name, AVG(p.price) FROM manufacturers m JOIN products p ON m.manufacturer_id = p.manufacturer_id GROUP BY m.company_name;",
        "dialect": "postgres"
      },
      {
        "title": "Products with Eco-Labels",
        "sql": "SELECT p.product_name, e.label_name FROM products p LEFT JOIN eco_labels e ON p.eco_label_id = e.eco_label_id WHERE e.eco_label_id IS NOT NULL;",
        "dialect": "postgres"
      },
      {
        "title": "User Preferences by Signup Date",
        "sql": "SELECT u.signup_date, COUNT(u.user_id) FROM users u GROUP BY u.signup_date;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "SQL Practice for Students",
        "body": "Students studying data analysis or database management can use this dataset to practice SQL queries. They can explore relationships between users and products, analyze trends in sustainable shopping, and learn how to manipulate and aggregate data effectively."
      },
      {
        "title": "E-commerce Analytics Training",
        "body": "Data analysts in e-commerce can leverage this dataset to understand customer behavior and product trends in the sustainable product market. It provides a platform for them to test queries, generate reports, and visualize data insights."
      },
      {
        "title": "Curriculum Development for Teaching",
        "body": "Educators can utilize this dataset to create engaging lesson plans and projects for students in data science and e-commerce fields. It offers hands-on experience with real-world data structures, promoting understanding of eco-friendly product dynamics."
      },
      {
        "title": "Market Research for Entrepreneurs",
        "body": "Entrepreneurs exploring the sustainable product market can analyze this dataset to identify potential niches and consumer preferences. It aids in making informed decisions about product offerings and marketing strategies geared towards eco-conscious shoppers."
      }
    ]
  },
  "counts": {
    "categories": 20,
    "eco_labels": 15,
    "manufacturers": 100,
    "products": 500,
    "users": 200
  },
  "stats": {
    "users": {
      "rows": 200,
      "columns": {
        "user_id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "full_name": {
          "nulls": 0,
          "distinct": 198,
          "min": "Alice Khan",
          "max": "Zoe Diaz"
        },
        "email": {
          "nulls": 0,
          "distinct": 199
        },
        "preferences": {
          "nulls": 0,
          "distinct": 200
        },
        "signup_date": {
          "nulls": 0,
          "distinct": 176,
          "min": "2020-01-03",
          "max": "2023-12-13"
        }
      }
    },
    "products": {
      "rows": 500,
      "columns": {
        "product_id": {
          "nulls": 0,
          "distinct": 500,
          "min": 1,
          "max": 500
        },
        "product_name": {
          "nulls": 0,
          "distinct": 305,
          "min": "Classic Backpack",
          "max": "Wireless Umbrella"
        },
        "manufacturer_id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "category_id": {
          "nulls": 0,
          "distinct": 20,
          "min": 1,
          "max": 20
        },
        "eco_label_id": {
          "nulls": 37,
          "distinct": 15,
          "min": 1,
          "max": 15
        },
        "price": {
          "nulls": 0,
          "distinct": 495,
          "min": 5.01,
          "max": 497.07
        },
        "packaging_type": {
          "nulls": 0,
          "distinct": 4,
          "min": "biodegradable",
          "max": "refillable"
        }
      }
    },
    "manufacturers": {
      "rows": 100,
      "columns": {
        "manufacturer_id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "company_name": {
          "nulls": 0,
          "distinct": 91,
          "min": "Acme Logistics",
          "max": "Vista Partners"
        },
        "location": {
          "nulls": 0,
          "distinct": 52,
          "min": "Amsterdam",
          "max": "Zurich"
        },
        "sustainability_rating": {
          "nulls": 0,
          "distinct": 5,
          "min": 1,
          "max": 5
        }
      }
    },
    "categories": {
      "rows": 20,
      "columns": {
        "category_id": {
          "nulls": 0,
          "distinct": 20,
          "min": 1,
          "max": 20
        },
        "category_name": {
          "nulls": 0,
          "distinct": 20
        }
      }
    },
    "eco_labels": {
      "rows": 15,
      "columns": {
        "eco_label_id": {
          "nulls": 0,
          "distinct": 15,
          "min": 1,
          "max": 15
        },
        "label_name": {
          "nulls": 0,
          "distinct": 15
        },
        "certification_body": {
          "nulls": 0,
          "distinct": 15
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/categories.csv",
      "format": "csv",
      "table": "categories",
      "key": "datasets/eco-friendly-product-finder/v2/csv/categories.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/eco-friendly-product-finder/v2/csv/categories.csv",
      "bytes": 2421,
      "sha256": "0e959a7b19555316e1858066ce9985763a7e3af13139fd7527a9d9ce8b167597",
      "rows": 20,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/eco_labels.csv",
      "format": "csv",
      "table": "eco_labels",
      "key": "datasets/eco-friendly-product-finder/v2/csv/eco_labels.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/eco-friendly-product-finder/v2/csv/eco_labels.csv",
      "bytes": 5912,
      "sha256": "e4f165c0c43ed2c81c0874a634dd366112db707c482928fb48c7b8f27ad1817f",
      "rows": 15,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/manufacturers.csv",
      "format": "csv",
      "table": "manufacturers",
      "key": "datasets/eco-friendly-product-finder/v2/csv/manufacturers.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/eco-friendly-product-finder/v2/csv/manufacturers.csv",
      "bytes": 2900,
      "sha256": "648c6f4de0f72a3d6d872c23765e05f35947e4626336a395ad4a8b11ce114baf",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/products.csv",
      "format": "csv",
      "table": "products",
      "key": "datasets/eco-friendly-product-finder/v2/csv/products.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/eco-friendly-product-finder/v2/csv/products.csv",
      "bytes": 23051,
      "sha256": "8b8d5d746a7a31347c04c5a4ecebb64de71b8d48593fe0f514da8289eb40d5f6",
      "rows": 500,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/users.csv",
      "format": "csv",
      "table": "users",
      "key": "datasets/eco-friendly-product-finder/v2/csv/users.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/eco-friendly-product-finder/v2/csv/users.csv",
      "bytes": 43979,
      "sha256": "be187d92f3e816a4c42d58c9c7a6f2cfa1742f3f195e373fa3d276302292d074",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "eco-friendly-product-finder.json",
      "format": "json",
      "table": null,
      "key": "datasets/eco-friendly-product-finder/v2/eco-friendly-product-finder.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/eco-friendly-product-finder/v2/eco-friendly-product-finder.json",
      "bytes": 201089,
      "sha256": "845a13159f61fa4da49d864d3c309a030d06b902f61d72901c9ac0c66e7df554",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/eco-friendly-product-finder/v2/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/eco-friendly-product-finder/v2/sql/postgres.sql",
      "bytes": 94618,
      "sha256": "8a1cba27e6e572be752e0b2e35c38556efb39baacfec676eb0c2972f673ccd4b",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/eco-friendly-product-finder/v2/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/eco-friendly-product-finder/v2/sql/mysql.sql",
      "bytes": 93973,
      "sha256": "61df51c264ac189d69174ff0da55fff7dd95089c66043e4bce9994bd7f917529",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/eco-friendly-product-finder/v2/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/eco-friendly-product-finder/v2/sql/mssql.sql",
      "bytes": 96350,
      "sha256": "a084c8877face3225eade5b07df054efbf2176ae8fad397d0966e8d3706d9db2",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/eco-friendly-product-finder/v2/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/eco-friendly-product-finder/v2/sql/sqlite.sql",
      "bytes": 93772,
      "sha256": "b1407138fe9b1e21af1ded3ec8aff35c0d46503d062322d8969d20bbeb1a2e2b",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/eco-friendly-product-finder/v2/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/eco-friendly-product-finder/v2/prisma/seed.ts",
      "bytes": 166757,
      "sha256": "31bf3fffa126f9b5ada71cbeac67bc8cee09bea2833327da41d9725b8bfe6cbe",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/eco-friendly-product-finder/v2/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/eco-friendly-product-finder/v2/django/fixtures.json",
      "bytes": 227791,
      "sha256": "c07419ae819cb9aaf53ae463bc61923458c0b2303f95bcd0d7cd9230c193b3a0",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788768695025,
  "updatedAt": 1788778423898
}
