{
  "format": "dataset-manifest/1",
  "slug": "database-script-for-a-media-player-for-the-web",
  "version": 2,
  "seed": "database-script-for-a-media-player-for-the-web:1",
  "spec": {
    "format": "dataset/1",
    "slug": "database-script-for-a-media-player-for-the-web",
    "name": "Interactive Media Connections",
    "tagline": "Modeling player interactions through media experiences in gaming.",
    "description": "Players connect and engage in the gaming world through shared media experiences, discovering new content and interacting with creators. User interactions play a crucial role in understanding how content is consumed in this dynamic environment. The dataset focuses on various metrics related to user behavior, including video downloads, subscriptions to channels, and the likes that each video receives. By analyzing these interactions, developers can gain insights into audience preferences and trends within the gaming community.\n\nThe primary table in this dataset, user_interactions, captures individual records of user activities. Each row represents a specific interaction, detailing the video downloaded, the user who engaged with it, their subscription status, and the likes attributed to that video. The relationships within this table allow developers to explore how different creators' content is received, revealing patterns of popularity and engagement among users. For instance, it becomes possible to identify which videos are trending, the demographics of their audiences, and how engagement varies across different regions.\n\nThis data is particularly useful for answering questions such as: Which videos are the most popular among specific user demographics? How does user engagement with content vary by region? What factors contribute to a video becoming a trending title? By practicing with this data, developers can hone their skills in analytics, reporting, and visualization, gaining practical experience in interpreting user engagement metrics within the gaming sector. The data is synthetic, generated to provide a realistic yet anonymized environment for testing and analysis.",
    "domain": "gaming",
    "shape": "graph-edges",
    "useCases": [
      "sql-practice",
      "teaching"
    ],
    "keywords": [
      "gaming",
      "media",
      "user interactions",
      "video downloads",
      "subscriptions",
      "likes"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "user_interactions": {
        "description": "This table records various interactions by users with media content, including downloads, subscriptions, and likes. Each row represents a distinct interaction tied to a specific user, show, and creator, with associated metrics for engagement.",
        "rows": 1000,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each interaction."
          },
          "user_id": {
            "kind": "uuid",
            "description": "Unique identifier for the user performing the interaction."
          },
          "show_id": {
            "kind": "uuid",
            "description": "Unique identifier for the media show being interacted with.",
            "nullable": true,
            "when": {
              "column": "interaction_type",
              "in": [
                "download",
                "subscription",
                "like"
              ]
            }
          },
          "creator_id": {
            "kind": "uuid",
            "description": "Unique identifier for the creator of the show.",
            "nullable": true,
            "when": {
              "column": "region",
              "in": [
                "North America",
                "Europe",
                "Asia",
                "Australia"
              ]
            }
          },
          "region": {
            "kind": "enum",
            "values": [
              "North America",
              "Europe",
              "Asia",
              "Australia"
            ],
            "description": "Geographical region of the user.",
            "weights": [
              6,
              3,
              2,
              1
            ]
          },
          "interaction_type": {
            "kind": "enum",
            "values": [
              "download",
              "subscription",
              "like"
            ],
            "description": "Type of interaction performed by the user.",
            "weights": [
              5,
              4,
              1
            ]
          },
          "timestamp": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "Date and time when the interaction occurred.",
            "dayProfile": "waking"
          }
        }
      }
    },
    "structure": "single-table",
    "traits": [
      "categorical",
      "timestamped",
      "high-cardinality"
    ],
    "analysisQuestions": [
      "What are the most downloaded shows across different regions?",
      "How do user subscriptions relate to the number of likes a show receives?",
      "Which regions show the highest engagement with niche content?",
      "What times of year see spikes in media interactions?"
    ],
    "suggestedQueries": [
      {
        "title": "Count of Interactions by Region",
        "sql": "SELECT region, COUNT(*) as total_interactions FROM user_interactions GROUP BY region;",
        "dialect": "postgres"
      },
      {
        "title": "Most Liked Shows",
        "sql": "SELECT show_id, COUNT(*) as like_count FROM user_interactions WHERE interaction_type = 'like' GROUP BY show_id ORDER BY like_count DESC LIMIT 10;",
        "dialect": "postgres"
      },
      {
        "title": "Subscription Trends Over Time",
        "sql": "SELECT DATE_TRUNC('month', timestamp) as month, COUNT(*) as subscriptions FROM user_interactions WHERE interaction_type = 'subscription' GROUP BY month ORDER BY month;",
        "dialect": "postgres"
      },
      {
        "title": "Engagement Analysis by Creator",
        "sql": "SELECT creator_id, COUNT(*) as total_engagement FROM user_interactions GROUP BY creator_id;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Game Developers Analyzing User Behavior",
        "body": "Game developers can utilize this dataset to understand how players engage with media content. By analyzing download and subscription trends, they can tailor their marketing strategies and improve player retention through targeted media offerings."
      },
      {
        "title": "Educators Teaching SQL",
        "body": "Educators can use this dataset in their SQL courses to provide students with practical examples for querying data. The diverse interaction types and timestamps allow students to practice various SQL techniques, from basic SELECT statements to more complex aggregations."
      },
      {
        "title": "Content Creators Measuring Impact",
        "body": "Content creators can analyze the dataset to gauge the popularity of their shows and identify which types of media generate the most engagement. This insight can help them refine their content strategy and better cater to their audience's preferences."
      }
    ]
  },
  "counts": {
    "user_interactions": 1000
  },
  "stats": {
    "user_interactions": {
      "rows": 1000,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 1000,
          "min": 1,
          "max": 1000
        },
        "user_id": {
          "nulls": 0,
          "distinct": 1000
        },
        "show_id": {
          "nulls": 0,
          "distinct": 1000
        },
        "creator_id": {
          "nulls": 0,
          "distinct": 1000
        },
        "region": {
          "nulls": 0,
          "distinct": 4,
          "min": "Asia",
          "max": "North America"
        },
        "interaction_type": {
          "nulls": 0,
          "distinct": 3,
          "min": "download",
          "max": "subscription"
        },
        "timestamp": {
          "nulls": 0,
          "distinct": 1000,
          "min": "2023-01-02 14:25:21",
          "max": "2023-12-31 23:53:13"
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/user_interactions.csv",
      "format": "csv",
      "table": "user_interactions",
      "key": "datasets/database-script-for-a-media-player-for-the-web/v2/csv/user_interactions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/database-script-for-a-media-player-for-the-web/v2/csv/user_interactions.csv",
      "bytes": 156616,
      "sha256": "373c40540689ce3001eedc80c84f3d520dfe8844596ccf96368b4137a688c6b1",
      "rows": 1000,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "database-script-for-a-media-player-for-the-web.json",
      "format": "json",
      "table": null,
      "key": "datasets/database-script-for-a-media-player-for-the-web/v2/database-script-for-a-media-player-for-the-web.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/database-script-for-a-media-player-for-the-web/v2/database-script-for-a-media-player-for-the-web.json",
      "bytes": 313583,
      "sha256": "231c46876c9b5fd97a9dd37ad9e19947648d013a44adccc943bc1a1ae47f7cdb",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/database-script-for-a-media-player-for-the-web/v2/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/database-script-for-a-media-player-for-the-web/v2/sql/postgres.sql",
      "bytes": 181923,
      "sha256": "0fae9b38d3acf2d9f3eefe907a8b42106e6d5c83688afb699cc0d9c825d528ec",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/database-script-for-a-media-player-for-the-web/v2/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/database-script-for-a-media-player-for-the-web/v2/sql/mysql.sql",
      "bytes": 181817,
      "sha256": "3fcf2780f891ef8473e7623f262c20221a3e67bea2033ef216aa5e0a49d82c80",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/database-script-for-a-media-player-for-the-web/v2/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/database-script-for-a-media-player-for-the-web/v2/sql/mssql.sql",
      "bytes": 187923,
      "sha256": "298cd78754b519113edab6e549b00345a036c09dfc9e02c239e608e1f83173a4",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/database-script-for-a-media-player-for-the-web/v2/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/database-script-for-a-media-player-for-the-web/v2/sql/sqlite.sql",
      "bytes": 181770,
      "sha256": "7a823874a8d6b1a9a4f3a7a15d39317f90a721b7eff500ca5293355829334564",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/database-script-for-a-media-player-for-the-web/v2/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/database-script-for-a-media-player-for-the-web/v2/prisma/seed.ts",
      "bytes": 273419,
      "sha256": "6e42f18d89ba36aea80a1cd70d667b92f0050ff04f5d680ee021dcc74321f2dd",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/database-script-for-a-media-player-for-the-web/v2/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/database-script-for-a-media-player-for-the-web/v2/django/fixtures.json",
      "bytes": 366554,
      "sha256": "c708dfe71692d0319b9caffaf1961f9b662614113ee184a093154732aa2c54ec",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788765976868,
  "updatedAt": 1788783347932
}
