{
  "format": "dataset-manifest/1",
  "slug": "chat-interaction-insights",
  "version": 3,
  "seed": "chat-interaction-insights:1",
  "spec": {
    "format": "dataset/1",
    "slug": "chat-interaction-insights",
    "name": "Chat Interaction Insights",
    "tagline": "User interactions, conversations, messages, and transaction records from a social engagement platform.",
    "description": "Users engage actively in conversations, sharing ideas and forming communities around various topics in a social engagement platform. This bustling environment allows individuals to connect and communicate dynamically, with conversations consisting of multiple messages that reflect the interests and sentiments of the participants. Each conversation can be tagged with specific labels to categorize the discussion, helping users navigate through the diverse array of topics and interests available on the platform. Additionally, the dataset captures transactions related to service upgrades and add-ons, providing insight into user behaviors and preferences.\n\nThe tables in this dataset interrelate closely, allowing for a rich exploration of user interactions. The 'users' table contains unique profiles of individuals on the platform, while the 'conversations' table outlines the different discussion threads initiated by users. Each row in the 'messages' table corresponds to individual messages sent within these conversations, linking back to both the users who sent them and the conversations they belong to. The 'conversation_tags' table connects tags to conversations, indicating the themes of each discussion. Finally, the 'transactions' table records user purchases, enabling analysis of how service upgrades might influence user engagement and conversation activity.\n\nThis dataset is ideal for practitioners looking to explore user interaction dynamics, analyze conversation trends, or investigate the impact of user transactions on engagement levels. It provides opportunities to practice SQL joins across tables, perform aggregations to understand message volume and frequency, and derive insights about user behavior patterns. As the data is synthetic, it allows users to experiment without concerns about privacy or real-world implications.",
    "domain": "social",
    "shape": "multi-tenant",
    "useCases": [
      "orm-seeding",
      "api-mocking"
    ],
    "keywords": [
      "social engagement",
      "user interactions",
      "conversations",
      "messages",
      "transactions",
      "tags"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "users": {
        "description": "This table contains information about users on the platform. Each row represents a unique user with their details.",
        "rows": 500,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each user."
          },
          "full_name": {
            "kind": "fullName",
            "description": "The full name of the user.",
            "nullable": true
          },
          "email": {
            "kind": "email",
            "from": "full_name",
            "description": "The email address of the user.",
            "nullable": true
          },
          "join_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-01-01",
            "description": "The date the user joined the platform."
          }
        }
      },
      "conversations": {
        "description": "This table records the conversations initiated by users. Each row represents a unique conversation thread.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each conversation."
          },
          "title": {
            "kind": "title",
            "description": "The title of the conversation.",
            "nullable": true,
            "pool": [
              "engagement",
              "discussion",
              "feedback",
              "insight",
              "strategy",
              "collaboration",
              "analysis",
              "trends",
              "perspective",
              "dialogue",
              "exchange",
              "networking",
              "brainstorm",
              "exploration",
              "growth",
              "innovation",
              "connection",
              "experience",
              "interaction",
              "community"
            ],
            "min": 1,
            "max": 3
          },
          "created_at": {
            "kind": "datetime",
            "from": "2020-01-01",
            "to": "2023-01-01",
            "dayProfile": "waking",
            "description": "The date and time when the conversation was created."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "The identifier of the user who initiated the conversation."
          }
        }
      },
      "messages": {
        "description": "This table captures the messages exchanged within conversations. Each row represents a single message.",
        "rows": 1000,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each message."
          },
          "content": {
            "kind": "paragraph",
            "min": 1,
            "max": 500,
            "description": "The content of the message.",
            "nullable": true
          },
          "sent_at": {
            "kind": "datetime",
            "from": "2020-01-01",
            "to": "2023-01-01",
            "dayProfile": "waking",
            "description": "The date and time when the message was sent."
          },
          "conversation_id": {
            "kind": "fk",
            "ref": "conversations.id",
            "description": "The identifier of the conversation the message belongs to."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "The identifier of the user who sent the message."
          }
        }
      },
      "conversation_tags": {
        "description": "This table associates tags with conversations for categorization purposes. Each row maps a tag to a conversation.",
        "rows": 300,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each tag association."
          },
          "tag": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "The tag associated with the conversation.",
            "pool": [
              "social",
              "insight",
              "strategy",
              "feedback",
              "engagement",
              "discussion",
              "network",
              "collaboration",
              "trends",
              "community",
              "dialogue",
              "exchange",
              "analysis",
              "perspective",
              "innovation",
              "growth",
              "experience",
              "interaction",
              "brainstorm",
              "exploration"
            ]
          },
          "conversation_id": {
            "kind": "fk",
            "ref": "conversations.id",
            "description": "The identifier of the conversation linked to the tag."
          }
        }
      },
      "transactions": {
        "description": "This table records the transactions made by users for service upgrades or add-ons. Each row represents a unique transaction.",
        "rows": 250,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each transaction."
          },
          "amount": {
            "kind": "decimal",
            "min": 1,
            "max": 1000,
            "scale": 2,
            "description": "The amount charged for the transaction.",
            "nullable": true,
            "distribution": "long-tail"
          },
          "transaction_date": {
            "kind": "datetime",
            "from": "2020-01-01",
            "to": "2023-01-01",
            "description": "The date and time when the transaction occurred."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "The identifier of the user who made the transaction."
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "categorical",
      "timestamped",
      "high-cardinality"
    ],
    "analysisQuestions": [
      "What are the most common conversation topics among users?",
      "How often do users engage in conversations on specific tags?",
      "What is the average transaction amount for service upgrades?",
      "Which users are the most active in terms of sending messages?",
      "How do conversation trends change over time?"
    ],
    "suggestedQueries": [
      {
        "title": "Join Users and Conversations",
        "sql": "SELECT users.full_name, conversations.title FROM users JOIN conversations ON users.id = conversations.user_id;",
        "dialect": "postgres"
      },
      {
        "title": "Count Messages by Conversation",
        "sql": "SELECT conversations.title, COUNT(messages.id) FROM conversations LEFT JOIN messages ON conversations.id = messages.conversation_id GROUP BY conversations.title;",
        "dialect": "postgres"
      },
      {
        "title": "Average Transaction Amount by User",
        "sql": "SELECT users.full_name, AVG(transactions.amount) FROM users JOIN transactions ON users.id = transactions.user_id GROUP BY users.full_name;",
        "dialect": "postgres"
      },
      {
        "title": "Messages Sent Over Time",
        "sql": "SELECT DATE(sent_at) AS date, COUNT(*) FROM messages GROUP BY date ORDER BY date;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Data Analysis for Engagement Trends",
        "body": "A data analyst can use this dataset to explore user engagement trends on the platform. By querying the number of messages sent per day and analyzing which tags are most frequently used, they can provide insights to improve user experience and retain users."
      },
      {
        "title": "ORM Seeding for Application Development",
        "body": "Developers can utilize this dataset for ORM seeding in their social application. By populating their database with realistic user interactions, conversations, and transactions, they can better simulate the application's functionality and test various features effectively."
      },
      {
        "title": "API Mocking for Development",
        "body": "API developers can leverage this dataset to mock API responses during the development of services that require user interaction data. By using realistic data, they can ensure that their endpoints behave as expected before moving to production."
      }
    ]
  },
  "counts": {
    "users": 500,
    "conversations": 200,
    "conversation_tags": 300,
    "messages": 1000,
    "transactions": 250
  },
  "stats": {
    "users": {
      "rows": 500,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 500,
          "min": 1,
          "max": 500
        },
        "full_name": {
          "nulls": 38,
          "distinct": 448,
          "min": "Alice Andersen",
          "max": "Zoe Vargas"
        },
        "email": {
          "nulls": 85,
          "distinct": 412
        },
        "join_date": {
          "nulls": 0,
          "distinct": 408,
          "min": "2020-01-07",
          "max": "2023-01-01"
        }
      }
    },
    "conversations": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "title": {
          "nulls": 22,
          "distinct": 121
        },
        "created_at": {
          "nulls": 0,
          "distinct": 200,
          "min": "2020-01-06 13:13:08",
          "max": "2023-01-01 15:48:28"
        },
        "user_id": {
          "nulls": 0,
          "distinct": 166,
          "min": 2,
          "max": 500
        }
      }
    },
    "messages": {
      "rows": 1000,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 1000,
          "min": 1,
          "max": 1000
        },
        "content": {
          "nulls": 106,
          "distinct": 894
        },
        "sent_at": {
          "nulls": 0,
          "distinct": 1000,
          "min": "2020-01-01 18:18:55",
          "max": "2023-01-01 19:30:53"
        },
        "conversation_id": {
          "nulls": 0,
          "distinct": 199,
          "min": 1,
          "max": 200
        },
        "user_id": {
          "nulls": 0,
          "distinct": 430,
          "min": 1,
          "max": 500
        }
      }
    },
    "conversation_tags": {
      "rows": 300,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 300,
          "min": 1,
          "max": 300
        },
        "tag": {
          "nulls": 0,
          "distinct": 212
        },
        "conversation_id": {
          "nulls": 0,
          "distinct": 158,
          "min": 1,
          "max": 200
        }
      }
    },
    "transactions": {
      "rows": 250,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 250,
          "min": 1,
          "max": 250
        },
        "amount": {
          "nulls": 29,
          "distinct": 221,
          "min": 1.01,
          "max": 984.3
        },
        "transaction_date": {
          "nulls": 0,
          "distinct": 250,
          "min": "2020-01-07 15:56:49",
          "max": "2022-12-28 13:40:42"
        },
        "user_id": {
          "nulls": 0,
          "distinct": 193,
          "min": 7,
          "max": 498
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/users.csv",
      "format": "csv",
      "table": "users",
      "key": "datasets/chat-interaction-insights/v3/csv/users.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/chat-interaction-insights/v3/csv/users.csv",
      "bytes": 23685,
      "sha256": "d24be739b2bdba6155da92b8416b18e915099b920f92912b50a4a45c8654fe24",
      "rows": 500,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/conversations.csv",
      "format": "csv",
      "table": "conversations",
      "key": "datasets/chat-interaction-insights/v3/csv/conversations.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/chat-interaction-insights/v3/csv/conversations.csv",
      "bytes": 9133,
      "sha256": "1710187e3d3c266a2ebbb812ce91907bb6ee7cda0ae0b2f4c4a8e9a2db261cc6",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/conversation_tags.csv",
      "format": "csv",
      "table": "conversation_tags",
      "key": "datasets/chat-interaction-insights/v3/csv/conversation_tags.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/chat-interaction-insights/v3/csv/conversation_tags.csv",
      "bytes": 8568,
      "sha256": "83ed1d8e16a2874ff9048594cc4d79859eb777e584560a5aa42eecc40b44a0de",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/messages.csv",
      "format": "csv",
      "table": "messages",
      "key": "datasets/chat-interaction-insights/v3/csv/messages.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/chat-interaction-insights/v3/csv/messages.csv",
      "bytes": 181892,
      "sha256": "999121c1045136ae4e20b94345bb6f11a156d32bc3f1b8ff58adee31e36203b3",
      "rows": 1000,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/transactions.csv",
      "format": "csv",
      "table": "transactions",
      "key": "datasets/chat-interaction-insights/v3/csv/transactions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/chat-interaction-insights/v3/csv/transactions.csv",
      "bytes": 8617,
      "sha256": "85c0312875bf9bbfc853bed6579c0a3b32d5c13dfdd6633e9d2250e7d28d9b5f",
      "rows": 250,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "chat-interaction-insights.json",
      "format": "json",
      "table": null,
      "key": "datasets/chat-interaction-insights/v3/chat-interaction-insights.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/chat-interaction-insights/v3/chat-interaction-insights.json",
      "bytes": 440983,
      "sha256": "52b1959ace8c3ea057e139a880ff90ee89aa4e51b39a744e2c8b7fd20cdc1414",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/chat-interaction-insights/v3/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/chat-interaction-insights/v3/sql/postgres.sql",
      "bytes": 264784,
      "sha256": "e638841cdf5e90996434ca8c1ec8d842fec417317d2a6fa6241090c72823c3f4",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/chat-interaction-insights/v3/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/chat-interaction-insights/v3/sql/mysql.sql",
      "bytes": 264200,
      "sha256": "cab6a0253ac5cf0d95facd605e3c7dc289de219db0f102daac5afb0448f514e4",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/chat-interaction-insights/v3/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/chat-interaction-insights/v3/sql/mssql.sql",
      "bytes": 268750,
      "sha256": "18cf3d29d02aff00bd61bc6e455d90969e5544249829b62a5f8094366053582c",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/chat-interaction-insights/v3/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/chat-interaction-insights/v3/sql/sqlite.sql",
      "bytes": 263953,
      "sha256": "6853625ccb7bf248fe3a1981bfb595e73c9380ac189fe718954aafdcc0895f49",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/chat-interaction-insights/v3/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/chat-interaction-insights/v3/prisma/seed.ts",
      "bytes": 389808,
      "sha256": "0800cfb79c3959b65e3cc5db51cbe6517b10a3de64a0db35efc2a50e6f73dd63",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/chat-interaction-insights/v3/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/chat-interaction-insights/v3/django/fixtures.json",
      "bytes": 536437,
      "sha256": "b35423380a1697f5508b2652e739ab6e9d037d6af160fc86f4f9b9e8e973dbcd",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788766161986,
  "updatedAt": 1788782738116
}
