{
  "format": "dataset-manifest/1",
  "slug": "engagement-metrics-graph",
  "version": 1,
  "seed": "engagement-metrics-graph:1",
  "spec": {
    "format": "dataset/1",
    "slug": "engagement-metrics-graph",
    "name": "Engagement Metrics Graph",
    "tagline": "User engagement data on social media, including interactions with quizzes, listicles, and newsletters.",
    "description": "Engagement Metrics Graph is a synthetic dataset that models user interactions on a social media platform, capturing the dynamics of how users engage with various content formats such as quizzes, listicles, and newsletters. This dataset is designed for developers and data enthusiasts looking to practice SQL queries and explore graph-based analytics in a social context. Each row represents an interaction, detailing the type of engagement, the content involved, and timestamps of these interactions. The relationships between different types of engagements can be analyzed to understand user behavior patterns, such as peak engagement times for specific content formats and the correlation between types of interactions. By working with this dataset, users can develop valuable skills in querying graph-structured data. The dataset is synthetic, ensuring that it provides a safe and flexible environment for experimentation and learning.",
    "domain": "social",
    "shape": "graph-edges",
    "useCases": [
      "sql-practice",
      "teaching"
    ],
    "keywords": [
      "engagement",
      "social media",
      "user interactions",
      "quizzes",
      "content sharing",
      "analytics"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "engagement_metrics": {
        "description": "This table captures user interactions with various content types on the platform. Each row represents a unique engagement, linking users to the content they interacted with and the type of interaction.",
        "rows": 500,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each engagement record."
          },
          "user_id": {
            "kind": "uuid",
            "description": "Identifier for the user engaging with the content.",
            "nullable": true
          },
          "content_id": {
            "kind": "uuid",
            "description": "Identifier for the content being engaged with.",
            "nullable": true
          },
          "engagement_type": {
            "kind": "enum",
            "values": [
              "like",
              "follow",
              "quiz_attempt",
              "comment_like"
            ],
            "description": "Type of engagement the user performed."
          },
          "timestamp": {
            "kind": "datetime",
            "from": "2022-01-01",
            "to": "2023-12-31",
            "description": "Date and time when the engagement occurred.",
            "nullable": true,
            "when": {
              "column": "engagement_type",
              "in": [
                "like",
                "comment_like"
              ]
            },
            "dayProfile": "waking"
          }
        }
      }
    },
    "structure": "single-table",
    "traits": [
      "categorical",
      "timestamped",
      "high-cardinality"
    ],
    "analysisQuestions": [
      "What types of content generate the most likes?",
      "When do users engage with quizzes the most throughout the week?",
      "How does engagement vary between different content formats?",
      "What is the average time between a follow and a quiz attempt by the same user?"
    ],
    "suggestedQueries": [
      {
        "title": "Count Engagements by Type",
        "sql": "SELECT engagement_type, COUNT(*) FROM engagement_metrics GROUP BY engagement_type;",
        "dialect": "postgres"
      },
      {
        "title": "Daily Engagement Trends",
        "sql": "SELECT DATE(timestamp) AS engagement_date, COUNT(*) FROM engagement_metrics GROUP BY engagement_date ORDER BY engagement_date;",
        "dialect": "postgres"
      },
      {
        "title": "User Engagement Patterns",
        "sql": "SELECT user_id, COUNT(*) AS total_engagements FROM engagement_metrics GROUP BY user_id ORDER BY total_engagements DESC LIMIT 10;",
        "dialect": "postgres"
      },
      {
        "title": "Engagements Over Time",
        "sql": "SELECT DATE(timestamp) AS date, COUNT(*) AS engagements FROM engagement_metrics WHERE engagement_type = 'quiz_attempt' GROUP BY date ORDER BY date;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Social Media Analyst",
        "body": "A social media analyst can use this dataset to understand user engagement trends over time, identifying peak periods for specific content types. This analysis can help inform future content strategies and optimize posting schedules."
      },
      {
        "title": "Data Science Student",
        "body": "A data science student might utilize this dataset to practice SQL queries focused on graph-structured data. They can explore user interactions and develop insights into how engagement types correlate with different content formats."
      },
      {
        "title": "Marketing Strategist",
        "body": "A marketing strategist can analyze the engagement metrics to evaluate the effectiveness of various campaigns, identifying which content formats drive the most interactions and tailoring future marketing efforts accordingly."
      }
    ]
  },
  "counts": {
    "engagement_metrics": 500
  },
  "stats": {
    "engagement_metrics": {
      "rows": 500,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 500,
          "min": 1,
          "max": 500
        },
        "user_id": {
          "nulls": 55,
          "distinct": 445
        },
        "content_id": {
          "nulls": 51,
          "distinct": 449
        },
        "engagement_type": {
          "nulls": 0,
          "distinct": 4,
          "min": "comment_like",
          "max": "quiz_attempt"
        },
        "timestamp": {
          "nulls": 244,
          "distinct": 256,
          "min": "2022-01-02 21:23:10",
          "max": "2023-12-31 07:07:32"
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/engagement_metrics.csv",
      "format": "csv",
      "table": "engagement_metrics",
      "key": "datasets/engagement-metrics-graph/v1/csv/engagement_metrics.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/engagement-metrics-graph/v1/csv/engagement_metrics.csv",
      "bytes": 45679,
      "sha256": "ab2714c9373932d6b111edec4674017dc49a8b3f8807268ed73cec6b9f1283cb",
      "rows": 500,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "engagement-metrics-graph.json",
      "format": "json",
      "table": null,
      "key": "datasets/engagement-metrics-graph/v1/engagement-metrics-graph.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/engagement-metrics-graph/v1/engagement-metrics-graph.json",
      "bytes": 104863,
      "sha256": "79200ddb0f619d88ee3bb42ec3d6ecd11172629ef88dc8bef0c7bfaaab1ec8c4",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/engagement-metrics-graph/v1/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/engagement-metrics-graph/v1/sql/postgres.sql",
      "bytes": 56269,
      "sha256": "508316d899d017fbc3ff094fa9761e7702ec8db23959dcf8f2a80fba7cfab4cc",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/engagement-metrics-graph/v1/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/engagement-metrics-graph/v1/sql/mysql.sql",
      "bytes": 56157,
      "sha256": "35ac477fd802510b9503c7bb29a5b139b3db4ddb3318b6501c52da116b59a97a",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/engagement-metrics-graph/v1/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/engagement-metrics-graph/v1/sql/mssql.sql",
      "bytes": 57906,
      "sha256": "73c68d36199c36d6a43cdba423947475c6fae0f08fcf3b5d488a073981d61ccf",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/engagement-metrics-graph/v1/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/engagement-metrics-graph/v1/sql/sqlite.sql",
      "bytes": 56121,
      "sha256": "cb09e3b10e2ffb0668dc907f0e243879e29ba04f8129c64b351a86bfc7469fd8",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/engagement-metrics-graph/v1/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/engagement-metrics-graph/v1/prisma/seed.ts",
      "bytes": 90406,
      "sha256": "c3dc5e5e94b91e60cadfb0c34daf6a6b773a7e47519563424999bce0d10f4ed8",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/engagement-metrics-graph/v1/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/engagement-metrics-graph/v1/django/fixtures.json",
      "bytes": 131589,
      "sha256": "30b196b0bb70e4e5ce4845399474685175f22ed355be42ea217b94f8bc85b328",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788767396061,
  "updatedAt": 1788767396061
}
