{
  "format": "dataset-manifest/1",
  "slug": "softmaker-office",
  "version": 2,
  "seed": "softmaker-office:1",
  "spec": {
    "format": "dataset/1",
    "slug": "softmaker-office",
    "name": "Office Collaboration Insights",
    "tagline": "User interactions with shared documents and templates in a government office collaboration environment.",
    "description": "Government employees collaborate daily to manage documents and streamline workflows efficiently. User profiles hold essential information about individual team members, while shared documents serve as the central hub for collaborative efforts. Templates provide standardized formats for reports and presentations, ensuring consistency across various departments. The dataset captures user interactions, detailing the frequency with which documents are accessed and modified, revealing insights into the collaborative dynamics at play.\n\nThe main table, office_collaboration, records each interaction, including the user ID, document ID, timestamp, and type of action taken (such as viewing or editing). Understanding how these tables connect helps to visualize a user’s journey through the system, from accessing a document to making edits on a shared template. By analyzing rows within the office_collaboration table, developers can trace collaborative patterns and identify key users who consistently contribute to document updates.\n\nThis dataset allows users to explore questions surrounding collaboration efficiency in a government setting. For instance, how often do specific departments collaborate on shared documents? What are the most frequently modified templates? How do user interactions vary across different projects? By practicing with this synthetic data, developers can enhance their skills in querying, data analysis, and extracting insights that inform decision-making processes within governmental operations. The data provides a rich opportunity to hone analytical skills within a realistic context of office collaboration.",
    "domain": "government",
    "shape": "multi-tenant",
    "useCases": [
      "orm-seeding",
      "api-mocking"
    ],
    "keywords": [
      "document management",
      "user interactions",
      "templates",
      "collaboration",
      "government",
      "workflow",
      "productivity"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "office_collaboration": {
        "description": "This table captures user interactions with documents in a government office context, linking user profiles and document metadata.",
        "rows": 500,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each record."
          },
          "user_id": {
            "kind": "uuid",
            "description": "Unique identifier for each user."
          },
          "document_id": {
            "kind": "uuid",
            "description": "Unique identifier for each document accessed or modified."
          },
          "access_time": {
            "kind": "datetime",
            "from": "2022-01-01",
            "to": "2023-12-31",
            "description": "Timestamp of when the document was accessed.",
            "nullable": true,
            "when": {
              "column": "device",
              "in": [
                "desktop",
                "laptop"
              ]
            },
            "dayProfile": "business"
          },
          "modification_count": {
            "kind": "int",
            "min": 0,
            "max": 50,
            "description": "Number of times the document has been modified by the user.",
            "nullable": true,
            "distribution": "long-tail"
          },
          "is_template_shared": {
            "kind": "bool",
            "trueRate": 0.1,
            "description": "Indicates whether a template has been shared with other departments.",
            "nullable": true,
            "when": {
              "column": "device",
              "in": [
                "desktop",
                "laptop"
              ]
            }
          },
          "device": {
            "kind": "enum",
            "values": [
              "desktop",
              "laptop",
              "tablet",
              "mobile"
            ],
            "description": "Type of device used to access the document.",
            "weights": [
              5,
              4,
              2,
              1
            ]
          },
          "department": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "Department from which the user is accessing the document.",
            "nullable": true,
            "pool": [
              "finance",
              "hr",
              "it",
              "marketing",
              "operations",
              "legal",
              "research",
              "development",
              "sales",
              "administration",
              "customer",
              "support",
              "strategy",
              "analytics",
              "communications",
              "procurement",
              "policy",
              "planning",
              "training",
              "audit",
              "compliance"
            ]
          }
        }
      }
    },
    "structure": "single-table",
    "traits": [
      "nullable",
      "timestamped",
      "high-cardinality"
    ],
    "analysisQuestions": [
      "How often do users access documents across different departments?",
      "What types of devices are most commonly used for document modifications?",
      "Are there any trends in the modification counts of shared templates?",
      "Which departments frequently share templates, and why might that be?",
      "What time of day do users typically access documents the most?"
    ],
    "suggestedQueries": [
      {
        "title": "User Document Access Frequency",
        "sql": "SELECT user_id, COUNT(*) AS access_count FROM office_collaboration GROUP BY user_id;",
        "dialect": "postgres"
      },
      {
        "title": "Document Modifications by Device",
        "sql": "SELECT device, SUM(modification_count) AS total_modifications FROM office_collaboration GROUP BY device;",
        "dialect": "postgres"
      },
      {
        "title": "Shared Template Usage Across Departments",
        "sql": "SELECT department, COUNT(*) AS shared_templates FROM office_collaboration WHERE is_template_shared = TRUE GROUP BY department;",
        "dialect": "postgres"
      },
      {
        "title": "Daily Document Access Trends",
        "sql": "SELECT DATE(access_time) AS access_date, COUNT(*) AS access_count FROM office_collaboration GROUP BY access_date ORDER BY access_date;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "API Development for Document Management",
        "body": "Developers working on document management systems for government agencies can utilize this dataset to simulate user interactions and test API endpoints. By mocking user access patterns and modifications, they can ensure that their application handles concurrent edits and document sharing effectively."
      },
      {
        "title": "Training Machine Learning Models",
        "body": "Data scientists can use this dataset to train machine learning models aimed at predicting user behavior in document collaboration. By analyzing access times and modification counts, they can develop algorithms that recommend documents or highlight frequently accessed templates to improve user efficiency."
      },
      {
        "title": "Creating Business Intelligence Dashboards",
        "body": "Business analysts can leverage this dataset to create insightful dashboards that visualize document access trends across departments. By querying the data to identify peak usage times and device preferences, they can provide recommendations to enhance document management strategies within government offices."
      }
    ]
  },
  "counts": {
    "office_collaboration": 500
  },
  "stats": {
    "office_collaboration": {
      "rows": 500,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 500,
          "min": 1,
          "max": 500
        },
        "user_id": {
          "nulls": 0,
          "distinct": 500
        },
        "document_id": {
          "nulls": 0,
          "distinct": 500
        },
        "access_time": {
          "nulls": 120,
          "distinct": 380,
          "min": "2022-01-01 19:18:38",
          "max": "2023-12-29 14:22:55"
        },
        "modification_count": {
          "nulls": 43,
          "distinct": 51,
          "min": 0,
          "max": 50
        },
        "is_template_shared": {
          "nulls": 120,
          "distinct": 2,
          "min": "false",
          "max": "true"
        },
        "device": {
          "nulls": 0,
          "distinct": 4,
          "min": "desktop",
          "max": "tablet"
        },
        "department": {
          "nulls": 56,
          "distinct": 292
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/office_collaboration.csv",
      "format": "csv",
      "table": "office_collaboration",
      "key": "datasets/softmaker-office/v2/csv/office_collaboration.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/softmaker-office/v2/csv/office_collaboration.csv",
      "bytes": 62584,
      "sha256": "2d62ad83ff197e9a8896de6c6481c3fcecce3b71d41277e767b06a35ab971ea7",
      "rows": 500,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "softmaker-office.json",
      "format": "json",
      "table": null,
      "key": "datasets/softmaker-office/v2/softmaker-office.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/softmaker-office/v2/softmaker-office.json",
      "bytes": 159531,
      "sha256": "1d259a79c1db978db74b35d62aca59c7f4c2585a9d7e34555d77aadab5c20692",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/softmaker-office/v2/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/softmaker-office/v2/sql/postgres.sql",
      "bytes": 76201,
      "sha256": "b71eeb8875d80336822051d1f7d88f5d0a5a65bd8e1d44dbbbc939a19e9601f9",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/softmaker-office/v2/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/softmaker-office/v2/sql/mysql.sql",
      "bytes": 74599,
      "sha256": "fa1a635f62539912366a3a33e6fea011d5ebfa5e068402612d0f6c67cb772b79",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/softmaker-office/v2/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/softmaker-office/v2/sql/mssql.sql",
      "bytes": 77020,
      "sha256": "0c287978ee1a79035bc5fd9cbe6f9feb822a3a90a35fba898644ca1eb6e81213",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/softmaker-office/v2/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/softmaker-office/v2/sql/sqlite.sql",
      "bytes": 74558,
      "sha256": "bc60e25abb3d6e2aa77780c000097374ad6fcf8449520b182f7656d83f8ded1e",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/softmaker-office/v2/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/softmaker-office/v2/prisma/seed.ts",
      "bytes": 134437,
      "sha256": "b041c37e35f81017361710b1751e154bfe10fc560cacc08f6bc7a3da45571872",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/softmaker-office/v2/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/softmaker-office/v2/django/fixtures.json",
      "bytes": 187879,
      "sha256": "cb9298adbb3ccf55d55f63b11992682ce30ca7acaf074c12ae2ec3c22a042340",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788766862821,
  "updatedAt": 1788786205819
}
