{
  "format": "dataset-manifest/1",
  "slug": "pawconnect-community-dynamics",
  "version": 2,
  "seed": "pawconnect-community-dynamics:1",
  "spec": {
    "format": "dataset/1",
    "slug": "pawconnect-community-dynamics",
    "name": "PawConnect Community Dynamics",
    "tagline": "User interactions among pet enthusiasts in a dedicated social network, highlighting activities and community engagement.",
    "description": "PawConnect Community Dynamics is a synthetic dataset designed to model the interactions within a social network specifically for pet enthusiasts. This dataset captures the essence of a community where users share experiences, post about their pets' daily activities, discuss health topics, and participate in events. The table reflects a dynamic environment where interactions are primarily clustered around popular pet types and community events, showcasing how users engage with each other's content. The dataset contains various interaction types, including posts, sightings, messages, and badges, allowing for a comprehensive exploration of user engagement patterns. With this data, users can analyze how different pet types influence interactions, identify trending topics within the community, and evaluate the impact of events on user activity. This dataset is synthetic, ensuring a focus on learning and experimentation rather than real-world data privacy concerns.",
    "domain": "social",
    "shape": "graph-edges",
    "useCases": [
      "sql-practice",
      "teaching"
    ],
    "keywords": [
      "pet owners",
      "social network",
      "community dynamics",
      "user interactions",
      "pet activities",
      "badges",
      "sightings"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "user_interactions": {
        "description": "This table captures the various interactions between users in the PawConnect community. Each row represents a unique interaction, linking a user to different types of activities such as posts, sightings, and messages. The interactions also include details about badges earned by users for their contributions.",
        "rows": 500,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each interaction."
          },
          "user_id": {
            "kind": "uuid",
            "description": "Unique identifier for the user participating in the interaction."
          },
          "interaction_type": {
            "kind": "enum",
            "values": [
              "post",
              "sighting",
              "message",
              "badge"
            ],
            "description": "Type of interaction made by the user.",
            "weights": [
              6,
              2,
              1,
              1
            ]
          },
          "pet_type": {
            "kind": "enum",
            "values": [
              "dog",
              "cat",
              "bird",
              "fish",
              "reptile"
            ],
            "description": "Type of pet associated with the interaction.",
            "weights": [
              5,
              4,
              2,
              1,
              1
            ]
          },
          "timestamp": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-10-31",
            "description": "Date and time when the interaction occurred.",
            "dayProfile": "waking"
          },
          "badge_earned": {
            "kind": "bool",
            "trueRate": 0.15,
            "description": "Indicates if the user earned a badge for this interaction.",
            "nullable": true,
            "when": {
              "column": "pet_type",
              "in": [
                "dog",
                "cat"
              ]
            }
          }
        }
      }
    },
    "structure": "single-table",
    "traits": [
      "categorical",
      "timestamped",
      "high-cardinality"
    ],
    "analysisQuestions": [
      "What types of interactions are most common among users?",
      "Which pet types receive the most engagement in posts?",
      "How do community events affect user activity and interactions?",
      "What percentage of users earn badges for their contributions?",
      "Are there specific times when interactions peak within the community?"
    ],
    "suggestedQueries": [
      {
        "title": "Count interactions by type",
        "sql": "SELECT interaction_type, COUNT(*) FROM user_interactions GROUP BY interaction_type;",
        "dialect": "postgres"
      },
      {
        "title": "Find most popular pet types",
        "sql": "SELECT pet_type, COUNT(*) AS interaction_count FROM user_interactions GROUP BY pet_type ORDER BY interaction_count DESC;",
        "dialect": "postgres"
      },
      {
        "title": "User activity over time",
        "sql": "SELECT DATE(timestamp) AS interaction_date, COUNT(*) FROM user_interactions GROUP BY interaction_date ORDER BY interaction_date;",
        "dialect": "postgres"
      },
      {
        "title": "Badge distribution among users",
        "sql": "SELECT badge_earned, COUNT(DISTINCT user_id) FROM user_interactions GROUP BY badge_earned;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "SQL Practice for Beginners",
        "body": "This dataset serves as an excellent resource for beginners learning SQL. They can practice writing queries to analyze user interactions, explore trends in pet types, and aggregate data based on timestamps, all while gaining insights into a vibrant community."
      },
      {
        "title": "Teaching Data Analysis Concepts",
        "body": "Instructors can utilize this dataset to teach concepts of data analysis and visualization. Students can create reports and dashboards to present findings about user engagement, the popularity of various pet types, and the impact of community events."
      },
      {
        "title": "Community Engagement Research",
        "body": "Researchers studying community dynamics can use this dataset to analyze user behavior and interaction patterns. They can explore how different factors influence engagement and how community recognition (badges) affects participation."
      }
    ]
  },
  "counts": {
    "user_interactions": 500
  },
  "stats": {
    "user_interactions": {
      "rows": 500,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 500,
          "min": 1,
          "max": 500
        },
        "user_id": {
          "nulls": 0,
          "distinct": 500
        },
        "interaction_type": {
          "nulls": 0,
          "distinct": 4,
          "min": "badge",
          "max": "sighting"
        },
        "pet_type": {
          "nulls": 0,
          "distinct": 5,
          "min": "bird",
          "max": "reptile"
        },
        "timestamp": {
          "nulls": 0,
          "distinct": 500,
          "min": "2023-01-01 19:14:29",
          "max": "2023-10-31 09:19:41"
        },
        "badge_earned": {
          "nulls": 164,
          "distinct": 2,
          "min": "false",
          "max": "true"
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/user_interactions.csv",
      "format": "csv",
      "table": "user_interactions",
      "key": "datasets/pawconnect-community-dynamics/v2/csv/user_interactions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/pawconnect-community-dynamics/v2/csv/user_interactions.csv",
      "bytes": 38481,
      "sha256": "9cd4c7f78c9b4cda31b2d5a0ea6bf798579acb20eb3c4a2917335b9eefae4c32",
      "rows": 500,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "pawconnect-community-dynamics.json",
      "format": "json",
      "table": null,
      "key": "datasets/pawconnect-community-dynamics/v2/pawconnect-community-dynamics.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/pawconnect-community-dynamics/v2/pawconnect-community-dynamics.json",
      "bytes": 108608,
      "sha256": "1b7fd14f6579412f81a15fa4af71e7d03d13247bcd214b095559f7b9fe9db94a",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/pawconnect-community-dynamics/v2/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/pawconnect-community-dynamics/v2/sql/postgres.sql",
      "bytes": 49628,
      "sha256": "f4aa8f40567bcee83de0dd04cf0425565232b574fc960527d97bfbe37e74d333",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/pawconnect-community-dynamics/v2/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/pawconnect-community-dynamics/v2/sql/mysql.sql",
      "bytes": 48225,
      "sha256": "926c3dcf682b45c67a5636fb1936f9cfd1d09ad110a80d3ee1fee2141ebb7262",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/pawconnect-community-dynamics/v2/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/pawconnect-community-dynamics/v2/sql/mssql.sql",
      "bytes": 50308,
      "sha256": "157dd84c0521aa716a66adbb993f933c0725782fb9900b50f045c5289a632c86",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/pawconnect-community-dynamics/v2/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/pawconnect-community-dynamics/v2/sql/sqlite.sql",
      "bytes": 48185,
      "sha256": "6dae681897c70092d3dbe567f0cae6b2ca0d9b4e96248a09a9e042951dbb8ef7",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/pawconnect-community-dynamics/v2/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/pawconnect-community-dynamics/v2/prisma/seed.ts",
      "bytes": 92844,
      "sha256": "242c570c59ddffeefd014c11a2ac338edec2f2a5d6d0b6de0098e06644b0d9fb",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/pawconnect-community-dynamics/v2/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/pawconnect-community-dynamics/v2/django/fixtures.json",
      "bytes": 135079,
      "sha256": "bd1964b43d8c944a50be438a732dfe25841b6ee67e01a048a6ed7ae0f97d28c6",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788767987709,
  "updatedAt": 1788785354358
}
