{
  "format": "dataset-manifest/1",
  "slug": "social-interaction-insights",
  "version": 2,
  "seed": "social-interaction-insights:1",
  "spec": {
    "format": "dataset/1",
    "slug": "social-interaction-insights",
    "name": "Social Interaction Insights",
    "tagline": "User interactions, feedback, and engagement metrics from a social platform.",
    "description": "Users engage with each other on a dynamic platform designed to foster social connections through various interaction channels. They subscribe to tailored plans, participate in messaging, share their feedback, and assess models intended to elevate their overall experience. While typical user behavior shows consistent activity patterns, distinctive interactions, like trending feedback and critical model evaluations, emerge sporadically, shedding light on community engagement trends and preferences.\n\nThe dataset features a single table, user_interactions, which captures essential information about how users connect and communicate. Each row represents a unique interaction event, detailing elements such as the user IDs involved, the type of interaction (e.g., messages sent, feedback provided), timestamps, and the specific plans under which users operate. This structure allows for a detailed exploration of engagement patterns among different users and across various interaction types.\n\nWith this data, developers can answer questions about user behavior, analyze the effectiveness of different engagement strategies, and discover trends in social interactions. Practicing on this dataset provides opportunities to work with time-series analysis, user segmentation, and feedback impact evaluations. Whether you're interested in understanding how subscription plans influence interaction frequency or exploring the correlation between feedback trends and model evaluations, this dataset is a valuable resource for honing your analytical skills. Keep in mind that all provided data is synthetic, designed to mimic real user interactions while ensuring privacy and confidentiality.",
    "domain": "social",
    "shape": "transactional",
    "useCases": [
      "sql-practice",
      "orm-seeding"
    ],
    "keywords": [
      "social engagement",
      "user interaction",
      "feedback",
      "messaging",
      "activity patterns"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "user_interactions": {
        "description": "This table records interactions between users, including messaging, feedback, and evaluations. Each row represents a unique interaction instance, linking users to their engagement activities and capturing the nature of their interactions.",
        "rows": 500,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each interaction."
          },
          "user_id": {
            "kind": "int",
            "min": 1,
            "max": 1000,
            "description": "Identifier for the user involved in the interaction."
          },
          "interaction_type": {
            "kind": "enum",
            "values": [
              "message",
              "feedback",
              "evaluation"
            ],
            "weights": [
              0.6,
              0.3,
              0.1
            ],
            "description": "Type of interaction performed by the user."
          },
          "timestamp": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "Date and time when the interaction occurred.",
            "dayProfile": "waking"
          },
          "feedback_score": {
            "kind": "int",
            "min": 1,
            "max": 5,
            "nullable": true,
            "description": "Score provided by the user for feedback interactions, null for non-feedback types.",
            "distribution": "high"
          },
          "model_id": {
            "kind": "int",
            "min": 1,
            "max": 50,
            "nullable": true,
            "description": "Identifier for the model being evaluated, null for non-evaluation types."
          }
        }
      }
    },
    "structure": "single-table",
    "traits": [
      "timestamped",
      "nullable",
      "categorical"
    ],
    "analysisQuestions": [
      "What types of interactions are most common among users?",
      "How does user feedback correlate with their engagement levels?",
      "Are there specific times when user interactions peak?",
      "What is the average feedback score given by users?",
      "How frequently do users evaluate models compared to other interactions?"
    ],
    "suggestedQueries": [
      {
        "title": "Basic User Interaction Count",
        "sql": "SELECT user_id, COUNT(*) AS interaction_count FROM user_interactions GROUP BY user_id;",
        "dialect": "postgres"
      },
      {
        "title": "Interaction Type Distribution",
        "sql": "SELECT interaction_type, COUNT(*) AS type_count FROM user_interactions GROUP BY interaction_type;",
        "dialect": "postgres"
      },
      {
        "title": "Average Feedback Score by Interaction Type",
        "sql": "SELECT interaction_type, AVG(feedback_score) AS avg_feedback FROM user_interactions WHERE feedback_score IS NOT NULL GROUP BY interaction_type;",
        "dialect": "postgres"
      },
      {
        "title": "User Interactions Over Time",
        "sql": "SELECT DATE(timestamp) AS interaction_date, COUNT(*) AS total_interactions FROM user_interactions GROUP BY interaction_date ORDER BY interaction_date;",
        "dialect": "postgres"
      },
      {
        "title": "Top Users by Interaction Count",
        "sql": "SELECT user_id, COUNT(*) AS interaction_count FROM user_interactions GROUP BY user_id ORDER BY interaction_count DESC LIMIT 10;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "User Engagement Analysis",
        "body": "Data analysts at a social platform can utilize this dataset to study user engagement patterns, identifying which types of interactions lead to higher user satisfaction. By analyzing feedback scores in conjunction with interaction types, they can derive actionable insights to improve user experience."
      },
      {
        "title": "Feature Development",
        "body": "Developers working on new features for the social platform can use this dataset to test different algorithms for analyzing user interactions. By seeding their ORM with this data, they can simulate real-world scenarios to ensure that new features are effective and engaging."
      },
      {
        "title": "Trend Monitoring",
        "body": "Marketing teams can leverage this dataset to monitor trends in user interactions over time. By identifying peak interaction periods, they can strategize their marketing campaigns to align with user behavior, maximizing engagement and effectiveness."
      }
    ]
  },
  "counts": {
    "user_interactions": 500
  },
  "stats": {
    "user_interactions": {
      "rows": 500,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 500,
          "min": 1,
          "max": 500
        },
        "user_id": {
          "nulls": 0,
          "distinct": 396,
          "min": 1,
          "max": 997
        },
        "interaction_type": {
          "nulls": 0,
          "distinct": 3,
          "min": "evaluation",
          "max": "message"
        },
        "timestamp": {
          "nulls": 0,
          "distinct": 500,
          "min": "2023-01-01 09:26:57",
          "max": "2023-12-31 17:58:37"
        },
        "feedback_score": {
          "nulls": 48,
          "distinct": 5,
          "min": 1,
          "max": 5
        },
        "model_id": {
          "nulls": 44,
          "distinct": 50,
          "min": 1,
          "max": 50
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/user_interactions.csv",
      "format": "csv",
      "table": "user_interactions",
      "key": "datasets/social-interaction-insights/v2/csv/user_interactions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/social-interaction-insights/v2/csv/user_interactions.csv",
      "bytes": 20959,
      "sha256": "b1f47d4242120c211753f0b7cf7e46c198a00577dad588c76dba8d23586823dc",
      "rows": 500,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "social-interaction-insights.json",
      "format": "json",
      "table": null,
      "key": "datasets/social-interaction-insights/v2/social-interaction-insights.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/social-interaction-insights/v2/social-interaction-insights.json",
      "bytes": 89796,
      "sha256": "b1f66bfee771981790df10e3610a8826b5502758a3297be36ccd686ab9959445",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/social-interaction-insights/v2/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/social-interaction-insights/v2/sql/postgres.sql",
      "bytes": 29810,
      "sha256": "7ca09e34d44a5e0bcf685d53ba62866a9be9672ce6d6157ea5f5604f426e014c",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/social-interaction-insights/v2/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/social-interaction-insights/v2/sql/mysql.sql",
      "bytes": 29680,
      "sha256": "8c17fd6ebf8546d5b21c7ec69b02ca7d2d0f60e55e70fdbe56866127fbff745c",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/social-interaction-insights/v2/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/social-interaction-insights/v2/sql/mssql.sql",
      "bytes": 30761,
      "sha256": "d128aca0c05b144cf1faa92e2fe64421189ec4a59b90c2d654aef8ce20868aa5",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/social-interaction-insights/v2/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/social-interaction-insights/v2/sql/sqlite.sql",
      "bytes": 29664,
      "sha256": "2e37cfeacd59aa1f8954a60ccd7dbe0bb9185e5073f6d4f9441fc44b3d777f14",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/social-interaction-insights/v2/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/social-interaction-insights/v2/prisma/seed.ts",
      "bytes": 74028,
      "sha256": "a2a2ae0460a81ad0769b8e8ec81367061ac1593b7109f99c8b9c09123c810a8c",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/social-interaction-insights/v2/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/social-interaction-insights/v2/django/fixtures.json",
      "bytes": 116267,
      "sha256": "186c20134040b7d357e3d58cc02dc3f2aae6ef90646228825364e1e88d578048",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788768730026,
  "updatedAt": 1788786163395
}
