{
  "format": "dataset-manifest/1",
  "slug": "connected-voices",
  "version": 1,
  "seed": "connected-voices:1",
  "spec": {
    "format": "dataset/1",
    "slug": "connected-voices",
    "name": "Connected Voices",
    "tagline": "User profiles, voice messages, playlists, and interactions within a social platform's community.",
    "description": "Users engage through voice-activated interactions on a vibrant social platform, creating a dynamic space for connection and sharing. The dataset models user profiles, voice messages, playlists, and the intricate network of follows and likes that shape relationships within this community. Users typically maintain close connections with a small circle of friends, while some rise to prominence as influencers with larger followings. This dataset captures the interactions that occur, highlighting how posts cluster around trending tags and categories, reflecting the current interests of the user base. By practicing with this synthetic data, users can explore social network analysis, query relationships, and examine user engagement patterns effectively.",
    "domain": "social",
    "shape": "graph-edges",
    "useCases": [
      "sql-practice",
      "teaching"
    ],
    "keywords": [
      "social network",
      "voice interactions",
      "user profiles",
      "engagement",
      "influencers",
      "followers",
      "likes",
      "playlists",
      "trending tags"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "user_interactions": {
        "description": "This table captures user interactions such as follows, likes, and voice message exchanges. Each row represents a unique interaction between users, linking their profiles through the user_id and connected_user_id columns.",
        "rows": 500,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each interaction record."
          },
          "user_id": {
            "kind": "fk",
            "ref": "user_interactions.id",
            "nullable": true,
            "description": "The ID of the user initiating the interaction."
          },
          "connected_user_id": {
            "kind": "fk",
            "ref": "user_interactions.id",
            "nullable": true,
            "description": "The ID of the user receiving the interaction."
          },
          "interaction_type": {
            "kind": "enum",
            "values": [
              "follow",
              "like",
              "voice_message"
            ],
            "description": "Type of interaction, indicating whether it's a follow, a like, or a voice message."
          },
          "created_at": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "Timestamp indicating when the interaction occurred.",
            "dayProfile": "waking"
          },
          "tags": {
            "kind": "words",
            "max": 10,
            "description": "Tags associated with the interaction, highlighting themes or subjects."
          }
        }
      }
    },
    "structure": "single-table",
    "traits": [
      "categorical",
      "timestamped",
      "nullable",
      "high-cardinality"
    ],
    "analysisQuestions": [
      "What are the most common types of interactions among users?",
      "How do follows and likes correlate with user engagement?",
      "Which tags are most frequently associated with voice messages?",
      "What patterns can be observed in interactions over time?",
      "How do influencer interactions differ from regular users?"
    ],
    "suggestedQueries": [
      {
        "title": "Get all interactions by a specific user",
        "sql": "SELECT * FROM user_interactions WHERE user_id = ?;",
        "dialect": "postgres"
      },
      {
        "title": "Count interactions by type",
        "sql": "SELECT interaction_type, COUNT(*) FROM user_interactions GROUP BY interaction_type;",
        "dialect": "postgres"
      },
      {
        "title": "Find trending tags over time",
        "sql": "SELECT tags, COUNT(*) FROM user_interactions WHERE created_at >= '2023-01-01' GROUP BY tags ORDER BY COUNT(*) DESC;",
        "dialect": "postgres"
      },
      {
        "title": "Analyze user engagement patterns",
        "sql": "SELECT user_id, COUNT(*) AS engagement_count FROM user_interactions GROUP BY user_id ORDER BY engagement_count DESC;",
        "dialect": "postgres"
      },
      {
        "title": "Explore influencer interactions",
        "sql": "SELECT connected_user_id, COUNT(*) FROM user_interactions WHERE interaction_type = 'follow' GROUP BY connected_user_id HAVING COUNT(*) > 100;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Social Network Analysis",
        "body": "Data analysts can utilize this dataset to study the relationships and interactions within a voice-activated social platform. By querying user connections, follows, and likes, they can gain insights into the structure of user engagement and identify key influencers in the community."
      },
      {
        "title": "Teaching SQL Queries",
        "body": "Educators can employ this dataset in classroom settings to teach students about SQL querying techniques. The diverse range of interactions allows students to practice writing queries for various use cases, such as aggregations and joins, enhancing their understanding of database management."
      },
      {
        "title": "User Engagement Studies",
        "body": "Marketing professionals can analyze this data to understand user behavior and engagement patterns. By examining the types of interactions and associated tags, they can tailor their campaigns to align with trending topics and enhance user retention strategies."
      }
    ]
  },
  "counts": {
    "user_interactions": 500
  },
  "stats": {
    "user_interactions": {
      "rows": 500,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 500,
          "min": 1,
          "max": 500
        },
        "user_id": {
          "nulls": 57,
          "distinct": 235,
          "min": 1,
          "max": 465
        },
        "connected_user_id": {
          "nulls": 40,
          "distinct": 237,
          "min": 1,
          "max": 487
        },
        "interaction_type": {
          "nulls": 0,
          "distinct": 3,
          "min": "follow",
          "max": "voice_message"
        },
        "created_at": {
          "nulls": 0,
          "distinct": 500,
          "min": "2023-01-01 14:57:01",
          "max": "2023-12-31 17:53:05"
        },
        "tags": {
          "nulls": 0,
          "distinct": 500
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/user_interactions.csv",
      "format": "csv",
      "table": "user_interactions",
      "key": "datasets/connected-voices/v1/csv/user_interactions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/connected-voices/v1/csv/user_interactions.csv",
      "bytes": 40369,
      "sha256": "fc16e7e9b31c872eaf2b5bbd867ae1af621a622d671ff6ad8196b5a6bceb0233",
      "rows": 500,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "connected-voices.json",
      "format": "json",
      "table": null,
      "key": "datasets/connected-voices/v1/connected-voices.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/connected-voices/v1/connected-voices.json",
      "bytes": 110226,
      "sha256": "01ab2619c5e99dad2d5e7ac43a941cc884efc18d2ab85fc12e08ab7f1294f0a7",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/connected-voices/v1/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/connected-voices/v1/sql/postgres.sql",
      "bytes": 50515,
      "sha256": "c3ab4668eb30be09451eb0cd55f40cb4af41295dbc46aaf1489e16fe44ebd192",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/connected-voices/v1/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/connected-voices/v1/sql/mysql.sql",
      "bytes": 50389,
      "sha256": "07765e52764f824e0f96ece97bfb97894fc9a207821aed57442530aa56a64dba",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/connected-voices/v1/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/connected-voices/v1/sql/mssql.sql",
      "bytes": 51971,
      "sha256": "a485296b3f5d2b40df02d5b3640b5b8588710bd9a541e8da4b398a8d5a7d0a25",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/connected-voices/v1/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/connected-voices/v1/sql/sqlite.sql",
      "bytes": 50262,
      "sha256": "b235d981d6d71be9fb597107f836fb2110a430e96b5b6e31d362c05e579c271a",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/connected-voices/v1/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/connected-voices/v1/prisma/seed.ts",
      "bytes": 94436,
      "sha256": "2101159691e4f8884fadb09000c2793514154044d51f0f2a43f2ddaedfa0e923",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/connected-voices/v1/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/connected-voices/v1/django/fixtures.json",
      "bytes": 133697,
      "sha256": "f71cbdecb6c448c46bb54ff008e10b398b1e98db458d5ba775f03691fb4efd47",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788766165527,
  "updatedAt": 1788766165527
}
