{
  "format": "dataset-manifest/1",
  "slug": "sustainable-manufacturing-insights",
  "version": 3,
  "seed": "sustainable-manufacturing-insights:1",
  "engine": 1,
  "engineVersion": "1.0.0",
  "spec": {
    "format": "dataset/1",
    "slug": "sustainable-manufacturing-insights",
    "name": "Sustainable Manufacturing Insights",
    "tagline": "Manufacturers' sustainability practices, carbon assessments, energy sources, and materials used in production.",
    "description": "Manufacturers strive to minimize environmental impacts while maximizing efficiency. This dataset models the practices, materials, and certifications related to sustainability in the manufacturing sector. It contains detailed reports on energy consumption, carbon footprints, and renewable energy sources. Each table is interconnected, allowing for comprehensive analysis of how different practices affect sustainability metrics. Users can explore questions such as how energy sources impact carbon emissions or what materials are most commonly used among certified manufacturers. This synthetic dataset provides a realistic yet simplified representation of sustainability metrics in manufacturing, suitable for SQL practice and teaching.",
    "domain": "manufacturing",
    "shape": "ledger",
    "useCases": [
      "sql-practice",
      "teaching"
    ],
    "keywords": [
      "sustainability",
      "manufacturing",
      "energy consumption",
      "carbon footprint",
      "materials",
      "certifications",
      "renewable energy"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "manufacturers": {
        "description": "This table contains information about manufacturers, including their unique identifiers and names. Each manufacturer can have multiple sustainability reports linked to them.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for the manufacturer."
          },
          "name": {
            "kind": "company",
            "description": "The name of the manufacturing company."
          },
          "location": {
            "kind": "city",
            "description": "City where the manufacturer is located.",
            "nullable": true,
            "when": {
              "column": "certification",
              "in": [
                "ISO 14001",
                "LEED",
                "BREEAM"
              ]
            }
          },
          "certification": {
            "kind": "enum",
            "values": [
              "ISO 14001",
              "LEED",
              "BREEAM",
              "None"
            ],
            "description": "Sustainability certifications obtained by the manufacturer.",
            "nullable": true,
            "weights": [
              8,
              3,
              2,
              1
            ]
          }
        }
      },
      "sustainability_reports": {
        "description": "Each row represents a sustainability report generated by a manufacturer, detailing energy consumption and waste management practices over time.",
        "rows": {
          "per": "manufacturers",
          "via": "manufacturer_id",
          "min": 1,
          "max": 5,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for the sustainability report."
          },
          "manufacturer_id": {
            "kind": "fk",
            "ref": "manufacturers.id",
            "description": "Reference to the manufacturer that generated this report."
          },
          "report_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Date when the report was generated.",
            "trend": "seasonal"
          },
          "energy_consumed": {
            "kind": "decimal",
            "min": 1000,
            "max": 100000,
            "scale": 2,
            "description": "Total energy consumed (in kWh) for the reporting period.",
            "nullable": true,
            "distribution": "long-tail"
          },
          "waste_generated": {
            "kind": "decimal",
            "min": 0,
            "max": 50000,
            "scale": 2,
            "description": "Total waste generated (in kg) during the reporting period.",
            "nullable": true,
            "distribution": "long-tail"
          }
        }
      },
      "carbon_assessments": {
        "description": "This table contains assessments of carbon emissions for each manufacturer, providing insights into their carbon footprints.",
        "rows": {
          "per": "manufacturers",
          "via": "manufacturer_id",
          "min": 1,
          "max": 3,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for the carbon assessment."
          },
          "manufacturer_id": {
            "kind": "fk",
            "ref": "manufacturers.id",
            "description": "Reference to the manufacturer being assessed."
          },
          "assessment_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Date of the carbon assessment.",
            "trend": "seasonal"
          },
          "carbon_emissions": {
            "kind": "decimal",
            "min": 0,
            "max": 10000,
            "scale": 2,
            "description": "Total carbon emissions (in metric tons) for the assessment period.",
            "nullable": true,
            "distribution": "long-tail"
          },
          "assessment_method": {
            "kind": "enum",
            "values": [
              "Direct Measurement",
              "Modeling",
              "Estimation"
            ],
            "weights": [
              50,
              30,
              20
            ],
            "description": "The method used to assess carbon emissions."
          },
          "carbon_offset": {
            "kind": "decimal",
            "min": 0,
            "max": 5000,
            "distribution": "normal",
            "description": "Total carbon offset achieved (in metric tons) during the assessment period."
          }
        }
      },
      "materials": {
        "description": "This table lists the materials used by manufacturers in their production processes, linking them to specific manufacturers.",
        "rows": {
          "per": "manufacturers",
          "via": "manufacturer_id",
          "min": 1,
          "max": 10,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for the material entry."
          },
          "manufacturer_id": {
            "kind": "fk",
            "ref": "manufacturers.id",
            "description": "Reference to the manufacturer using this material."
          },
          "material_name": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "Name of the material used in manufacturing.",
            "pool": [
              "steel",
              "aluminum",
              "copper",
              "plastic",
              "composite",
              "ceramic",
              "glass",
              "wood",
              "fiber",
              "rubber",
              "carbon",
              "titanium",
              "magnesium",
              "zinc",
              "nickel",
              "polymer",
              "concrete",
              "fabric",
              "resin",
              "biomaterial",
              "silicone",
              "foam",
              "paper",
              "textile",
              "leather",
              "ceramic-fiber",
              "metal-alloy",
              "bio-plastic",
              "epoxy",
              "thermoplastic",
              "thermoset",
              "nano-material",
              "adhesive",
              "coating",
              "insulation",
              "laminate",
              "composite-wood",
              "reinforced-plastic",
              "carbon-fiber",
              "metal-composite",
              "bio-composite",
              "sustainable-wood",
              "recycled-plastic",
              "natural-fiber",
              "steel-alloy",
              "aluminum-alloy",
              "high-density-polyethylene",
              "low-density-polyethylene",
              "polypropylene",
              "polyethylene",
              "polycarbonate"
            ]
          },
          "quantity": {
            "kind": "decimal",
            "min": 0,
            "max": 10000,
            "scale": 2,
            "description": "Quantity of the material used (in kg).",
            "nullable": true,
            "distribution": "long-tail"
          },
          "material_type": {
            "kind": "enum",
            "values": [
              "Recycled",
              "Biodegradable",
              "Conventional"
            ],
            "weights": [
              40,
              30,
              30
            ],
            "description": "Type of material used in manufacturing."
          },
          "cost_per_kg": {
            "kind": "decimal",
            "min": 0.1,
            "max": 50,
            "scale": 2,
            "distribution": "long-tail",
            "description": "Cost of the material per kilogram."
          }
        }
      },
      "energy_sources": {
        "description": "This table details the types of energy sources used by manufacturers, providing insight into their renewable energy usage.",
        "rows": {
          "per": "manufacturers",
          "via": "manufacturer_id",
          "min": 1,
          "max": 5,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for the energy source entry."
          },
          "manufacturer_id": {
            "kind": "fk",
            "ref": "manufacturers.id",
            "description": "Reference to the manufacturer utilizing this energy source."
          },
          "energy_type": {
            "kind": "enum",
            "values": [
              "Solar",
              "Wind",
              "Natural Gas",
              "Coal",
              "Hydro",
              "Geothermal"
            ],
            "description": "Type of energy source used.",
            "weights": [
              6,
              5,
              4,
              3,
              2,
              1
            ]
          },
          "percentage": {
            "kind": "decimal",
            "min": 0,
            "max": 100,
            "scale": 2,
            "description": "Percentage of total energy consumption derived from this source.",
            "nullable": true,
            "when": {
              "column": "energy_type",
              "in": [
                "Solar",
                "Wind",
                "Natural Gas",
                "Coal",
                "Hydro",
                "Geothermal"
              ]
            },
            "distribution": "high"
          },
          "usage_frequency": {
            "kind": "enum",
            "values": [
              "Always",
              "Often",
              "Sometimes",
              "Rarely"
            ],
            "weights": [
              40,
              30,
              20,
              10
            ],
            "description": "Frequency of use of the energy source."
          },
          "cost_per_mwh": {
            "kind": "decimal",
            "min": 20,
            "max": 200,
            "scale": 2,
            "distribution": "long-tail",
            "description": "Cost of the energy source per megawatt-hour."
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "categorical",
      "timestamped",
      "nullable"
    ],
    "analysisQuestions": [
      "What energy sources are most commonly used among manufacturers?",
      "How does the carbon footprint vary across different manufacturers?",
      "What materials are most frequently utilized in sustainable manufacturing?",
      "Is there a correlation between certifications and energy consumption?",
      "How has energy consumption changed over time for each manufacturer?"
    ],
    "suggestedQueries": [
      {
        "title": "Join manufacturers with sustainability reports",
        "sql": "SELECT m.name, sr.report_date, sr.energy_consumed FROM manufacturers m JOIN sustainability_reports sr ON m.id = sr.manufacturer_id",
        "dialect": "postgres"
      },
      {
        "title": "Aggregate energy consumption by manufacturer",
        "sql": "SELECT m.name, SUM(sr.energy_consumed) AS total_energy FROM manufacturers m JOIN sustainability_reports sr ON m.id = sr.manufacturer_id GROUP BY m.name",
        "dialect": "postgres"
      },
      {
        "title": "Find average carbon emissions per manufacturer",
        "sql": "SELECT m.name, AVG(ca.carbon_emissions) AS average_emissions FROM manufacturers m JOIN carbon_assessments ca ON m.id = ca.manufacturer_id GROUP BY m.name",
        "dialect": "postgres"
      },
      {
        "title": "Get materials used by each manufacturer",
        "sql": "SELECT m.name, mat.material_name, mat.quantity FROM manufacturers m JOIN materials mat ON m.id = mat.manufacturer_id",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Educational Institutions",
        "body": "Professors and instructors can leverage this dataset to teach students about sustainable practices in manufacturing. By creating assignments that require data analysis and SQL queries, they can provide hands-on learning experiences that highlight the importance of sustainability."
      },
      {
        "title": "Manufacturing Consultants",
        "body": "Consultants in the manufacturing sector can use this dataset to assess and benchmark manufacturers' sustainability efforts. They can analyze energy consumption patterns and carbon assessments to recommend improvements and strategies for sustainability."
      },
      {
        "title": "Sustainability Analysts",
        "body": "Analysts focused on sustainable practices can utilize this dataset to evaluate the effectiveness of different energy sources and materials used by manufacturers. They can derive insights on how to optimize resource usage and minimize carbon footprints."
      }
    ]
  },
  "counts": {
    "manufacturers": 200,
    "carbon_assessments": 307,
    "energy_sources": 437,
    "materials": 763,
    "sustainability_reports": 441
  },
  "stats": {
    "manufacturers": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "name": {
          "nulls": 0,
          "distinct": 166,
          "min": "Acme Digital",
          "max": "Willow Software"
        },
        "location": {
          "nulls": 31,
          "distinct": 57,
          "min": "Ankara",
          "max": "Zurich"
        },
        "certification": {
          "nulls": 19,
          "distinct": 4,
          "min": "BREEAM",
          "max": "None"
        }
      }
    },
    "sustainability_reports": {
      "rows": 441,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 441,
          "min": 1,
          "max": 441
        },
        "manufacturer_id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "report_date": {
          "nulls": 0,
          "distinct": 377,
          "min": "2020-01-01",
          "max": "2023-12-30"
        },
        "energy_consumed": {
          "nulls": 46,
          "distinct": 395,
          "min": 1000.44,
          "max": 99794.86
        },
        "waste_generated": {
          "nulls": 49,
          "distinct": 392,
          "min": 0.15,
          "max": 49954.34
        }
      }
    },
    "carbon_assessments": {
      "rows": 307,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 307,
          "min": 1,
          "max": 307
        },
        "manufacturer_id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "assessment_date": {
          "nulls": 0,
          "distinct": 266,
          "min": "2020-01-01",
          "max": "2023-12-29"
        },
        "carbon_emissions": {
          "nulls": 19,
          "distinct": 288,
          "min": 0.01,
          "max": 9992.55
        },
        "assessment_method": {
          "nulls": 0,
          "distinct": 3,
          "min": "Direct Measurement",
          "max": "Modeling"
        },
        "carbon_offset": {
          "nulls": 0,
          "distinct": 307,
          "min": 582.02,
          "max": 4418.5
        }
      }
    },
    "materials": {
      "rows": 763,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 763,
          "min": 1,
          "max": 763
        },
        "manufacturer_id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "material_name": {
          "nulls": 0,
          "distinct": 549
        },
        "quantity": {
          "nulls": 74,
          "distinct": 687,
          "min": 0.01,
          "max": 9970.19
        },
        "material_type": {
          "nulls": 0,
          "distinct": 3,
          "min": "Biodegradable",
          "max": "Recycled"
        },
        "cost_per_kg": {
          "nulls": 0,
          "distinct": 652,
          "min": 0.1,
          "max": 49.94
        }
      }
    },
    "energy_sources": {
      "rows": 437,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 437,
          "min": 1,
          "max": 437
        },
        "manufacturer_id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "energy_type": {
          "nulls": 0,
          "distinct": 6,
          "min": "Coal",
          "max": "Wind"
        },
        "percentage": {
          "nulls": 0,
          "distinct": 420,
          "min": 0.39,
          "max": 100
        },
        "usage_frequency": {
          "nulls": 0,
          "distinct": 4,
          "min": "Always",
          "max": "Sometimes"
        },
        "cost_per_mwh": {
          "nulls": 0,
          "distinct": 418,
          "min": 20,
          "max": 199.5
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/manufacturers.csv",
      "format": "csv",
      "table": "manufacturers",
      "key": "datasets/sustainable-manufacturing-insights/v3/csv/manufacturers.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/sustainable-manufacturing-insights/v3/csv/manufacturers.csv",
      "bytes": 6604,
      "sha256": "9eca2cff7bcd7125ba545e6b478fa772d931284dc21ad957ee27ea8ca46d1caa",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/carbon_assessments.csv",
      "format": "csv",
      "table": "carbon_assessments",
      "key": "datasets/sustainable-manufacturing-insights/v3/csv/carbon_assessments.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/sustainable-manufacturing-insights/v3/csv/carbon_assessments.csv",
      "bytes": 15020,
      "sha256": "113a5ba987d45342a975325cc74903f070c8801021ff21b463a4b335f86a4fca",
      "rows": 307,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/energy_sources.csv",
      "format": "csv",
      "table": "energy_sources",
      "key": "datasets/sustainable-manufacturing-insights/v3/csv/energy_sources.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/sustainable-manufacturing-insights/v3/csv/energy_sources.csv",
      "bytes": 15209,
      "sha256": "607d4e19978f156a4b40fb24a5e01128cdf45102ff03476196ed612281ecb4c1",
      "rows": 437,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/materials.csv",
      "format": "csv",
      "table": "materials",
      "key": "datasets/sustainable-manufacturing-insights/v3/csv/materials.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/sustainable-manufacturing-insights/v3/csv/materials.csv",
      "bytes": 41440,
      "sha256": "78997574e73f4c4a992c4c67226b52f058c33d3cc2382a5970fc86756a6ab487",
      "rows": 763,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/sustainability_reports.csv",
      "format": "csv",
      "table": "sustainability_reports",
      "key": "datasets/sustainable-manufacturing-insights/v3/csv/sustainability_reports.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/sustainable-manufacturing-insights/v3/csv/sustainability_reports.csv",
      "bytes": 15348,
      "sha256": "40b6f9ff9ef4a34958ef054707287abdebe80c9f38f69233a1659c4b80b3d793",
      "rows": 441,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "sustainable-manufacturing-insights.json",
      "format": "json",
      "table": null,
      "key": "datasets/sustainable-manufacturing-insights/v3/sustainable-manufacturing-insights.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/sustainable-manufacturing-insights/v3/sustainable-manufacturing-insights.json",
      "bytes": 388703,
      "sha256": "f0d2411ed1c2d88c943ad1aadca291b460d547b26c1f7b8c75680c81a0601a43",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/sustainable-manufacturing-insights/v3/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/sustainable-manufacturing-insights/v3/sql/postgres.sql",
      "bytes": 129447,
      "sha256": "9c181efba934d8d1008df3cfa359fc8fd0ba800c7b189d05dac9c3068248e867",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/sustainable-manufacturing-insights/v3/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/sustainable-manufacturing-insights/v3/sql/mysql.sql",
      "bytes": 128828,
      "sha256": "0201268151aba69dc29011f00585a8dc1c51e06d8d91272de41e11a70cd820ba",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/sustainable-manufacturing-insights/v3/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/sustainable-manufacturing-insights/v3/sql/mssql.sql",
      "bytes": 133218,
      "sha256": "b985160c686f43b27d5fea5ce257d20ef7d8be0f474ba300fceabf98c95a48a8",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/sustainable-manufacturing-insights/v3/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/sustainable-manufacturing-insights/v3/sql/sqlite.sql",
      "bytes": 128550,
      "sha256": "21d19c858691969e9f79e966c11ca7152a6e548c9ce54f57f8956f043ca3ae0e",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/sustainable-manufacturing-insights/v3/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/sustainable-manufacturing-insights/v3/prisma/seed.ts",
      "bytes": 309845,
      "sha256": "31bacd150e2900c55a3322098c3beaddddbcb0a45a84e6faa397acd55e883aed",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/sustainable-manufacturing-insights/v3/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/sustainable-manufacturing-insights/v3/django/fixtures.json",
      "bytes": 497572,
      "sha256": "1e83288adc67749b9d29fdcaf6b56938ad88b7d9678352e2a45f1503eaeb4b2a",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788767201642,
  "updatedAt": 1789096080159
}
