{
  "format": "dataset-manifest/1",
  "slug": "fan-clubs-and-communities-database",
  "version": 1,
  "seed": "fan-clubs-and-communities-database:1",
  "spec": {
    "format": "dataset/1",
    "slug": "fan-clubs-and-communities-database",
    "name": "Fan Connection Dynamics",
    "tagline": "Members, posts, events, connections, and comments reflecting fan interaction and community dynamics.",
    "description": "Members interact with each other through posts, comments, and events, creating a dynamic environment driven by shared interests. Each member is a unique individual contributing to discussions, sharing content, and participating in various events, which helps forge deeper connections within the community. Posts capture the thoughts and opinions of members, while comments allow for direct engagement and conversation around these posts. Events showcase opportunities for members to gather, either virtually or in-person, enhancing community bonds and facilitating real-time interactions.\n\nThe relationships between tables illustrate the intricate web of social interactions. A row in the members table represents an individual fan, while the posts table contains entries that correspond to the content they create. Each post can receive multiple comments, recorded in the comments table, linking back to both the member who made the post and the member who commented. The events table holds information about gatherings, with entries related to specific members participating, and connections between members can be traced through the connections table, which indicates how closely members are linked through interactions.\n\nThis dataset answers questions about member engagement, such as which topics spark the most discussion or which events see the highest participation rates. It enables analysis of connection strength among members, revealing how closely various fans interact within the community. Developers can practice querying for patterns in social behavior, identifying influential members, or analyzing trends over time. The data is synthetic, created for the purpose of analysis and exploration, ensuring a rich ground for testing data manipulation skills.",
    "domain": "social",
    "shape": "graph-edges",
    "useCases": [
      "sql-practice",
      "teaching"
    ],
    "keywords": [
      "fan communities",
      "social interactions",
      "events",
      "posts",
      "connections"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "members": {
        "description": "This table contains individual fan members, detailing their unique identifiers and personal information. Each row represents a distinct member of the fan community.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "A unique identifier for each member."
          },
          "full_name": {
            "kind": "fullName",
            "description": "The full name of the member."
          },
          "join_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-01-01",
            "description": "The date when the member joined the community.",
            "trend": "growing"
          },
          "interests": {
            "kind": "words",
            "min": 5,
            "max": 20,
            "description": "A list of interests or fandoms associated with the member.",
            "nullable": true
          }
        }
      },
      "posts": {
        "description": "This table records posts made by members, capturing their contributions to community discussions. Each post is linked to a member and contains the content of the post.",
        "rows": 500,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "A unique identifier for each post."
          },
          "member_id": {
            "kind": "fk",
            "ref": "members.id",
            "description": "The identifier of the member who made the post."
          },
          "content": {
            "kind": "paragraph",
            "min": 10,
            "max": 500,
            "description": "The content of the post made by the member.",
            "nullable": true
          },
          "post_date": {
            "kind": "datetime",
            "from": "2020-01-01",
            "to": "2023-01-01",
            "description": "The date and time when the post was created.",
            "dayProfile": "waking"
          }
        }
      },
      "events": {
        "description": "This table lists events organized by members, providing details about the activities and the members involved. Each event is linked to a member who organized it.",
        "rows": 100,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "A unique identifier for each event."
          },
          "member_id": {
            "kind": "fk",
            "ref": "members.id",
            "description": "The identifier of the member who organized the event."
          },
          "event_name": {
            "kind": "sentence",
            "min": 5,
            "max": 50,
            "description": "The name of the event organized.",
            "nullable": true
          },
          "event_date": {
            "kind": "datetime",
            "from": "2020-01-01",
            "to": "2023-01-01",
            "description": "The date and time when the event is scheduled.",
            "dayProfile": "business"
          }
        }
      },
      "connections": {
        "description": "This table captures the relationships between members, indicating how they are connected within the community. Each connection can represent friendships, collaborations, or interactions.",
        "rows": 300,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "A unique identifier for each connection."
          },
          "member_id_1": {
            "kind": "fk",
            "ref": "members.id",
            "description": "The identifier of the first member in the connection."
          },
          "member_id_2": {
            "kind": "fk",
            "ref": "members.id",
            "description": "The identifier of the second member in the connection."
          },
          "connection_strength": {
            "kind": "int",
            "min": 1,
            "max": 10,
            "description": "A score representing the strength of the connection between the two members.",
            "nullable": true
          }
        }
      },
      "comments": {
        "description": "This table contains comments made by members on posts, providing insights into engagement and reactions within the community. Each comment is linked to a specific post and a member.",
        "rows": 800,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "A unique identifier for each comment."
          },
          "post_id": {
            "kind": "fk",
            "ref": "posts.id",
            "description": "The identifier of the post being commented on."
          },
          "member_id": {
            "kind": "fk",
            "ref": "members.id",
            "description": "The identifier of the member who made the comment."
          },
          "comment_text": {
            "kind": "paragraph",
            "min": 1,
            "max": 300,
            "description": "The text of the comment made by the member.",
            "nullable": true
          },
          "comment_date": {
            "kind": "datetime",
            "from": "2020-01-01",
            "to": "2023-01-01",
            "description": "The date and time when the comment was made.",
            "dayProfile": "waking"
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "categorical",
      "timestamped",
      "nullable"
    ],
    "analysisQuestions": [
      "What types of events attract the most participation from members?",
      "Which members are the most influential based on connection strength?",
      "How do member interests correlate with their activity levels in posts and events?",
      "What are the common topics discussed in posts and comments among members?",
      "How does the timing of events impact member attendance and engagement?"
    ],
    "suggestedQueries": [
      {
        "title": "Retrieve all posts by a specific member",
        "sql": "SELECT * FROM posts WHERE member_id = ?;",
        "dialect": "postgres"
      },
      {
        "title": "Count the number of comments for each post",
        "sql": "SELECT post_id, COUNT(*) FROM comments GROUP BY post_id;",
        "dialect": "postgres"
      },
      {
        "title": "Find the top active members based on the number of posts",
        "sql": "SELECT member_id, COUNT(*) as post_count FROM posts GROUP BY member_id ORDER BY post_count DESC;",
        "dialect": "postgres"
      },
      {
        "title": "List all events and their organizers",
        "sql": "SELECT event_name, full_name FROM events JOIN members ON events.member_id = members.id;",
        "dialect": "postgres"
      },
      {
        "title": "Analyze connection strength between members",
        "sql": "SELECT member_id_1, member_id_2, AVG(connection_strength) FROM connections GROUP BY member_id_1, member_id_2;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Social Media Analysts",
        "body": "Social media analysts can leverage this dataset to analyze the interactions among fans, identifying key influencers and engagement trends. By querying the connections and posts tables, they can discover which members spark the most discussions and how event participation varies, providing insights into community dynamics."
      },
      {
        "title": "Data Science Students",
        "body": "Data science students can use this dataset as a practical resource for learning SQL and data analysis techniques. With five interconnected tables, they can practice writing complex queries, performing aggregations, and visualizing relationships within social communities, enhancing their understanding of data modeling."
      },
      {
        "title": "Community Managers",
        "body": "Community managers can utilize this dataset to monitor member engagement and event effectiveness. By analyzing posts and comments, they can gauge the popularity of topics and events, allowing them to tailor future initiatives to better meet member interests and increase overall satisfaction."
      },
      {
        "title": "Event Planners",
        "body": "Event planners can use this dataset to assess past events' success by analyzing attendance and engagement metrics. They can query the events and connections tables to determine which types of events draw the most participants and foster stronger connections among members, helping them design better future events."
      }
    ]
  },
  "counts": {
    "members": 200,
    "connections": 300,
    "events": 100,
    "posts": 500,
    "comments": 800
  },
  "stats": {
    "members": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "full_name": {
          "nulls": 0,
          "distinct": 198,
          "min": "Alice Taylor",
          "max": "Zoe Reyes"
        },
        "join_date": {
          "nulls": 0,
          "distinct": 183,
          "min": "2020-01-08",
          "max": "2022-12-22"
        },
        "interests": {
          "nulls": 22,
          "distinct": 178
        }
      }
    },
    "posts": {
      "rows": 500,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 500,
          "min": 1,
          "max": 500
        },
        "member_id": {
          "nulls": 0,
          "distinct": 181,
          "min": 1,
          "max": 200
        },
        "content": {
          "nulls": 54,
          "distinct": 446
        },
        "post_date": {
          "nulls": 0,
          "distinct": 500,
          "min": "2020-01-01 07:54:52",
          "max": "2022-12-30 12:40:51"
        }
      }
    },
    "events": {
      "rows": 100,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "member_id": {
          "nulls": 0,
          "distinct": 82,
          "min": 2,
          "max": 200
        },
        "event_name": {
          "nulls": 7,
          "distinct": 93
        },
        "event_date": {
          "nulls": 0,
          "distinct": 100,
          "min": "2020-01-03 14:02:07",
          "max": "2022-12-28 15:36:31"
        }
      }
    },
    "connections": {
      "rows": 300,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 300,
          "min": 1,
          "max": 300
        },
        "member_id_1": {
          "nulls": 0,
          "distinct": 154,
          "min": 1,
          "max": 200
        },
        "member_id_2": {
          "nulls": 0,
          "distinct": 148,
          "min": 1,
          "max": 200
        },
        "connection_strength": {
          "nulls": 33,
          "distinct": 10,
          "min": 1,
          "max": 10
        }
      }
    },
    "comments": {
      "rows": 800,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 800,
          "min": 1,
          "max": 800
        },
        "post_id": {
          "nulls": 0,
          "distinct": 393,
          "min": 1,
          "max": 499
        },
        "member_id": {
          "nulls": 0,
          "distinct": 198,
          "min": 1,
          "max": 200
        },
        "comment_text": {
          "nulls": 87,
          "distinct": 713
        },
        "comment_date": {
          "nulls": 0,
          "distinct": 800,
          "min": "2020-01-04 09:32:26",
          "max": "2023-01-01 17:45:55"
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/members.csv",
      "format": "csv",
      "table": "members",
      "key": "datasets/fan-clubs-and-communities-database/v1/csv/members.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fan-clubs-and-communities-database/v1/csv/members.csv",
      "bytes": 20457,
      "sha256": "b09135c48a408e966ebf775353a7fef7c87e8248de40aecd8989cbe0a6583b1d",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/connections.csv",
      "format": "csv",
      "table": "connections",
      "key": "datasets/fan-clubs-and-communities-database/v1/csv/connections.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fan-clubs-and-communities-database/v1/csv/connections.csv",
      "bytes": 4087,
      "sha256": "3091d54ca9df95284f9df0961bdf76c70ebb743422a4070798d2957f7ed13c00",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/events.csv",
      "format": "csv",
      "table": "events",
      "key": "datasets/fan-clubs-and-communities-database/v1/csv/events.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fan-clubs-and-communities-database/v1/csv/events.csv",
      "bytes": 8075,
      "sha256": "aeb9b99840c635a911232e34e699965f9eaed04ae8445147830c8c24353f02e8",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/posts.csv",
      "format": "csv",
      "table": "posts",
      "key": "datasets/fan-clubs-and-communities-database/v1/csv/posts.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fan-clubs-and-communities-database/v1/csv/posts.csv",
      "bytes": 89150,
      "sha256": "c53575fcda960aeb07e4cbcaf765910eebee1aab5b98167b65e89a61b0a8eba7",
      "rows": 500,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/comments.csv",
      "format": "csv",
      "table": "comments",
      "key": "datasets/fan-clubs-and-communities-database/v1/csv/comments.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fan-clubs-and-communities-database/v1/csv/comments.csv",
      "bytes": 147024,
      "sha256": "579d0b23f6b4f62ce4ca9f9a82f92a7a7bbced60364115134461badb692f9f84",
      "rows": 800,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "fan-clubs-and-communities-database.json",
      "format": "json",
      "table": null,
      "key": "datasets/fan-clubs-and-communities-database/v1/fan-clubs-and-communities-database.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fan-clubs-and-communities-database/v1/fan-clubs-and-communities-database.json",
      "bytes": 457031,
      "sha256": "9c95b3736c45b0facf73c2a05e417c4b7ff9115c0d71c01bd4b44272b0dfff36",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/fan-clubs-and-communities-database/v1/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fan-clubs-and-communities-database/v1/sql/postgres.sql",
      "bytes": 296026,
      "sha256": "a16d2a167a5e200aeff990aa9708fac629f2859e25d6baa2eebef5123d059ba9",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/fan-clubs-and-communities-database/v1/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fan-clubs-and-communities-database/v1/sql/mysql.sql",
      "bytes": 295470,
      "sha256": "6e35a6d8843638ca63c3193b53db6115df9468ac520b85964495ee6f57fac46a",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/fan-clubs-and-communities-database/v1/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fan-clubs-and-communities-database/v1/sql/mssql.sql",
      "bytes": 299031,
      "sha256": "68a3fb352fed20f8e555deb0bf03b12ff1f615d626cf8d9611ea577a2b7c6272",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/fan-clubs-and-communities-database/v1/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fan-clubs-and-communities-database/v1/sql/sqlite.sql",
      "bytes": 295256,
      "sha256": "b1cf6ca5c630ba32be3fa413fd52dafbe153a8bfff43042b7d6c592f3a047902",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/fan-clubs-and-communities-database/v1/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fan-clubs-and-communities-database/v1/prisma/seed.ts",
      "bytes": 413846,
      "sha256": "26c516e2ff3778c250d18af347ea15aff9012dc7bf41dc757da4b7a1faf6995e",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/fan-clubs-and-communities-database/v1/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/fan-clubs-and-communities-database/v1/django/fixtures.json",
      "bytes": 534334,
      "sha256": "4f6fabfcb4d636903cab2fe80713ce70017ce6198df0c255a3756f2483e430ee",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788768642637,
  "updatedAt": 1788768642637
}
