{
  "format": "dataset-manifest/1",
  "slug": "anonymous-social-network",
  "version": 3,
  "seed": "anonymous-social-network:1",
  "engine": 1,
  "engineVersion": "1.0.0",
  "spec": {
    "format": "dataset/1",
    "slug": "anonymous-social-network",
    "name": "Engagement Metrics for Anonymous Connections",
    "tagline": "Engagement metrics from users, posts, comments, messages, and interactions in an anonymous social network.",
    "description": "A vibrant social network thrives on connections, conversations, and shared experiences among users who value their privacy. Members engage through comments, messages, and posts while navigating friend requests and joining various groups. This dataset reveals dynamic patterns of interaction, with events often attracting high participation while comments see heavy clustering around popular posts. Rarely, a user might block another, highlighting the unique interpersonal dynamics at play within this anonymous sphere. Through synthetic data, developers can practice data analysis, SQL querying, and visualization techniques while exploring user engagement across various interactions. The dataset includes tables for users, posts, comments, messages, and interactions, each serving a specific aspect of social engagement. This structure allows for comprehensive exploration of how users connect and communicate, providing insights into usage patterns and user behavior.",
    "domain": "social",
    "shape": "event-log",
    "useCases": [
      "analytics-demo",
      "etl-pipelines"
    ],
    "keywords": [
      "social network",
      "user engagement",
      "comments",
      "posts",
      "messages",
      "interactions",
      "anonymous",
      "privacy"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "users": {
        "description": "This table holds user information with unique anonymous identifiers, capturing user engagement behavior.",
        "rows": 200,
        "columns": {
          "user_id": {
            "kind": "pk",
            "description": "Unique identifier for each user."
          },
          "created_at": {
            "kind": "datetime",
            "from": "2022-01-01",
            "to": "2023-01-01",
            "description": "Date when the user joined the platform.",
            "dayProfile": "waking"
          },
          "engagement_score": {
            "kind": "decimal",
            "min": 0,
            "max": 100,
            "distribution": "normal",
            "description": "Score representing user engagement level on the platform."
          },
          "last_active_at": {
            "kind": "datetime",
            "from": "2022-01-01",
            "to": "2023-01-01",
            "description": "Date and time when the user was last active."
          }
        }
      },
      "posts": {
        "description": "This table contains posts made by users, linking them to the user who created each post.",
        "rows": 300,
        "columns": {
          "post_id": {
            "kind": "pk",
            "description": "Unique identifier for each post."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.user_id",
            "description": "The user who created the post."
          },
          "content": {
            "kind": "paragraph",
            "min": 10,
            "max": 500,
            "description": "Text content of the post."
          },
          "created_at": {
            "kind": "datetime",
            "from": "2022-01-01",
            "to": "2023-01-01",
            "description": "Date when the post was created.",
            "dayProfile": "waking"
          },
          "visibility": {
            "kind": "enum",
            "values": [
              "public",
              "private",
              "friends only"
            ],
            "weights": [
              70,
              20,
              10
            ],
            "description": "Visibility setting of the post."
          },
          "likes_count": {
            "kind": "int",
            "min": 0,
            "max": 1000,
            "distribution": "normal",
            "description": "Number of likes received by the post."
          }
        }
      },
      "comments": {
        "description": "This table captures comments made on posts by users, linking each comment to a specific post.",
        "rows": 400,
        "columns": {
          "comment_id": {
            "kind": "pk",
            "description": "Unique identifier for each comment."
          },
          "post_id": {
            "kind": "fk",
            "ref": "posts.post_id",
            "description": "The post that the comment belongs to."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.user_id",
            "description": "The user who made the comment."
          },
          "content": {
            "kind": "paragraph",
            "min": 5,
            "max": 300,
            "description": "Text content of the comment."
          },
          "created_at": {
            "kind": "datetime",
            "from": "2022-01-01",
            "to": "2023-01-01",
            "description": "Date when the comment was made.",
            "dayProfile": "waking"
          },
          "likes_count": {
            "kind": "int",
            "min": 0,
            "max": 500,
            "distribution": "normal",
            "description": "Number of likes received by the comment."
          },
          "is_edited": {
            "kind": "bool",
            "trueRate": 0.1,
            "description": "Indicates if the comment has been edited."
          }
        }
      },
      "messages": {
        "description": "This table records private messages exchanged between users, capturing the interaction dynamics.",
        "rows": 250,
        "columns": {
          "message_id": {
            "kind": "pk",
            "description": "Unique identifier for each message."
          },
          "sender_id": {
            "kind": "fk",
            "ref": "users.user_id",
            "description": "The user who sent the message."
          },
          "receiver_id": {
            "kind": "fk",
            "ref": "users.user_id",
            "description": "The user who received the message."
          },
          "content": {
            "kind": "paragraph",
            "min": 1,
            "max": 400,
            "description": "Text content of the message."
          },
          "created_at": {
            "kind": "datetime",
            "from": "2022-01-01",
            "to": "2023-01-01",
            "description": "Date when the message was sent.",
            "dayProfile": "waking"
          },
          "is_read": {
            "kind": "bool",
            "trueRate": 0.8,
            "description": "Indicates if the message has been read by the receiver."
          },
          "reply_count": {
            "kind": "int",
            "min": 0,
            "max": 50,
            "distribution": "normal",
            "description": "Number of replies to the message."
          }
        }
      },
      "interactions": {
        "description": "This table logs interactions such as likes and blocks between users, reflecting engagement levels.",
        "rows": 150,
        "columns": {
          "interaction_id": {
            "kind": "pk",
            "description": "Unique identifier for each interaction."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.user_id",
            "description": "The user who initiated the interaction."
          },
          "target_user_id": {
            "kind": "fk",
            "ref": "users.user_id",
            "nullable": true,
            "description": "The user who is the target of the interaction."
          },
          "type": {
            "kind": "enum",
            "values": [
              "like",
              "block"
            ],
            "description": "Type of interaction.",
            "weights": [
              8,
              2
            ]
          },
          "created_at": {
            "kind": "datetime",
            "from": "2022-01-01",
            "to": "2023-01-01",
            "description": "Date when the interaction occurred.",
            "dayProfile": "waking",
            "trend": "growing"
          },
          "interaction_count": {
            "kind": "int",
            "min": 1,
            "max": 100,
            "distribution": "normal",
            "description": "Total number of interactions initiated by the user."
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "timestamped",
      "categorical",
      "nullable"
    ],
    "analysisQuestions": [
      "What types of interactions are most common among users?",
      "How do user engagement levels vary across different posts?",
      "What is the average number of comments per post?",
      "Which users are the most active in terms of posting and commenting?",
      "How does the frequency of private messages correlate with public engagement?"
    ],
    "suggestedQueries": [
      {
        "title": "Join posts with users",
        "sql": "SELECT posts.post_id, users.created_at FROM posts JOIN users ON posts.user_id = users.user_id;",
        "dialect": "postgres"
      },
      {
        "title": "Count comments per post",
        "sql": "SELECT post_id, COUNT(comment_id) FROM comments GROUP BY post_id;",
        "dialect": "postgres"
      },
      {
        "title": "Active users based on posts and comments",
        "sql": "SELECT users.user_id, COUNT(posts.post_id) + COUNT(comments.comment_id) AS activity_count FROM users LEFT JOIN posts ON users.user_id = posts.user_id LEFT JOIN comments ON posts.post_id = comments.post_id GROUP BY users.user_id ORDER BY activity_count DESC;",
        "dialect": "postgres"
      },
      {
        "title": "Frequency of interactions",
        "sql": "SELECT user_id, COUNT(interaction_id) AS interaction_count FROM interactions GROUP BY user_id;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Data Analysts Exploring Engagement Patterns",
        "body": "Data analysts can utilize this dataset to explore engagement patterns within an anonymous social network. By analyzing user interactions, they can identify trends in user behavior, assess the effectiveness of different types of posts, and provide insights that can inform the development of new features or enhancements to the network."
      },
      {
        "title": "Developers Building Analytics Tools",
        "body": "Developers aiming to build analytics tools can leverage this dataset to create dashboards that visualize user engagement metrics. By integrating the data into their applications, they can provide users with insights about their activity, the popularity of their posts, and how they compare to other users within the network."
      },
      {
        "title": "Marketing Teams Assessing User Engagement",
        "body": "Marketing teams can use this dataset to assess user engagement levels and identify key influencers within the anonymous network. By understanding which users generate the most interactions, they can tailor marketing strategies to enhance connections and promote content that resonates with the community."
      },
      {
        "title": "Researchers Studying Anonymous User Behavior",
        "body": "Researchers interested in studying anonymous user behavior can analyze this dataset to gain insights into the dynamics of privacy-focused social networks. By examining how users interact without revealing their identities, they can contribute to the understanding of online social behavior and community dynamics."
      }
    ]
  },
  "counts": {
    "users": 200,
    "interactions": 150,
    "messages": 250,
    "posts": 300,
    "comments": 400
  },
  "stats": {
    "users": {
      "rows": 200,
      "columns": {
        "user_id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "created_at": {
          "nulls": 0,
          "distinct": 200,
          "min": "2022-01-02 05:28:02",
          "max": "2022-12-28 21:47:59"
        },
        "engagement_score": {
          "nulls": 0,
          "distinct": 196,
          "min": 14.45,
          "max": 86.43
        },
        "last_active_at": {
          "nulls": 0,
          "distinct": 200,
          "min": "2022-01-03 20:25:50",
          "max": "2022-12-31 22:37:26"
        }
      }
    },
    "posts": {
      "rows": 300,
      "columns": {
        "post_id": {
          "nulls": 0,
          "distinct": 300,
          "min": 1,
          "max": 300
        },
        "user_id": {
          "nulls": 0,
          "distinct": 160,
          "min": 1,
          "max": 200
        },
        "content": {
          "nulls": 0,
          "distinct": 300
        },
        "created_at": {
          "nulls": 0,
          "distinct": 300,
          "min": "2022-01-01 12:27:23",
          "max": "2022-12-31 06:05:06"
        },
        "visibility": {
          "nulls": 0,
          "distinct": 3,
          "min": "friends only",
          "max": "public"
        },
        "likes_count": {
          "nulls": 0,
          "distinct": 223,
          "min": 86,
          "max": 902
        }
      }
    },
    "comments": {
      "rows": 400,
      "columns": {
        "comment_id": {
          "nulls": 0,
          "distinct": 400,
          "min": 1,
          "max": 400
        },
        "post_id": {
          "nulls": 0,
          "distinct": 220,
          "min": 3,
          "max": 299
        },
        "user_id": {
          "nulls": 0,
          "distinct": 170,
          "min": 1,
          "max": 200
        },
        "content": {
          "nulls": 0,
          "distinct": 400
        },
        "created_at": {
          "nulls": 0,
          "distinct": 400,
          "min": "2022-01-01 13:27:28",
          "max": "2023-01-01 14:52:43"
        },
        "likes_count": {
          "nulls": 0,
          "distinct": 213,
          "min": 66,
          "max": 469
        },
        "is_edited": {
          "nulls": 0,
          "distinct": 2,
          "min": "false",
          "max": "true"
        }
      }
    },
    "messages": {
      "rows": 250,
      "columns": {
        "message_id": {
          "nulls": 0,
          "distinct": 250,
          "min": 1,
          "max": 250
        },
        "sender_id": {
          "nulls": 0,
          "distinct": 140,
          "min": 1,
          "max": 200
        },
        "receiver_id": {
          "nulls": 0,
          "distinct": 148,
          "min": 2,
          "max": 200
        },
        "content": {
          "nulls": 0,
          "distinct": 250
        },
        "created_at": {
          "nulls": 0,
          "distinct": 250,
          "min": "2022-01-01 20:57:04",
          "max": "2022-12-30 17:53:06"
        },
        "is_read": {
          "nulls": 0,
          "distinct": 2,
          "min": "false",
          "max": "true"
        },
        "reply_count": {
          "nulls": 0,
          "distinct": 33,
          "min": 7,
          "max": 42
        }
      }
    },
    "interactions": {
      "rows": 150,
      "columns": {
        "interaction_id": {
          "nulls": 0,
          "distinct": 150,
          "min": 1,
          "max": 150
        },
        "user_id": {
          "nulls": 0,
          "distinct": 101,
          "min": 3,
          "max": 197
        },
        "target_user_id": {
          "nulls": 20,
          "distinct": 100,
          "min": 3,
          "max": 200
        },
        "type": {
          "nulls": 0,
          "distinct": 2,
          "min": "block",
          "max": "like"
        },
        "created_at": {
          "nulls": 0,
          "distinct": 150,
          "min": "2022-01-07 11:04:45",
          "max": "2023-01-01 09:16:37"
        },
        "interaction_count": {
          "nulls": 0,
          "distinct": 52,
          "min": 20,
          "max": 85
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/users.csv",
      "format": "csv",
      "table": "users",
      "key": "datasets/anonymous-social-network/v3/csv/users.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/anonymous-social-network/v3/csv/users.csv",
      "bytes": 10144,
      "sha256": "7836d05bd6fea4c9f4465373fedc096c3e0da278de288389ef005dff95299458",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/interactions.csv",
      "format": "csv",
      "table": "interactions",
      "key": "datasets/anonymous-social-network/v3/csv/interactions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/anonymous-social-network/v3/csv/interactions.csv",
      "bytes": 5924,
      "sha256": "5640d1eaa6768426c56f1bb7ef725ed14735fb3a09d3ef867b868576eed1e3d7",
      "rows": 150,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/messages.csv",
      "format": "csv",
      "table": "messages",
      "key": "datasets/anonymous-social-network/v3/csv/messages.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/anonymous-social-network/v3/csv/messages.csv",
      "bytes": 52372,
      "sha256": "3911a8d6d9c2ad3f89ea6146d69d8053809b2d541d94d7659b059a79b8a3a502",
      "rows": 250,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/posts.csv",
      "format": "csv",
      "table": "posts",
      "key": "datasets/anonymous-social-network/v3/csv/posts.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/anonymous-social-network/v3/csv/posts.csv",
      "bytes": 69096,
      "sha256": "247b405b182a7e90757ca8b8e3251c2a8b8b43673ebf0780d6ce59643ed4a065",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/comments.csv",
      "format": "csv",
      "table": "comments",
      "key": "datasets/anonymous-social-network/v3/csv/comments.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/anonymous-social-network/v3/csv/comments.csv",
      "bytes": 85567,
      "sha256": "a979dacd1ad6f8427ba34cb130dadfd3d9229f32e05eb0b9f452ba26c3d404db",
      "rows": 400,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "anonymous-social-network.json",
      "format": "json",
      "table": null,
      "key": "datasets/anonymous-social-network/v3/anonymous-social-network.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/anonymous-social-network/v3/anonymous-social-network.json",
      "bytes": 406057,
      "sha256": "075699e0e1713a065037e1189e9a9b46ad514f51ae4f4123256ffcb1199f4f93",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/anonymous-social-network/v3/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/anonymous-social-network/v3/sql/postgres.sql",
      "bytes": 246130,
      "sha256": "717b283d4e881444bd7127be0211bcb974244182ba32cc4017635b3e9134826f",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/anonymous-social-network/v3/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/anonymous-social-network/v3/sql/mysql.sql",
      "bytes": 243129,
      "sha256": "6b769c12a51bb17c12dc1a70151661bf0ed03910de93514c6cc5597196753f44",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/anonymous-social-network/v3/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/anonymous-social-network/v3/sql/mssql.sql",
      "bytes": 246351,
      "sha256": "ab58732e9d7fbe8a241fd2ce58a03b23e3c434ef30cc74eb05ea774a2b5bdc89",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/anonymous-social-network/v3/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/anonymous-social-network/v3/sql/sqlite.sql",
      "bytes": 242883,
      "sha256": "89655898f19e5373120ac2d3e53a4882aec3c1e7a034470e5a10190104016afa",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/anonymous-social-network/v3/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/anonymous-social-network/v3/prisma/seed.ts",
      "bytes": 364732,
      "sha256": "ae2710eccde61a3ef7e1c40161257e6fcf28657985dfdb32e9399d40971de703",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/anonymous-social-network/v3/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/anonymous-social-network/v3/django/fixtures.json",
      "bytes": 448984,
      "sha256": "0990a176506e4b2050887c65cf171c0b25487210e1069c8b0e27e8fda6656fa9",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788766789222,
  "updatedAt": 1789095630161
}
