{
  "format": "dataset-manifest/1",
  "slug": "social-space-app",
  "version": 2,
  "seed": "social-space-app:1",
  "spec": {
    "format": "dataset/1",
    "slug": "social-space-app",
    "name": "Social Engagement Metrics",
    "tagline": "Metrics on user engagement, events, interactions, and badges from a vibrant community platform.",
    "description": "Users actively participate in a vibrant community platform, sharing experiences and fostering connections through events and discussions. Within this dynamic environment, individuals join various social spaces where they can connect, collaborate, and engage with one another. The heart of the platform's data reveals insights into user memberships in these social spaces, attendance at events, interactions—like polls and comments—and the badges earned for active participation. Each row in the 'users' table represents an individual member, while the 'social_spaces' table catalogs the unique areas they can join. Events are tracked in the 'events' table, detailing the occasions where users can gather, while the 'interactions' table captures the engagements that users exhibit during their time on the platform. Unique achievements are recognized in the 'badges' table, where certain levels of participation lead to the acquisition of badges, and the 'user_badges' table links users to their earned badges, highlighting their contributions to the community.\n\nThis dataset answers critical questions about community engagement and user activity. For instance, developers can analyze trends in event attendance, the correlation between social space memberships and interactions, and how certain events or spaces contribute to the earning of badges. By exploring this data, practitioners can devise strategies to enhance user participation and identify the most engaged members of the community. The intricate relationships between users, their interactions, and the badges they earn provide a rich analytical playground, perfect for honing data manipulation and query skills.\n\nAs a reminder, the data contained in this dataset is synthetic, designed to simulate real-world scenarios for practice and exploration.",
    "domain": "social",
    "shape": "event-log",
    "useCases": [
      "analytics-demo",
      "etl-pipelines"
    ],
    "keywords": [
      "user engagement",
      "event attendance",
      "community recognition",
      "social interactions",
      "badges",
      "polls",
      "comments"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "users": {
        "description": "This table contains information about users in the community, including their full names and membership details. Each user can attend multiple events and participate in various interactions.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each user."
          },
          "full_name": {
            "kind": "fullName",
            "description": "The full name of the user.",
            "nullable": true
          },
          "email": {
            "kind": "email",
            "from": "full_name",
            "description": "The email address associated with the user.",
            "nullable": true
          },
          "join_date": {
            "kind": "date",
            "from": "2022-01-01",
            "to": "2023-10-01",
            "description": "The date the user joined the community.",
            "nullable": true
          }
        }
      },
      "social_spaces": {
        "description": "This table lists various social spaces within the community platform. Each space can host multiple events and gatherings.",
        "rows": 50,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each social space."
          },
          "name": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "The name of the social space.",
            "pool": [
              "community",
              "hub",
              "network",
              "forum",
              "group",
              "circle",
              "platform",
              "zone",
              "space",
              "venue",
              "place",
              "gathering",
              "event",
              "meetup",
              "discussion",
              "session",
              "connect",
              "link",
              "exchange",
              "collab",
              "collective"
            ]
          },
          "description": {
            "kind": "sentence",
            "description": "A brief description of the social space.",
            "nullable": true
          }
        }
      },
      "events": {
        "description": "This table records events hosted within social spaces, detailing attendance and engagement metrics. Users can attend multiple events.",
        "rows": 300,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each event."
          },
          "social_space_id": {
            "kind": "fk",
            "ref": "social_spaces.id",
            "description": "Foreign key linking to the social space hosting the event."
          },
          "event_date": {
            "kind": "datetime",
            "from": "2022-01-01",
            "to": "2023-10-01",
            "dayProfile": "business",
            "description": "The date and time of the event."
          },
          "attendance_count": {
            "kind": "int",
            "min": 0,
            "max": 200,
            "description": "Number of users who attended the event.",
            "nullable": true,
            "distribution": "long-tail"
          }
        }
      },
      "interactions": {
        "description": "This table captures user interactions during events, such as comments and poll responses. Each interaction is linked to a specific event and user.",
        "rows": 500,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each interaction."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "Foreign key linking to the user who made the interaction."
          },
          "event_id": {
            "kind": "fk",
            "ref": "events.id",
            "description": "Foreign key linking to the event where the interaction occurred."
          },
          "interaction_type": {
            "kind": "enum",
            "values": [
              "comment",
              "poll_response"
            ],
            "description": "The type of interaction made by the user.",
            "weights": [
              7,
              3
            ]
          },
          "content": {
            "kind": "sentence",
            "description": "The content of the interaction, such as a comment or poll response.",
            "nullable": true,
            "when": {
              "column": "interaction_type",
              "in": [
                "poll_response"
              ]
            }
          }
        }
      },
      "badges": {
        "description": "This table lists badges that users can earn for their contributions and participation in events and interactions.",
        "rows": 30,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each badge."
          },
          "name": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "The name of the badge.",
            "pool": [
              "achiever",
              "contributor",
              "leader",
              "innovator",
              "expert",
              "mentor",
              "champion",
              "supporter",
              "participant",
              "collaborator",
              "builder",
              "creator",
              "influencer",
              "enthusiast",
              "advocate",
              "pioneer",
              "explorer",
              "visionary",
              "trailblazer",
              "ambassador",
              "hero"
            ]
          },
          "criteria": {
            "kind": "sentence",
            "description": "The criteria required to earn the badge.",
            "nullable": true
          }
        }
      },
      "user_badges": {
        "description": "This table links users to the badges they have earned, showcasing their achievements within the community.",
        "rows": 150,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each user-badge link."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "Foreign key linking to the user who earned the badge."
          },
          "badge_id": {
            "kind": "fk",
            "ref": "badges.id",
            "description": "Foreign key linking to the earned badge."
          },
          "earned_date": {
            "kind": "date",
            "from": "2022-01-01",
            "to": "2023-10-01",
            "description": "The date the badge was earned.",
            "nullable": true
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "categorical",
      "timestamped",
      "high-cardinality"
    ],
    "analysisQuestions": [
      "What types of interactions are most common among users?",
      "Which events have the highest attendance rates, and why?",
      "How do badges influence user participation in events?",
      "What trends can be observed in user engagement over time?"
    ],
    "suggestedQueries": [
      {
        "title": "List all users and their join dates",
        "sql": "SELECT full_name, join_date FROM users;",
        "dialect": "postgres"
      },
      {
        "title": "Count event attendance by social space",
        "sql": "SELECT s.name, COUNT(e.attendance_count) FROM social_spaces s JOIN events e ON s.id = e.social_space_id GROUP BY s.name;",
        "dialect": "postgres"
      },
      {
        "title": "Find interactions for a specific event",
        "sql": "SELECT i.content, u.full_name FROM interactions i JOIN users u ON i.user_id = u.id WHERE i.event_id = 1;",
        "dialect": "postgres"
      },
      {
        "title": "Get badges earned by users",
        "sql": "SELECT u.full_name, b.name FROM user_badges ub JOIN users u ON ub.user_id = u.id JOIN badges b ON ub.badge_id = b.id;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Data Analysis for Community Managers",
        "body": "Community managers can utilize this dataset to analyze user engagement and participation trends within the platform. By examining event attendance and user interactions, they can identify which events resonate most with users, thereby informing future event planning and community strategies."
      },
      {
        "title": "ETL Pipeline Development",
        "body": "Data engineers can leverage this dataset to build ETL pipelines for processing and analyzing user engagement metrics. They can integrate this dataset into their data warehouses to provide insights into user behavior, allowing stakeholders to make data-driven decisions."
      },
      {
        "title": "User Engagement Insights for Marketing",
        "body": "Marketing teams can use the data to understand how users interact with the community platform. By analyzing which types of interactions lead to badge earning, they can tailor their marketing strategies to highlight community features that encourage user participation."
      },
      {
        "title": "Research on Community Dynamics",
        "body": "Researchers studying social dynamics can analyze this dataset to explore patterns of engagement and recognition within the community. By correlating event attendance with interactions and badge earning, they can draw conclusions about user motivations and social behaviors."
      }
    ]
  },
  "counts": {
    "badges": 30,
    "social_spaces": 50,
    "events": 300,
    "users": 200,
    "interactions": 500,
    "user_badges": 150
  },
  "stats": {
    "users": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "full_name": {
          "nulls": 24,
          "distinct": 176,
          "min": "Alice Evans",
          "max": "Zara Kim"
        },
        "email": {
          "nulls": 32,
          "distinct": 168
        },
        "join_date": {
          "nulls": 20,
          "distinct": 151,
          "min": "2022-01-04",
          "max": "2023-10-01"
        }
      }
    },
    "social_spaces": {
      "rows": 50,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 50,
          "min": 1,
          "max": 50
        },
        "name": {
          "nulls": 0,
          "distinct": 44
        },
        "description": {
          "nulls": 7,
          "distinct": 43
        }
      }
    },
    "events": {
      "rows": 300,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 300,
          "min": 1,
          "max": 300
        },
        "social_space_id": {
          "nulls": 0,
          "distinct": 50,
          "min": 1,
          "max": 50
        },
        "event_date": {
          "nulls": 0,
          "distinct": 300,
          "min": "2022-01-01 14:19:10",
          "max": "2023-09-29 17:56:02"
        },
        "attendance_count": {
          "nulls": 39,
          "distinct": 125,
          "min": 0,
          "max": 197
        }
      }
    },
    "interactions": {
      "rows": 500,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 500,
          "min": 1,
          "max": 500
        },
        "user_id": {
          "nulls": 0,
          "distinct": 183,
          "min": 2,
          "max": 200
        },
        "event_id": {
          "nulls": 0,
          "distinct": 249,
          "min": 1,
          "max": 300
        },
        "interaction_type": {
          "nulls": 0,
          "distinct": 2,
          "min": "comment",
          "max": "poll_response"
        },
        "content": {
          "nulls": 352,
          "distinct": 148
        }
      }
    },
    "badges": {
      "rows": 30,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 30,
          "min": 1,
          "max": 30
        },
        "name": {
          "nulls": 0,
          "distinct": 27
        },
        "criteria": {
          "nulls": 3,
          "distinct": 27
        }
      }
    },
    "user_badges": {
      "rows": 150,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 150,
          "min": 1,
          "max": 150
        },
        "user_id": {
          "nulls": 0,
          "distinct": 99,
          "min": 1,
          "max": 199
        },
        "badge_id": {
          "nulls": 0,
          "distinct": 30,
          "min": 1,
          "max": 30
        },
        "earned_date": {
          "nulls": 15,
          "distinct": 123,
          "min": "2022-01-01",
          "max": "2023-09-26"
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/badges.csv",
      "format": "csv",
      "table": "badges",
      "key": "datasets/social-space-app/v2/csv/badges.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/social-space-app/v2/csv/badges.csv",
      "bytes": 2151,
      "sha256": "8ea3292df414ab4fedd85a499f87110e22ea51a4e3d8c2da22949b605272e918",
      "rows": 30,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/social_spaces.csv",
      "format": "csv",
      "table": "social_spaces",
      "key": "datasets/social-space-app/v2/csv/social_spaces.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/social-space-app/v2/csv/social_spaces.csv",
      "bytes": 3429,
      "sha256": "403bc32d13ea4a151df81657839479ed95419c2e6062589247058f4ece9f3a7d",
      "rows": 50,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/events.csv",
      "format": "csv",
      "table": "events",
      "key": "datasets/social-space-app/v2/csv/events.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/social-space-app/v2/csv/events.csv",
      "bytes": 9110,
      "sha256": "d4bb3f99ff7c97e52a51fa35edf6fa0de7afc06d4fa96369e2bbd672b1340ef9",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/users.csv",
      "format": "csv",
      "table": "users",
      "key": "datasets/social-space-app/v2/csv/users.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/social-space-app/v2/csv/users.csv",
      "bytes": 9187,
      "sha256": "c84df92f5e94addd2ff312010d0dc68a63dfde0f023eb4bf78d2ebd37ad0995a",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/interactions.csv",
      "format": "csv",
      "table": "interactions",
      "key": "datasets/social-space-app/v2/csv/interactions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/social-space-app/v2/csv/interactions.csv",
      "bytes": 19467,
      "sha256": "b0cc49b2bf725fad9752b75f5ef87d1b89add9a9a8816bce20867e0b27ff531f",
      "rows": 500,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/user_badges.csv",
      "format": "csv",
      "table": "user_badges",
      "key": "datasets/social-space-app/v2/csv/user_badges.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/social-space-app/v2/csv/user_badges.csv",
      "bytes": 3094,
      "sha256": "b1f64ed31644212ed993fbf7c35cd16630c5baadba9e7c63172da4747d2ddc5c",
      "rows": 150,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "social-space-app.json",
      "format": "json",
      "table": null,
      "key": "datasets/social-space-app/v2/social-space-app.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/social-space-app/v2/social-space-app.json",
      "bytes": 167412,
      "sha256": "0ee1fe63ac69d9aab31564a63619e347f5a038ab9da689af44bc69310aed5eac",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/social-space-app/v2/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/social-space-app/v2/sql/postgres.sql",
      "bytes": 66412,
      "sha256": "99afa6378d3a593ccba6a2762fef4108c9559bf73c2375166c64fa57e69b16e5",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/social-space-app/v2/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/social-space-app/v2/sql/mysql.sql",
      "bytes": 65738,
      "sha256": "3c2447296f5bd4003004fda8346293806ec57c461683d596d3e43461a64d502b",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/social-space-app/v2/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/social-space-app/v2/sql/mssql.sql",
      "bytes": 67904,
      "sha256": "1ae75b0e757f228e7919448c9f4f85051fe59988c9d3f707bf3324420ac3d747",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/social-space-app/v2/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/social-space-app/v2/sql/sqlite.sql",
      "bytes": 65509,
      "sha256": "748e2c57aacd3e563ed8d4a670172fc57f9bac8e15c17b988fd27cd0da3cad25",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/social-space-app/v2/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/social-space-app/v2/prisma/seed.ts",
      "bytes": 133890,
      "sha256": "f7590a7f592f1d1956c37662fa3ade2c1dd655ac5611560d6e117d8f1f790307",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/social-space-app/v2/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/social-space-app/v2/django/fixtures.json",
      "bytes": 218147,
      "sha256": "811f7f17939e8de5a139c7e8e2665e3a834cbba2947783ed2183360cc7809835",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788767005348,
  "updatedAt": 1788786199293
}
