{
  "format": "dataset-manifest/1",
  "slug": "collaborative-messaging-insights",
  "version": 2,
  "seed": "collaborative-messaging-insights:1",
  "spec": {
    "format": "dataset/1",
    "slug": "collaborative-messaging-insights",
    "name": "Collaborative Messaging Insights",
    "tagline": "User engagement patterns, team structures, and conversation organization from a collaborative messaging platform.",
    "description": "Teams collaborate effectively through messaging platforms designed for real-time communication and project management. Users engage in lively discussions within channels, share essential files, and employ bots to enhance productivity while expressing themselves through a rich array of emojis. The data captures user interactions and engagement patterns across these various elements, providing insights into how teams communicate and organize their efforts.\n\nEach table in the dataset serves a unique function that contributes to understanding the flow of information within the platform. The 'users' table outlines individual profiles, including their roles within teams. The 'teams' table displays the different groups formed for specific projects or objectives, while the 'channels' table represents the various threads of conversation. Conversations recorded in the 'conversations' table reveal the discourse within channels, often tied to particular themes or tasks. The 'files' table tracks shared documents and resources, and the 'bots' table catalogs automated assistants utilized by users to streamline workflows. This structure allows for multiple joins, such as linking users to their respective teams and channels, demonstrating how various elements interact within the platform.\n\nThe data addresses pertinent questions about user engagement and team dynamics: Which channels are most active? How do team structures influence communication patterns? What types of files are most frequently shared? Furthermore, it highlights the occasional engagement with bots, illustrating their role in enhancing productivity. This dataset is particularly useful for practicing data analysis, as it provides a realistic simulation of user interactions in a collaborative messaging environment. Please note that the dataset is synthetic, constructed to model these interactions without real user information.",
    "domain": "social",
    "shape": "hierarchical",
    "useCases": [
      "sql-practice",
      "teaching"
    ],
    "keywords": [
      "messaging",
      "collaboration",
      "teams",
      "user engagement",
      "channels",
      "files",
      "bots",
      "emojis",
      "workplace",
      "insights"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "users": {
        "description": "This table contains user profiles within the messaging platform. Each row represents a unique user along with their engagement metrics, such as the number of messages sent and channels joined. Users can belong to multiple teams, and their roles may vary from regular members to team leaders.",
        "rows": 200,
        "columns": {
          "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": "The email address associated with the user's account."
          },
          "messages_sent": {
            "kind": "int",
            "min": 0,
            "max": 1000,
            "description": "Total number of messages sent by the user.",
            "nullable": true,
            "distribution": "long-tail"
          },
          "channels_joined": {
            "kind": "int",
            "min": 1,
            "max": 10,
            "description": "Number of channels the user is a member of.",
            "nullable": true
          },
          "role": {
            "kind": "enum",
            "values": [
              "member",
              "admin",
              "owner"
            ],
            "description": "Role of the user within the platform."
          }
        }
      },
      "teams": {
        "description": "This table outlines the teams within the organization. Each team can have multiple users and is linked to various channels. The table captures the team name, its unique identifier, and the number of active members, facilitating an understanding of team composition.",
        "rows": 50,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each team."
          },
          "name": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "The name of the team.",
            "pool": [
              "alpha",
              "beta",
              "gamma",
              "delta",
              "epsilon",
              "zeta",
              "theta",
              "lambda",
              "sigma",
              "omega",
              "kappa",
              "nu",
              "xi",
              "rho",
              "tau",
              "pi",
              "chi",
              "psi",
              "phi",
              "upsilon"
            ]
          },
          "active_members": {
            "kind": "int",
            "min": 1,
            "max": 20,
            "description": "Count of active members in the team."
          }
        }
      },
      "channels": {
        "description": "This table describes the channels available for communication within teams. Each channel is linked to a team and can host numerous conversations. It captures channel topics, the number of messages, and the associated team, allowing for insights into channel activity and focus areas.",
        "rows": 100,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each channel."
          },
          "name": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "The name of the channel.",
            "pool": [
              "general",
              "random",
              "updates",
              "announcements",
              "projects",
              "feedback",
              "support",
              "development",
              "marketing",
              "sales",
              "design",
              "research",
              "strategy",
              "planning",
              "events",
              "collaboration",
              "ideas",
              "brainstorming",
              "community",
              "networking"
            ]
          },
          "team_id": {
            "kind": "fk",
            "ref": "teams.id",
            "description": "Reference to the team this channel belongs to."
          },
          "topic": {
            "kind": "sentence",
            "min": 10,
            "max": 100,
            "description": "The main topic or purpose of the channel."
          },
          "messages_count": {
            "kind": "int",
            "min": 0,
            "max": 500,
            "description": "Total number of messages exchanged in the channel.",
            "distribution": "long-tail"
          }
        }
      },
      "conversations": {
        "description": "This table contains records of conversations held within channels. Each entry represents a specific conversation, detailing the channel it belongs to and the user who initiated it. This table is crucial for analyzing discussion patterns and engagement within specific topics.",
        "rows": 300,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each conversation."
          },
          "channel_id": {
            "kind": "fk",
            "ref": "channels.id",
            "description": "Reference to the channel where the conversation took place."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "Reference to the user who initiated the conversation."
          },
          "timestamp": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "The date and time when the conversation started.",
            "dayProfile": "waking"
          },
          "content": {
            "kind": "paragraph",
            "min": 20,
            "max": 500,
            "description": "The content of the conversation."
          }
        }
      },
      "files": {
        "description": "This table catalogs files shared within channels. Each file is linked to a specific conversation and includes metadata such as the file type and upload timestamp. Analyzing this data helps to understand how files are utilized in discussions and which types are shared most frequently.",
        "rows": 150,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each file."
          },
          "conversation_id": {
            "kind": "fk",
            "ref": "conversations.id",
            "description": "Reference to the conversation associated with the file."
          },
          "file_name": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "The name of the file shared.",
            "nullable": true,
            "pool": [
              "report",
              "presentation",
              "document",
              "spreadsheet",
              "image",
              "video",
              "audio",
              "slide",
              "summary",
              "proposal",
              "contract",
              "invoice",
              "plan",
              "draft",
              "specification",
              "guide",
              "manual",
              "template",
              "notes",
              "archive"
            ]
          },
          "file_type": {
            "kind": "enum",
            "values": [
              "document",
              "image",
              "video",
              "audio"
            ],
            "description": "Type of the file shared."
          },
          "upload_timestamp": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "The date and time when the file was uploaded.",
            "nullable": true,
            "when": {
              "column": "file_type",
              "in": [
                "document",
                "image",
                "video",
                "audio"
              ]
            },
            "dayProfile": "business"
          }
        }
      },
      "bots": {
        "description": "This table lists bots created for enhancing workflow within channels. Each bot is linked to a specific team and can perform various tasks. The data provides insights into bot usage and the types of functionalities they offer, which can be rare compared to user interactions.",
        "rows": 20,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each bot."
          },
          "team_id": {
            "kind": "fk",
            "ref": "teams.id",
            "description": "Reference to the team that the bot is associated with."
          },
          "name": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "The name of the bot.",
            "pool": [
              "helper",
              "assistant",
              "scheduler",
              "reminder",
              "tracker",
              "analyzer",
              "moderator",
              "notifier",
              "translator",
              "searcher",
              "organizer",
              "manager",
              "facilitator",
              "connector",
              "insight",
              "feedbacker",
              "planner",
              "strategist",
              "advisor",
              "mentor"
            ]
          },
          "functionality": {
            "kind": "sentence",
            "min": 10,
            "max": 200,
            "description": "Description of the tasks the bot can perform."
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "categorical",
      "nullable",
      "timestamped",
      "high-cardinality"
    ],
    "analysisQuestions": [
      "Which channels have the highest message counts?",
      "What types of files are most frequently shared in conversations?",
      "How does user engagement vary across different teams?",
      "What role do bots play in enhancing team workflows?",
      "Are there specific topics that generate more conversations than others?"
    ],
    "suggestedQueries": [
      {
        "title": "Join Users and Teams",
        "sql": "SELECT users.full_name, teams.name FROM users JOIN teams ON users.id = teams.id;",
        "dialect": "postgres"
      },
      {
        "title": "Count Messages by Channel",
        "sql": "SELECT channels.name, COUNT(conversations.id) FROM channels LEFT JOIN conversations ON channels.id = conversations.channel_id GROUP BY channels.name;",
        "dialect": "postgres"
      },
      {
        "title": "Files Uploaded per Conversation",
        "sql": "SELECT conversations.id, COUNT(files.id) FROM conversations LEFT JOIN files ON conversations.id = files.conversation_id GROUP BY conversations.id;",
        "dialect": "postgres"
      },
      {
        "title": "Engagement Metrics by Team",
        "sql": "SELECT teams.name, SUM(users.messages_sent) FROM teams JOIN users ON teams.id = users.id GROUP BY teams.name;",
        "dialect": "postgres"
      },
      {
        "title": "Bot Functionality Overview",
        "sql": "SELECT bots.name, bots.functionality FROM bots JOIN teams ON bots.team_id = teams.id;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Training Data Analysis",
        "body": "Educators can use this dataset to teach students about data analysis and SQL querying in a collaborative messaging context. Students will learn how to extract insights related to user engagement, channel activity, and file sharing patterns, enhancing their understanding of the dynamics within digital communication platforms."
      },
      {
        "title": "User Engagement Research",
        "body": "Researchers and analysts can utilize the dataset to investigate user engagement trends across different teams and channels. By analyzing the data, they can identify how user roles affect participation and which topics drive the most conversations, providing key insights for improving communication strategies in workplaces."
      },
      {
        "title": "Bot Development Insights",
        "body": "Developers interested in building bots for messaging platforms can analyze the dataset to understand the functionalities that users find most beneficial. By examining bot usage and the types of tasks they perform, developers can tailor their creations to enhance productivity and collaboration within teams."
      },
      {
        "title": "Channel Activity Monitoring",
        "body": "Team leaders and managers can leverage this dataset for monitoring channel activity and engagement levels. By analyzing the number of messages and the types of conversations taking place, they can identify active channels, assess team dynamics, and make informed decisions to optimize collaboration."
      }
    ]
  },
  "counts": {
    "teams": 50,
    "bots": 20,
    "channels": 100,
    "users": 200,
    "conversations": 300,
    "files": 150
  },
  "stats": {
    "users": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "full_name": {
          "nulls": 0,
          "distinct": 197,
          "min": "Alice Bennett",
          "max": "Zoe Park"
        },
        "email": {
          "nulls": 0,
          "distinct": 198
        },
        "messages_sent": {
          "nulls": 17,
          "distinct": 151,
          "min": 0,
          "max": 984
        },
        "channels_joined": {
          "nulls": 23,
          "distinct": 10,
          "min": 1,
          "max": 10
        },
        "role": {
          "nulls": 0,
          "distinct": 3,
          "min": "admin",
          "max": "owner"
        }
      }
    },
    "teams": {
      "rows": 50,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 50,
          "min": 1,
          "max": 50
        },
        "name": {
          "nulls": 0,
          "distinct": 45
        },
        "active_members": {
          "nulls": 0,
          "distinct": 18,
          "min": 2,
          "max": 20
        }
      }
    },
    "channels": {
      "rows": 100,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "name": {
          "nulls": 0,
          "distinct": 89
        },
        "team_id": {
          "nulls": 0,
          "distinct": 45,
          "min": 1,
          "max": 50
        },
        "topic": {
          "nulls": 0,
          "distinct": 100
        },
        "messages_count": {
          "nulls": 0,
          "distinct": 83,
          "min": 0,
          "max": 498
        }
      }
    },
    "conversations": {
      "rows": 300,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 300,
          "min": 1,
          "max": 300
        },
        "channel_id": {
          "nulls": 0,
          "distinct": 96,
          "min": 1,
          "max": 100
        },
        "user_id": {
          "nulls": 0,
          "distinct": 156,
          "min": 2,
          "max": 200
        },
        "timestamp": {
          "nulls": 0,
          "distinct": 300,
          "min": "2023-01-02 06:43:02",
          "max": "2023-12-31 21:45:50"
        },
        "content": {
          "nulls": 0,
          "distinct": 300
        }
      }
    },
    "files": {
      "rows": 150,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 150,
          "min": 1,
          "max": 150
        },
        "conversation_id": {
          "nulls": 0,
          "distinct": 125,
          "min": 3,
          "max": 300
        },
        "file_name": {
          "nulls": 20,
          "distinct": 105
        },
        "file_type": {
          "nulls": 0,
          "distinct": 4,
          "min": "audio",
          "max": "video"
        },
        "upload_timestamp": {
          "nulls": 0,
          "distinct": 150,
          "min": "2023-01-01 15:30:16",
          "max": "2023-12-25 17:10:16"
        }
      }
    },
    "bots": {
      "rows": 20,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 20,
          "min": 1,
          "max": 20
        },
        "team_id": {
          "nulls": 0,
          "distinct": 17,
          "min": 4,
          "max": 47
        },
        "name": {
          "nulls": 0,
          "distinct": 20
        },
        "functionality": {
          "nulls": 0,
          "distinct": 20
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/teams.csv",
      "format": "csv",
      "table": "teams",
      "key": "datasets/collaborative-messaging-insights/v2/csv/teams.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/collaborative-messaging-insights/v2/csv/teams.csv",
      "bytes": 855,
      "sha256": "5742c69ecafef7d63886fdee73eb6b181236c07adc1cf9df19396168f60a317a",
      "rows": 50,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/bots.csv",
      "format": "csv",
      "table": "bots",
      "key": "datasets/collaborative-messaging-insights/v2/csv/bots.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/collaborative-messaging-insights/v2/csv/bots.csv",
      "bytes": 1784,
      "sha256": "61d254ee6b38ed437f3ac1d0ba629c54e722291dea9d66e1712aaae6145c0ba9",
      "rows": 20,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/channels.csv",
      "format": "csv",
      "table": "channels",
      "key": "datasets/collaborative-messaging-insights/v2/csv/channels.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/collaborative-messaging-insights/v2/csv/channels.csv",
      "bytes": 8581,
      "sha256": "9e53658197a640390a63af0b3a37f7457975d15d217e866a5ab073aa3ea7ffc6",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/users.csv",
      "format": "csv",
      "table": "users",
      "key": "datasets/collaborative-messaging-insights/v2/csv/users.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/collaborative-messaging-insights/v2/csv/users.csv",
      "bytes": 10496,
      "sha256": "ab93e70f64d4d3a7d1bce70be4519683878db72777a320bf4dda0b8cda633940",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/conversations.csv",
      "format": "csv",
      "table": "conversations",
      "key": "datasets/collaborative-messaging-insights/v2/csv/conversations.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/collaborative-messaging-insights/v2/csv/conversations.csv",
      "bytes": 58951,
      "sha256": "59d12bf9ccee5ef2ed4288232d8d409fb60562525013764b299aea32b2b31bee",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/files.csv",
      "format": "csv",
      "table": "files",
      "key": "datasets/collaborative-messaging-insights/v2/csv/files.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/collaborative-messaging-insights/v2/csv/files.csv",
      "bytes": 7456,
      "sha256": "0840961784326f7bce2d5725de341488d061d79f93fa955ccd86f989fbe6aa7d",
      "rows": 150,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "collaborative-messaging-insights.json",
      "format": "json",
      "table": null,
      "key": "datasets/collaborative-messaging-insights/v2/collaborative-messaging-insights.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/collaborative-messaging-insights/v2/collaborative-messaging-insights.json",
      "bytes": 179218,
      "sha256": "b4f818945c229b941e1d88161b7c244096527c87f6ccd91620355b066a654610",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/collaborative-messaging-insights/v2/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/collaborative-messaging-insights/v2/sql/postgres.sql",
      "bytes": 103265,
      "sha256": "7008c8724858bb1d0f5fd16d9d697655a0fed347b77b758f9eb6bcbfd450f5bd",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/collaborative-messaging-insights/v2/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/collaborative-messaging-insights/v2/sql/mysql.sql",
      "bytes": 102604,
      "sha256": "0ed6b1dabedf853e717f2c7d785658757e16ccf98d6615a4da7270f779a5590a",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/collaborative-messaging-insights/v2/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/collaborative-messaging-insights/v2/sql/mssql.sql",
      "bytes": 104911,
      "sha256": "3922cc2b4c7284f0d2f0dc309c28ffa2af695d8b118e16ec06798f63694dac00",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/collaborative-messaging-insights/v2/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/collaborative-messaging-insights/v2/sql/sqlite.sql",
      "bytes": 102381,
      "sha256": "ee9cc3f5a1428542ff96e4345eaf01bae72312af0932d1cbd4ef974a03ff4311",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/collaborative-messaging-insights/v2/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/collaborative-messaging-insights/v2/prisma/seed.ts",
      "bytes": 155008,
      "sha256": "f27daaca5be46c4cca000c909c9ea11165820592b385a944a988d60b7eda0049",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/collaborative-messaging-insights/v2/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/collaborative-messaging-insights/v2/django/fixtures.json",
      "bytes": 213246,
      "sha256": "5abc075ee8b0b23c10b8c638b5d12fa7e442082d4c21a8ad27cc24fe1e7d9ebb",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788766986840,
  "updatedAt": 1788777941954
}
