{
  "format": "dataset-manifest/1",
  "slug": "fan-community-platform",
  "version": 4,
  "seed": "fan-community-platform:1",
  "engine": 1,
  "engineVersion": "1.0.0",
  "spec": {
    "format": "dataset/1",
    "slug": "fan-community-platform",
    "name": "Fan Engagement Insights",
    "tagline": "User interactions, likes, polls, and ticket purchases within a music fan community platform.",
    "description": "Users on a fan community platform engage passionately to share their love for music by participating in discussions, polls, and media sharing. This dataset captures the dynamic interactions among fans and their favorite artists, providing insights into user behavior and engagement patterns. The tables include user interactions such as likes on albums, poll participation, ticket purchases, and chat messages. Each table relates to the overall theme of fan engagement, allowing for a comprehensive analysis of how users connect with music and each other. By examining this synthetic dataset, developers can practice SQL queries, explore data analysis techniques, and create visualizations that highlight trends in fan activities.",
    "domain": "social",
    "shape": "event-log",
    "useCases": [
      "analytics-demo",
      "etl-pipelines"
    ],
    "keywords": [
      "fan engagement",
      "music community",
      "user interactions",
      "polls",
      "likes",
      "events",
      "chat messages",
      "data analysis"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "users": {
        "description": "This table holds user data, detailing their unique identifiers and engagement levels. Each user can interact with various content types on the platform.",
        "rows": 300,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each user."
          },
          "username": {
            "kind": "fullName",
            "description": "The display name chosen by the user.",
            "nullable": true,
            "when": {
              "column": "engagement_level",
              "in": [
                "low",
                "medium",
                "high"
              ]
            }
          },
          "join_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-01-01",
            "description": "The date the user joined the platform.",
            "nullable": true
          },
          "engagement_level": {
            "kind": "enum",
            "values": [
              "low",
              "medium",
              "high"
            ],
            "weights": [
              0.2,
              0.5,
              0.3
            ],
            "description": "User's level of engagement based on activity."
          }
        }
      },
      "albums": {
        "description": "This table catalogs albums that users can like, providing details such as title, artist, and release date.",
        "rows": 150,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each album."
          },
          "title": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "The title of the album.",
            "pool": [
              "sunrise",
              "dream",
              "echo",
              "horizon",
              "whispers",
              "journey",
              "reflections",
              "melody",
              "serenade",
              "odyssey",
              "canvas",
              "symphony",
              "vibrations",
              "tides",
              "memories",
              "rhythm",
              "saga",
              "pulse",
              "tapestry",
              "mosaic"
            ]
          },
          "artist": {
            "kind": "fullName",
            "description": "The artist associated with the album."
          },
          "release_date": {
            "kind": "date",
            "from": "2000-01-01",
            "to": "2023-01-01",
            "description": "The date the album was released."
          }
        }
      },
      "likes": {
        "description": "This table records likes on albums by users, linking users to the albums they appreciate.",
        "rows": {
          "per": "users",
          "via": "user_id",
          "min": 1,
          "max": 5,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each like entry."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "The user who liked the album."
          },
          "album_id": {
            "kind": "fk",
            "ref": "albums.id",
            "description": "The album that was liked."
          },
          "like_date": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "dayProfile": "waking",
            "description": "The date and time when the like was made."
          },
          "like_count": {
            "kind": "int",
            "min": 1,
            "max": 10,
            "distribution": "normal",
            "description": "Number of times the user liked albums."
          },
          "like_type": {
            "kind": "enum",
            "values": [
              "thumbs up",
              "heart",
              "star"
            ],
            "weights": [
              50,
              30,
              20
            ],
            "description": "Type of like given by the user."
          },
          "like_source": {
            "kind": "enum",
            "values": [
              "mobile",
              "desktop",
              "tablet"
            ],
            "weights": [
              60,
              30,
              10
            ],
            "description": "Platform from which the like was made."
          }
        }
      },
      "polls": {
        "description": "This table contains polls created by users, capturing the topic and the user who initiated the poll.",
        "rows": 100,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each poll."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "The user who created the poll."
          },
          "topic": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "The topic of the poll.",
            "pool": [
              "favorite",
              "opinion",
              "trends",
              "preferences",
              "feedback",
              "choices",
              "insights",
              "thoughts",
              "views",
              "ideas",
              "topics",
              "issues",
              "concerns",
              "interests",
              "questions",
              "debates",
              "polls",
              "surveys",
              "predictions",
              "speculations",
              "discussions"
            ]
          },
          "creation_date": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "dayProfile": "waking",
            "description": "The date and time when the poll was created."
          },
          "is_active": {
            "kind": "bool",
            "trueRate": 0.5,
            "description": "Indicates if the poll is currently active."
          },
          "vote_count": {
            "kind": "int",
            "min": 0,
            "max": 500,
            "distribution": "normal",
            "description": "Total number of votes received for the poll."
          }
        }
      },
      "tickets": {
        "description": "This table tracks ticket purchases for events by users, linking users to the events they attend.",
        "rows": {
          "per": "users",
          "via": "user_id",
          "min": 0,
          "max": 3,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each ticket entry."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "The user who purchased the ticket."
          },
          "event_name": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "The name of the event for which the ticket was purchased.",
            "pool": [
              "concert",
              "festival",
              "show",
              "performance",
              "gala",
              "exhibition",
              "game",
              "match",
              "session",
              "seminar",
              "workshop",
              "presentation",
              "meetup",
              "celebration",
              "party",
              "launch",
              "screening",
              "tour",
              "experience",
              "event"
            ]
          },
          "purchase_date": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "dayProfile": "waking",
            "description": "The date and time when the ticket was purchased."
          },
          "ticket_price": {
            "kind": "decimal",
            "min": 10,
            "max": 500,
            "scale": 2,
            "distribution": "long-tail",
            "description": "Price of the ticket purchased."
          },
          "event_date": {
            "kind": "date",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "Date of the event for which the ticket was purchased."
          }
        }
      },
      "messages": {
        "description": "This table captures chat messages sent by users, showing their interactions within the community.",
        "rows": {
          "per": "users",
          "via": "user_id",
          "min": 1,
          "max": 10,
          "skew": "heavy-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each message."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "The user who sent the message."
          },
          "message": {
            "kind": "sentence",
            "min": 1,
            "max": 200,
            "description": "The content of the message."
          },
          "sent_date": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "dayProfile": "waking",
            "description": "The date and time when the message was sent."
          },
          "message_length": {
            "kind": "int",
            "min": 1,
            "max": 500,
            "distribution": "normal",
            "description": "Length of the message in characters."
          },
          "is_read": {
            "kind": "bool",
            "trueRate": 0.7,
            "description": "Indicates if the message has been read."
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "high-cardinality",
      "timestamped",
      "nullable"
    ],
    "analysisQuestions": [
      "What types of interactions do users engage in most frequently?",
      "How does the engagement level correlate with the number of likes on albums?",
      "Which polls receive the most participation, and why?",
      "What are the peak times for chat message activity?",
      "How do ticket purchases vary by artist or event?"
    ],
    "suggestedQueries": [
      {
        "title": "List all users and their engagement levels",
        "sql": "SELECT username, engagement_level FROM users;",
        "dialect": "postgres"
      },
      {
        "title": "Count the number of likes per album",
        "sql": "SELECT album_id, COUNT(*) as likes_count FROM likes GROUP BY album_id;",
        "dialect": "postgres"
      },
      {
        "title": "Find the most popular topics in polls",
        "sql": "SELECT topic, COUNT(*) as votes FROM polls GROUP BY topic ORDER BY votes DESC;",
        "dialect": "postgres"
      },
      {
        "title": "Get the average messages sent per user",
        "sql": "SELECT user_id, COUNT(*) / COUNT(DISTINCT user_id) as avg_messages FROM messages GROUP BY user_id;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Data Analysts Exploring Engagement Trends",
        "body": "Data analysts can use this dataset to explore patterns in user engagement on the fan community platform. By analyzing likes, messages, and polls, they can identify which artists or albums generate the most interest and how user interactions vary over time."
      },
      {
        "title": "Developers Building Analytics Dashboards",
        "body": "Developers can leverage this dataset to build interactive analytics dashboards for the fan community platform. By visualizing user interactions and engagement levels, they can provide insights into fan behavior and help community managers understand user preferences."
      },
      {
        "title": "Marketers Targeting Fan Engagement Campaigns",
        "body": "Marketers can use the data to design targeted campaigns aimed at increasing user engagement. By analyzing which polls and events attract the most attention, they can tailor their marketing strategies to resonate with the fan community."
      },
      {
        "title": "Researchers Studying Fan Dynamics",
        "body": "Researchers interested in fan culture can utilize this dataset to study the dynamics of fan interactions within the community. By examining message trends and poll participation, they can gain insights into how fans connect over shared interests."
      }
    ]
  },
  "counts": {
    "albums": 150,
    "users": 300,
    "likes": 679,
    "messages": 921,
    "polls": 100,
    "tickets": 289
  },
  "stats": {
    "users": {
      "rows": 300,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 300,
          "min": 1,
          "max": 300
        },
        "username": {
          "nulls": 0,
          "distinct": 295,
          "min": "Alice Hoffmann",
          "max": "Zoe Young"
        },
        "join_date": {
          "nulls": 36,
          "distinct": 235,
          "min": "2020-01-01",
          "max": "2022-12-29"
        },
        "engagement_level": {
          "nulls": 0,
          "distinct": 3,
          "min": "high",
          "max": "medium"
        }
      }
    },
    "albums": {
      "rows": 150,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 150,
          "min": 1,
          "max": 150
        },
        "title": {
          "nulls": 0,
          "distinct": 119
        },
        "artist": {
          "nulls": 0,
          "distinct": 148,
          "min": "Alice Kim",
          "max": "Zoe Miller"
        },
        "release_date": {
          "nulls": 0,
          "distinct": 149,
          "min": "2000-01-25",
          "max": "2022-10-27"
        }
      }
    },
    "likes": {
      "rows": 679,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 679,
          "min": 1,
          "max": 679
        },
        "user_id": {
          "nulls": 0,
          "distinct": 300,
          "min": 1,
          "max": 300
        },
        "album_id": {
          "nulls": 0,
          "distinct": 146,
          "min": 1,
          "max": 150
        },
        "like_date": {
          "nulls": 0,
          "distinct": 679,
          "min": "2023-01-01 17:21:42",
          "max": "2023-12-31 18:54:00"
        },
        "like_count": {
          "nulls": 0,
          "distinct": 8,
          "min": 2,
          "max": 9
        },
        "like_type": {
          "nulls": 0,
          "distinct": 3,
          "min": "heart",
          "max": "thumbs up"
        },
        "like_source": {
          "nulls": 0,
          "distinct": 3,
          "min": "desktop",
          "max": "tablet"
        }
      }
    },
    "polls": {
      "rows": 100,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "user_id": {
          "nulls": 0,
          "distinct": 85,
          "min": 2,
          "max": 294
        },
        "topic": {
          "nulls": 0,
          "distinct": 87
        },
        "creation_date": {
          "nulls": 0,
          "distinct": 100,
          "min": "2023-01-05 18:34:53",
          "max": "2023-12-28 19:30:59"
        },
        "is_active": {
          "nulls": 0,
          "distinct": 2,
          "min": "false",
          "max": "true"
        },
        "vote_count": {
          "nulls": 0,
          "distinct": 83,
          "min": 60,
          "max": 402
        }
      }
    },
    "tickets": {
      "rows": 289,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 289,
          "min": 1,
          "max": 289
        },
        "user_id": {
          "nulls": 0,
          "distinct": 153,
          "min": 1,
          "max": 299
        },
        "event_name": {
          "nulls": 0,
          "distinct": 210
        },
        "purchase_date": {
          "nulls": 0,
          "distinct": 289,
          "min": "2023-01-02 09:57:27",
          "max": "2023-12-28 12:53:01"
        },
        "ticket_price": {
          "nulls": 0,
          "distinct": 287,
          "min": 10.01,
          "max": 495.97
        },
        "event_date": {
          "nulls": 0,
          "distinct": 206,
          "min": "2023-01-01",
          "max": "2023-12-31"
        }
      }
    },
    "messages": {
      "rows": 921,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 921,
          "min": 1,
          "max": 921
        },
        "user_id": {
          "nulls": 0,
          "distinct": 300,
          "min": 1,
          "max": 300
        },
        "message": {
          "nulls": 0,
          "distinct": 908
        },
        "sent_date": {
          "nulls": 0,
          "distinct": 921,
          "min": "2023-01-01 01:14:22",
          "max": "2023-12-31 22:23:14"
        },
        "message_length": {
          "nulls": 0,
          "distinct": 293,
          "min": 26,
          "max": 452
        },
        "is_read": {
          "nulls": 0,
          "distinct": 2,
          "min": "false",
          "max": "true"
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/albums.csv",
      "format": "csv",
      "table": "albums",
      "key": "datasets/fan-community-platform/v4/csv/albums.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fan-community-platform/v4/csv/albums.csv",
      "bytes": 6463,
      "sha256": "c89996c747266146413006ef721496f58e7f843795d597105f41403ce6438e5b",
      "rows": 150,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/users.csv",
      "format": "csv",
      "table": "users",
      "key": "datasets/fan-community-platform/v4/csv/users.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fan-community-platform/v4/csv/users.csv",
      "bytes": 9764,
      "sha256": "8bd5534c7ed38b04a3e1b7449fe1dd1216afa693f8ba0efe937ca57211f42b1e",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/likes.csv",
      "format": "csv",
      "table": "likes",
      "key": "datasets/fan-community-platform/v4/csv/likes.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fan-community-platform/v4/csv/likes.csv",
      "bytes": 33287,
      "sha256": "2ccb5dd8566685eb74b8357f0b24a9e25efb077648ad4398fd8dc87296e02c4f",
      "rows": 679,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/messages.csv",
      "format": "csv",
      "table": "messages",
      "key": "datasets/fan-community-platform/v4/csv/messages.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fan-community-platform/v4/csv/messages.csv",
      "bytes": 86850,
      "sha256": "2b85fbc1191e0b1679d0dcd0bd731fa7e80b5ba64e4a6cb9676f0eade9a47f71",
      "rows": 921,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/polls.csv",
      "format": "csv",
      "table": "polls",
      "key": "datasets/fan-community-platform/v4/csv/polls.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fan-community-platform/v4/csv/polls.csv",
      "bytes": 5571,
      "sha256": "3481b15ec612e210db643041a2ec1ab49ea31ff4b8f3cb0f80ce14fb0b4126c4",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/tickets.csv",
      "format": "csv",
      "table": "tickets",
      "key": "datasets/fan-community-platform/v4/csv/tickets.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fan-community-platform/v4/csv/tickets.csv",
      "bytes": 18002,
      "sha256": "5d4e69938f23b59a16c01c74019517a6dfe7a3635a8640f7cfa6b62185e1ddfa",
      "rows": 289,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "fan-community-platform.json",
      "format": "json",
      "table": null,
      "key": "datasets/fan-community-platform/v4/fan-community-platform.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fan-community-platform/v4/fan-community-platform.json",
      "bytes": 472186,
      "sha256": "f6da315afaaf3f07ba5b1ab4b4409f1cbe930c5ed6f1b8f92f97796f7bc303ce",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/fan-community-platform/v4/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fan-community-platform/v4/sql/postgres.sql",
      "bytes": 202862,
      "sha256": "b52564fe6c5efad067dc830177bbffac4e0054c32ae6ee25a3d28d26c95fcafd",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/fan-community-platform/v4/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fan-community-platform/v4/sql/mysql.sql",
      "bytes": 198838,
      "sha256": "d6a3a6f15632f828eb367bfa9880b9ccbcb8d80f2030a94970142eaa5953e25b",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/fan-community-platform/v4/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fan-community-platform/v4/sql/mssql.sql",
      "bytes": 205447,
      "sha256": "6ae24109c0109468c136310bec1846da990ed351e2de4f5a72239e55f81c0111",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/fan-community-platform/v4/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fan-community-platform/v4/sql/sqlite.sql",
      "bytes": 198634,
      "sha256": "2acd6ccf0d5a3c3c3fcd5e3f0314f51154bbb2153b0195a973500e824b53686c",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/fan-community-platform/v4/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fan-community-platform/v4/prisma/seed.ts",
      "bytes": 390263,
      "sha256": "fcfdd953306b640418e596bf6b9eef85d6d84b047ee147d789f05ca1516680f1",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/fan-community-platform/v4/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fan-community-platform/v4/django/fixtures.json",
      "bytes": 570172,
      "sha256": "214a10e41354bab8fb380d319e07f27083c6653839e7a9ce70aa5e50b0d7a916",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788767709117,
  "updatedAt": 1789095810682
}
