{
  "format": "dataset-manifest/1",
  "slug": "eco-friendly-product-finder-and-guide",
  "version": 4,
  "seed": "eco-friendly-product-finder-and-guide:1",
  "engine": 1,
  "engineVersion": "1.0.0",
  "spec": {
    "format": "dataset/1",
    "slug": "eco-friendly-product-finder-and-guide",
    "name": "Eco Product Insights",
    "tagline": "Product details, eco ratings, user feedback, and trends for sustainable shopping in the ecommerce sector.",
    "description": "Sustainable shopping drives consumers to seek out products that minimize environmental impact and promote eco-friendliness. Shoppers regularly scan items to evaluate their eco ratings, which influences their purchasing decisions and fosters a demand for transparency in product sourcing and manufacturing. Brands leverage this trend by offering products designed with alternative materials, sustainable packaging, and various certifications that assure consumers of their environmental commitment. The vibrant interaction between consumers and products creates valuable insights into the eco-conscious market, highlighting trends in consumer preferences and brand performance.\n\nIn this dataset, the 'products' table contains information on individual items, detailing aspects such as their carbon footprints, packaging types, and certifications. Each product may be linked to a specific 'brand' in the 'brands' table, which provides context about the manufacturer, including brand reputation and eco-focused initiatives. Users engage with these products through the 'product_scans' table, which logs instances of consumers scanning items to discover their eco ratings, reflecting real-time consumer interest and behavior. Additionally, the 'user_feedback' table captures reviews and ratings provided by shoppers, offering qualitative insights into consumer satisfaction and product performance.\n\nThe 'product_trends' table summarizes evolving patterns in customer preferences and popular brands, allowing analysts to track shifts in consumer behavior over time. By examining how these tables interact—such as linking product scans to specific products and their brands—developers can gain a comprehensive understanding of the eco-friendly market landscape.\n\nThis synthetic dataset allows practitioners to explore questions around product performance, brand popularity, and consumer sentiment, making it an excellent resource for honing data analysis skills and gaining insights into the increasingly relevant field of sustainable ecommerce.",
    "domain": "ecommerce",
    "shape": "time-series",
    "useCases": [
      "analytics-demo",
      "bi-dashboards"
    ],
    "keywords": [
      "eco-friendly",
      "sustainable shopping",
      "product insights",
      "carbon footprint",
      "certifications",
      "packaging types"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "products": {
        "description": "This table contains information about eco-friendly products available in the market. Each product is linked to its respective brand and contains attributes related to sustainability.",
        "rows": 300,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each product."
          },
          "name": {
            "kind": "productName",
            "description": "The name of the product."
          },
          "brand_id": {
            "kind": "fk",
            "ref": "brands.id",
            "description": "Foreign key linking to the brand table."
          },
          "carbon_footprint": {
            "kind": "decimal",
            "min": 0,
            "max": 100,
            "scale": 2,
            "description": "Carbon footprint of the product in kg CO2 equivalent.",
            "nullable": true,
            "when": {
              "column": "packaging_type",
              "in": [
                "recyclable",
                "biodegradable"
              ]
            },
            "distribution": "normal"
          },
          "packaging_type": {
            "kind": "enum",
            "values": [
              "recyclable",
              "biodegradable",
              "compostable",
              "non-recyclable"
            ],
            "description": "Type of packaging used for the product."
          },
          "alternative_materials": {
            "kind": "words",
            "max": 3,
            "description": "List of alternative materials used in the product.",
            "nullable": true,
            "when": {
              "column": "packaging_type",
              "in": [
                "compostable",
                "non-recyclable"
              ]
            },
            "pool": [
              "bamboo",
              "recycled",
              "organic",
              "biodegradable",
              "cork",
              "hemp",
              "glass",
              "steel",
              "paper",
              "wood",
              "cotton",
              "silicone",
              "natural",
              "plant",
              "aluminum",
              "compostable",
              "linen",
              "jute",
              "wool",
              "ceramic",
              "sisal"
            ],
            "min": 1
          }
        }
      },
      "brands": {
        "description": "This table lists the brands that produce eco-friendly products. It includes information about their sustainability practices and certifications.",
        "rows": 100,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each brand."
          },
          "name": {
            "kind": "company",
            "description": "The name of the brand."
          },
          "certification": {
            "kind": "words",
            "max": 3,
            "description": "Sustainability certifications held by the brand.",
            "pool": [
              "organic",
              "fairtrade",
              "crueltyfree",
              "carbonneutral",
              "eco",
              "sustainable",
              "recycled",
              "vegan",
              "green",
              "bcorp",
              "energystar",
              "fsc",
              "usda",
              "iso",
              "gmp",
              "ecomark",
              "certified",
              "lowimpact",
              "non-toxic",
              "renewable"
            ],
            "min": 1
          },
          "sustainability_score": {
            "kind": "decimal",
            "min": 0,
            "max": 100,
            "scale": 2,
            "description": "Score reflecting the brand's sustainability practices.",
            "distribution": "high"
          }
        }
      },
      "product_scans": {
        "description": "This table records product scans by users, indicating interest in specific eco-friendly products over time.",
        "rows": 500,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each scan record."
          },
          "product_id": {
            "kind": "fk",
            "ref": "products.id",
            "description": "Foreign key linking to the products table."
          },
          "scan_date": {
            "kind": "date",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "Date when the product was scanned.",
            "trend": "growing"
          },
          "user_id": {
            "kind": "uuid",
            "description": "Unique identifier for the user who scanned the product."
          },
          "scan_time": {
            "kind": "time",
            "from": "00:00:00",
            "to": "23:59:59",
            "description": "Time of day when the product was scanned."
          },
          "device_type": {
            "kind": "enum",
            "values": [
              "mobile",
              "desktop",
              "tablet"
            ],
            "weights": [
              50,
              30,
              20
            ],
            "description": "Type of device used to scan the product."
          }
        }
      },
      "user_feedback": {
        "description": "This table captures user feedback on eco-friendly products, allowing for insights into consumer satisfaction and product effectiveness.",
        "rows": 400,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each feedback record."
          },
          "product_id": {
            "kind": "fk",
            "ref": "products.id",
            "description": "Foreign key linking to the products table."
          },
          "user_id": {
            "kind": "uuid",
            "description": "Unique identifier for the user providing feedback."
          },
          "rating": {
            "kind": "int",
            "min": 1,
            "max": 5,
            "description": "Rating given to the product by the user.",
            "distribution": "high"
          },
          "comments": {
            "kind": "paragraph",
            "max": 500,
            "description": "User's comments regarding the product."
          }
        }
      },
      "product_trends": {
        "description": "This table summarizes monthly trends in the eco-friendly product market, showing changes in consumer interest and product offerings.",
        "rows": 24,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each trend record."
          },
          "month": {
            "kind": "date",
            "from": "2023-01-01",
            "to": "2024-12-31",
            "description": "Month of the trend data.",
            "trend": "seasonal"
          },
          "total_scans": {
            "kind": "int",
            "min": 0,
            "max": 10000,
            "description": "Total number of scans for eco-friendly products in that month.",
            "distribution": "long-tail"
          },
          "new_products": {
            "kind": "int",
            "min": 0,
            "max": 100,
            "description": "Number of new eco-friendly products introduced in that month.",
            "distribution": "long-tail"
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "timestamped",
      "categorical",
      "nullable",
      "high-cardinality"
    ],
    "analysisQuestions": [
      "What are the most popular eco-friendly products based on scan data?",
      "How do consumer ratings correlate with product carbon footprints?",
      "Which brands have the highest sustainability scores and the most certifications?",
      "What trends can be observed in eco-friendly product introductions over the past year?",
      "How does packaging type affect consumer interest in eco-friendly products?"
    ],
    "suggestedQueries": [
      {
        "title": "Join Products with Brands",
        "sql": "SELECT p.name, b.name FROM products p JOIN brands b ON p.brand_id = b.id;",
        "dialect": "postgres"
      },
      {
        "title": "Average Rating of Products by Brand",
        "sql": "SELECT b.name, AVG(f.rating) FROM user_feedback f JOIN products p ON f.product_id = p.id JOIN brands b ON p.brand_id = b.id GROUP BY b.name;",
        "dialect": "postgres"
      },
      {
        "title": "Monthly Scan Trends",
        "sql": "SELECT month, SUM(total_scans) FROM product_trends GROUP BY month ORDER BY month;",
        "dialect": "postgres"
      },
      {
        "title": "Products with Ratings Above Average",
        "sql": "SELECT p.name FROM products p JOIN user_feedback f ON p.id = f.product_id GROUP BY p.id HAVING AVG(f.rating) > 3;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Data Analysts Exploring Trends",
        "body": "Data analysts can leverage this dataset to examine trends in eco-friendly product scanning and consumer behavior. By analyzing the product scans over time, they can identify which products are gaining traction in the market and which brands are leading in sustainability."
      },
      {
        "title": "Business Intelligence Dashboards",
        "body": "Businesses looking to create BI dashboards can use this dataset to visualize important metrics such as total scans, product ratings, and new product introductions. This can help stakeholders make informed decisions regarding product development and marketing strategies focused on sustainability."
      },
      {
        "title": "Marketing Teams Assessing Consumer Feedback",
        "body": "Marketing teams can utilize the user feedback table to assess consumer satisfaction with eco-friendly products. By analyzing comments and ratings, they can identify areas for improvement and tailor their marketing efforts to better align with consumer expectations."
      },
      {
        "title": "Researchers Studying Sustainable Products",
        "body": "Researchers in the field of sustainable consumerism can use this dataset to study the impact of eco-friendly products on consumer habits. They can explore correlations between product features like carbon footprint and user ratings, contributing to the body of knowledge on sustainable shopping."
      }
    ]
  },
  "counts": {
    "brands": 100,
    "product_trends": 24,
    "products": 300,
    "product_scans": 500,
    "user_feedback": 400
  },
  "stats": {
    "products": {
      "rows": 300,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 300,
          "min": 1,
          "max": 300
        },
        "name": {
          "nulls": 0,
          "distinct": 222,
          "min": "Classic Blender",
          "max": "Wireless Watch"
        },
        "brand_id": {
          "nulls": 0,
          "distinct": 93,
          "min": 1,
          "max": 99
        },
        "carbon_footprint": {
          "nulls": 146,
          "distinct": 152,
          "min": 19.94,
          "max": 81.01
        },
        "packaging_type": {
          "nulls": 0,
          "distinct": 4,
          "min": "biodegradable",
          "max": "recyclable"
        },
        "alternative_materials": {
          "nulls": 154,
          "distinct": 122
        }
      }
    },
    "brands": {
      "rows": 100,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "name": {
          "nulls": 0,
          "distinct": 92,
          "min": "Acme Foods",
          "max": "Vista Labs"
        },
        "certification": {
          "nulls": 0,
          "distinct": 80
        },
        "sustainability_score": {
          "nulls": 0,
          "distinct": 98,
          "min": 0.44,
          "max": 100
        }
      }
    },
    "product_scans": {
      "rows": 500,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 500,
          "min": 1,
          "max": 500
        },
        "product_id": {
          "nulls": 0,
          "distinct": 245,
          "min": 1,
          "max": 300
        },
        "scan_date": {
          "nulls": 0,
          "distinct": 265,
          "min": "2023-01-02",
          "max": "2023-12-30"
        },
        "user_id": {
          "nulls": 0,
          "distinct": 500
        },
        "scan_time": {
          "nulls": 0,
          "distinct": 500,
          "min": "00:02:10",
          "max": "23:56:16"
        },
        "device_type": {
          "nulls": 0,
          "distinct": 3,
          "min": "desktop",
          "max": "tablet"
        }
      }
    },
    "user_feedback": {
      "rows": 400,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 400,
          "min": 1,
          "max": 400
        },
        "product_id": {
          "nulls": 0,
          "distinct": 217,
          "min": 1,
          "max": 300
        },
        "user_id": {
          "nulls": 0,
          "distinct": 400
        },
        "rating": {
          "nulls": 0,
          "distinct": 5,
          "min": 1,
          "max": 5
        },
        "comments": {
          "nulls": 0,
          "distinct": 400
        }
      }
    },
    "product_trends": {
      "rows": 24,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 24,
          "min": 1,
          "max": 24
        },
        "month": {
          "nulls": 0,
          "distinct": 22,
          "min": "2023-01-18",
          "max": "2024-12-11"
        },
        "total_scans": {
          "nulls": 0,
          "distinct": 24,
          "min": 3,
          "max": 9573
        },
        "new_products": {
          "nulls": 0,
          "distinct": 17,
          "min": 0,
          "max": 92
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/brands.csv",
      "format": "csv",
      "table": "brands",
      "key": "datasets/eco-friendly-product-finder-and-guide/v4/csv/brands.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/eco-friendly-product-finder-and-guide/v4/csv/brands.csv",
      "bytes": 3901,
      "sha256": "2801e95073a330917512228cdc6c1f4365811e5199f113abbb0391c39e863114",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/product_trends.csv",
      "format": "csv",
      "table": "product_trends",
      "key": "datasets/eco-friendly-product-finder-and-guide/v4/csv/product_trends.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/eco-friendly-product-finder-and-guide/v4/csv/product_trends.csv",
      "bytes": 558,
      "sha256": "1524f0b91a42937979abcee5423a86cd0ed177bfc396f3e3a620c67162f096c1",
      "rows": 24,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/products.csv",
      "format": "csv",
      "table": "products",
      "key": "datasets/eco-friendly-product-finder-and-guide/v4/csv/products.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/eco-friendly-product-finder-and-guide/v4/csv/products.csv",
      "bytes": 14090,
      "sha256": "77dcc5946727a4c9002332f5ecbc3a43f64e035bdbfc20dee646f59db587a1b0",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/product_scans.csv",
      "format": "csv",
      "table": "product_scans",
      "key": "datasets/eco-friendly-product-finder-and-guide/v4/csv/product_scans.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/eco-friendly-product-finder-and-guide/v4/csv/product_scans.csv",
      "bytes": 36415,
      "sha256": "5a00e522a903651d98e014d8ccea6d4f47fe01121d2aa1bfe27136f4bdf112c5",
      "rows": 500,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/user_feedback.csv",
      "format": "csv",
      "table": "user_feedback",
      "key": "datasets/eco-friendly-product-finder-and-guide/v4/csv/user_feedback.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/eco-friendly-product-finder-and-guide/v4/csv/user_feedback.csv",
      "bytes": 87345,
      "sha256": "5f7c6ea80c13b37a573a19586c5c5a31b6c702df9ef8d1735f66d9a2087f12b0",
      "rows": 400,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "eco-friendly-product-finder-and-guide.json",
      "format": "json",
      "table": null,
      "key": "datasets/eco-friendly-product-finder-and-guide/v4/eco-friendly-product-finder-and-guide.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/eco-friendly-product-finder-and-guide/v4/eco-friendly-product-finder-and-guide.json",
      "bytes": 306654,
      "sha256": "4de606ab047aa908f0fdf628f56537f39b4d7455e6b858d9d87440987c731736",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/eco-friendly-product-finder-and-guide/v4/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/eco-friendly-product-finder-and-guide/v4/sql/postgres.sql",
      "bytes": 167631,
      "sha256": "8f13f0c647d4fa4593bfabb97d5aeb50b6d327f25c7eab02f6fc76f9ec78e248",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/eco-friendly-product-finder-and-guide/v4/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/eco-friendly-product-finder-and-guide/v4/sql/mysql.sql",
      "bytes": 167056,
      "sha256": "7c1e0efe660a0e4edcd3c92676cd11ffdbd5a5fbd048ab8f4603fd2135e7c2ec",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/eco-friendly-product-finder-and-guide/v4/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/eco-friendly-product-finder-and-guide/v4/sql/mssql.sql",
      "bytes": 171190,
      "sha256": "67db079c9df3bb92d6a2727121a56d3bd029ac863aa78d5adffd629af49da4c8",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/eco-friendly-product-finder-and-guide/v4/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/eco-friendly-product-finder-and-guide/v4/sql/sqlite.sql",
      "bytes": 166884,
      "sha256": "bf81f0975487c70e895e81f12394d03651ffbfe6e3a9640a0c62be4c079d8b23",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/eco-friendly-product-finder-and-guide/v4/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/eco-friendly-product-finder-and-guide/v4/prisma/seed.ts",
      "bytes": 255061,
      "sha256": "1bce2c38c8a12a5e9ba9403825f2a0156a1f0e396e5d41b3413c0b4d81780cce",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/eco-friendly-product-finder-and-guide/v4/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/eco-friendly-product-finder-and-guide/v4/django/fixtures.json",
      "bytes": 365655,
      "sha256": "5c9ad85dd60e100eef27ddf9b0cd44ecee98ce0db0d8a23bb803439ed13c5f80",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788768529336,
  "updatedAt": 1789095784167
}
