{
  "format": "dataset-manifest/1",
  "slug": "energy-project-management-samples",
  "version": 3,
  "seed": "energy-project-management-samples:1",
  "spec": {
    "format": "dataset/1",
    "slug": "energy-project-management-samples",
    "name": "Energy Project Management Samples",
    "tagline": "Synthetic dataset for managing energy project collaborations.",
    "description": "Teams collaborate to create and manage complex projects in energy production, ensuring efficiency and accuracy throughout the process. Daily operations involve overseeing active projects, leveraging various assets, and tracking individual contributions. As these projects progress, contributors make numerous edits, which are recorded meticulously, while the organization of workspace layouts facilitates seamless collaboration among team members. Each project reflects a unique combination of tasks and resources, offering a diverse landscape for data analysis.\n\nThe dataset comprises the tables: projects, assets, user_contributions, edit_histories, and workspace_layouts. Each project row in the projects table details a specific initiative, capturing critical information such as project timelines, budgets, and status. The assets table connects to the projects, listing the equipment and resources allocated for execution, which can include machinery and technology essential for project completion.\n\nUser contributions are tracked in their respective table, documenting the roles and inputs of team members, while edit histories provide a chronological record of changes made to project files. Meanwhile, the workspace layouts table illustrates how teams organize their collaborative environments, which can impact workflow and productivity. This interrelation between tables allows for comprehensive insights into the dynamics of project management in the energy sector.\n\nThis synthetic data allows developers to practice querying relationships between projects and their assets, analyzing user contributions and their impact on project outcomes, and understanding the evolution of projects through edit histories. It provides an excellent opportunity to explore how workspace layouts influence team efficiency and effectiveness, as well as how various elements come together to drive successful energy projects.",
    "domain": "energy",
    "shape": "multi-tenant",
    "useCases": [
      "orm-seeding",
      "api-mocking"
    ],
    "keywords": [
      "energy",
      "project management",
      "collaboration",
      "assets",
      "user contributions",
      "edit history"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "projects": {
        "description": "This table contains details about active projects, including their unique identifiers, names, statuses, and associated tenants. Each row represents a distinct project.",
        "rows": 150,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for the project."
          },
          "name": {
            "kind": "fullName",
            "description": "Name of the project.",
            "nullable": true,
            "when": {
              "column": "status",
              "in": [
                "completed"
              ]
            }
          },
          "status": {
            "kind": "enum",
            "values": [
              "active",
              "completed",
              "pending"
            ],
            "description": "Current status of the project.",
            "weights": [
              8,
              3,
              1
            ]
          },
          "tenant_id": {
            "kind": "int",
            "min": 1,
            "max": 100,
            "description": "Identifier for the tenant managing the project.",
            "nullable": true
          }
        }
      },
      "assets": {
        "description": "This table lists the assets associated with each project, including their types, values, and the projects they belong to. Each asset is linked to a specific project.",
        "rows": 300,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for the asset."
          },
          "project_id": {
            "kind": "fk",
            "ref": "projects.id",
            "description": "Identifier for the project this asset belongs to."
          },
          "asset_type": {
            "kind": "enum",
            "values": [
              "equipment",
              "material",
              "service"
            ],
            "description": "Type of asset used in the project.",
            "weights": [
              5,
              4,
              3
            ]
          },
          "value": {
            "kind": "decimal",
            "min": 1000,
            "max": 100000,
            "scale": 2,
            "description": "Monetary value of the asset.",
            "nullable": true,
            "when": {
              "column": "asset_type",
              "in": [
                "equipment"
              ]
            },
            "distribution": "long-tail"
          }
        }
      },
      "user_contributions": {
        "description": "This table tracks contributions made by users to various projects, indicating their involvement and contributions. Each row reflects a user's contribution to a project.",
        "rows": 250,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for the user contribution."
          },
          "user_id": {
            "kind": "int",
            "min": 1,
            "max": 100,
            "description": "Identifier for the user who contributed.",
            "nullable": true
          },
          "project_id": {
            "kind": "fk",
            "ref": "projects.id",
            "description": "Identifier for the project associated with this contribution.",
            "nullable": true,
            "when": {
              "column": "contribution_type",
              "in": [
                "design"
              ]
            }
          },
          "contribution_type": {
            "kind": "enum",
            "values": [
              "design",
              "analysis",
              "reporting"
            ],
            "description": "Type of contribution made by the user.",
            "weights": [
              5,
              3,
              1
            ]
          }
        }
      },
      "edit_histories": {
        "description": "This table captures the history of edits made to project files, including who made the edits and when. It provides a detailed log of changes for accountability.",
        "rows": 400,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for the edit history entry."
          },
          "project_id": {
            "kind": "fk",
            "ref": "projects.id",
            "description": "Identifier for the project associated with this edit."
          },
          "edited_by": {
            "kind": "int",
            "min": 1,
            "max": 100,
            "description": "Identifier for the user who made the edit.",
            "nullable": true
          },
          "edit_timestamp": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "Timestamp of when the edit was made.",
            "dayProfile": "business"
          }
        }
      },
      "workspace_layouts": {
        "description": "This table organizes the visual layout of projects, detailing how different elements are arranged in the workspace. Each row corresponds to a layout for a specific project.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for the workspace layout."
          },
          "project_id": {
            "kind": "fk",
            "ref": "projects.id",
            "description": "Identifier for the project associated with this layout."
          },
          "layout_description": {
            "kind": "sentence",
            "description": "Description of the workspace layout.",
            "nullable": true
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "timestamped",
      "monetary",
      "categorical",
      "nullable"
    ],
    "analysisQuestions": [
      "What is the average value of assets used in active projects?",
      "Which users contribute the most to project designs?",
      "How often do project files get edited, and by whom?",
      "What types of contributions are most common across projects?",
      "How do project statuses correlate with user contributions?"
    ],
    "suggestedQueries": [
      {
        "title": "Join Projects with User Contributions",
        "sql": "SELECT p.name, uc.contribution_type FROM projects p JOIN user_contributions uc ON p.id = uc.project_id;",
        "dialect": "postgres"
      },
      {
        "title": "Average Asset Value by Project Status",
        "sql": "SELECT p.status, AVG(a.value) FROM projects p JOIN assets a ON p.id = a.project_id GROUP BY p.status;",
        "dialect": "postgres"
      },
      {
        "title": "Count Edits by User",
        "sql": "SELECT edited_by, COUNT(*) FROM edit_histories GROUP BY edited_by;",
        "dialect": "postgres"
      },
      {
        "title": "Contribution Types by Project",
        "sql": "SELECT project_id, contribution_type, COUNT(*) FROM user_contributions GROUP BY project_id, contribution_type;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "API Development for Project Management Tools",
        "body": "Developers working on project management software for the energy sector can utilize this dataset to simulate API responses for user contributions, project details, and asset management. It helps to ensure that the application can handle the expected data structure and relationships effectively."
      },
      {
        "title": "SQL Practice for Data Analysts",
        "body": "Data analysts looking to improve their SQL skills can leverage this dataset to practice complex queries involving joins, aggregations, and date-based filters. The diverse nature of the tables allows for a variety of analytical questions to be explored."
      },
      {
        "title": "Mock Data for Project Management Simulations",
        "body": "Educators or trainers can use this dataset to create hands-on exercises for students learning about project management in the energy sector. The synthetic data provides realistic scenarios for students to analyze and draw insights from, enhancing their learning experience."
      }
    ]
  },
  "counts": {
    "projects": 150,
    "assets": 300,
    "edit_histories": 400,
    "user_contributions": 250,
    "workspace_layouts": 200
  },
  "stats": {
    "projects": {
      "rows": 150,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 150,
          "min": 1,
          "max": 150
        },
        "name": {
          "nulls": 110,
          "distinct": 40,
          "min": "Andre Hughes",
          "max": "Yara Diaz"
        },
        "status": {
          "nulls": 0,
          "distinct": 3,
          "min": "active",
          "max": "pending"
        },
        "tenant_id": {
          "nulls": 21,
          "distinct": 61,
          "min": 1,
          "max": 97
        }
      }
    },
    "assets": {
      "rows": 300,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 300,
          "min": 1,
          "max": 300
        },
        "project_id": {
          "nulls": 0,
          "distinct": 129,
          "min": 1,
          "max": 150
        },
        "asset_type": {
          "nulls": 0,
          "distinct": 3,
          "min": "equipment",
          "max": "service"
        },
        "value": {
          "nulls": 161,
          "distinct": 139,
          "min": 1009.76,
          "max": 96940.45
        }
      }
    },
    "user_contributions": {
      "rows": 250,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 250,
          "min": 1,
          "max": 250
        },
        "user_id": {
          "nulls": 18,
          "distinct": 93,
          "min": 1,
          "max": 100
        },
        "project_id": {
          "nulls": 128,
          "distinct": 86,
          "min": 1,
          "max": 150
        },
        "contribution_type": {
          "nulls": 0,
          "distinct": 3,
          "min": "analysis",
          "max": "reporting"
        }
      }
    },
    "edit_histories": {
      "rows": 400,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 400,
          "min": 1,
          "max": 400
        },
        "project_id": {
          "nulls": 0,
          "distinct": 140,
          "min": 1,
          "max": 150
        },
        "edited_by": {
          "nulls": 34,
          "distinct": 95,
          "min": 2,
          "max": 100
        },
        "edit_timestamp": {
          "nulls": 0,
          "distinct": 400,
          "min": "2023-01-01 09:41:12",
          "max": "2023-12-31 09:20:16"
        }
      }
    },
    "workspace_layouts": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "project_id": {
          "nulls": 0,
          "distinct": 107,
          "min": 1,
          "max": 150
        },
        "layout_description": {
          "nulls": 16,
          "distinct": 182
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/projects.csv",
      "format": "csv",
      "table": "projects",
      "key": "datasets/energy-project-management-samples/v3/csv/projects.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/energy-project-management-samples/v3/csv/projects.csv",
      "bytes": 2832,
      "sha256": "1045a1d9d1a3b8b31aa0b58a04345e8d1f6e6007b9b658dd7a24b5729e57da9f",
      "rows": 150,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/assets.csv",
      "format": "csv",
      "table": "assets",
      "key": "datasets/energy-project-management-samples/v3/csv/assets.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/energy-project-management-samples/v3/csv/assets.csv",
      "bytes": 6553,
      "sha256": "66b9b89db375dd0227bdd0cc696cfc933440210c3c88f366c1a4b1175f4a1b45",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/edit_histories.csv",
      "format": "csv",
      "table": "edit_histories",
      "key": "datasets/energy-project-management-samples/v3/csv/edit_histories.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/energy-project-management-samples/v3/csv/edit_histories.csv",
      "bytes": 12353,
      "sha256": "7b7a5b37268fe4fb3ec5dc5e53dd1bf9d2246cbf9a0284094eb9f3fff907037e",
      "rows": 400,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/user_contributions.csv",
      "format": "csv",
      "table": "user_contributions",
      "key": "datasets/energy-project-management-samples/v3/csv/user_contributions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/energy-project-management-samples/v3/csv/user_contributions.csv",
      "bytes": 4456,
      "sha256": "bbd11d926ad3022ee98cff83396224bba5e62362f27513c41b63f0925da6306a",
      "rows": 250,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/workspace_layouts.csv",
      "format": "csv",
      "table": "workspace_layouts",
      "key": "datasets/energy-project-management-samples/v3/csv/workspace_layouts.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/energy-project-management-samples/v3/csv/workspace_layouts.csv",
      "bytes": 12176,
      "sha256": "5efe09f21cff578ba470bcdfd35867e5da915a42bcc66ca61e4e0062245e40ce",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "energy-project-management-samples.json",
      "format": "json",
      "table": null,
      "key": "datasets/energy-project-management-samples/v3/energy-project-management-samples.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/energy-project-management-samples/v3/energy-project-management-samples.json",
      "bytes": 152387,
      "sha256": "2db3eb192d95e701e24e8068c8bc2c6e6157eec0ca240460bfa3f45e8978a5ca",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/energy-project-management-samples/v3/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/energy-project-management-samples/v3/sql/postgres.sql",
      "bytes": 57178,
      "sha256": "d2226f31e3856a31939e8fa7b930e38c0b88417021e5c66ddd619140087c2a4b",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/energy-project-management-samples/v3/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/energy-project-management-samples/v3/sql/mysql.sql",
      "bytes": 56572,
      "sha256": "4dfe5e5c7c4cfab760b1168890f60644756d0d822add4c678c5d8616d4ea8270",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/energy-project-management-samples/v3/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/energy-project-management-samples/v3/sql/mssql.sql",
      "bytes": 58261,
      "sha256": "983bf3422a9ae90dd24a90fcc277a54ae9776cc8fe68d42d1aa6c40f66e302d6",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/energy-project-management-samples/v3/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/energy-project-management-samples/v3/sql/sqlite.sql",
      "bytes": 56366,
      "sha256": "e87834ebdb776c2ec4ee581131829332022b827b160b7c82d17ff859ef850e95",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/energy-project-management-samples/v3/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/energy-project-management-samples/v3/prisma/seed.ts",
      "bytes": 123224,
      "sha256": "30acbff3180ef14e62a6282be47f90cc4f562f0e592e3b4114fd24bb8a0d9448",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/energy-project-management-samples/v3/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/energy-project-management-samples/v3/django/fixtures.json",
      "bytes": 211550,
      "sha256": "8d14bde3a32608dd04b6f03015025970e3c32d83b79e0551f0435ea83b96d39c",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788733844446,
  "updatedAt": 1788783722648
}
