{
  "format": "dataset-manifest/1",
  "slug": "windows-media-player",
  "version": 2,
  "seed": "windows-media-player:1",
  "spec": {
    "format": "dataset/1",
    "slug": "windows-media-player",
    "name": "Media Interaction Metrics",
    "tagline": "User interactions with media items, capturing playback details across genres, formats and devices.",
    "description": "Users explore a diverse selection of media, from music and podcasts to videos, crafting a personalized entertainment experience. This vibrant ecosystem enables individuals to engage with content that resonates with their tastes, whether they're indulging in the latest hit song, an intriguing podcast episode, or a captivating video series. By analyzing user interactions with various media items, we gain insights into how different playback formats and devices influence consumption patterns. \n\nThe data is structured across several interrelated tables. The 'users' table captures information about each individual, including their preferences and demographics. The 'media_items' table catalogs the various songs, podcast episodes, and videos available for consumption, including details like title and genre. The 'interactions' table records engagements between users and media items, noting specifics such as playback duration and interaction type. The 'genres' table defines the categories under which media items are classified, while the 'playback_formats' table includes the different ways media can be consumed (such as streaming or download). Lastly, the 'devices' table lists the hardware users employ to access content, ranging from smartphones to smart TVs. \n\nThis dataset answers pivotal questions about user behavior and media consumption. For instance, developers can explore which genres are most popular among different demographics, how playback formats affect user interactions, and what devices are commonly used for specific media types. By examining these data points, practitioners can practice their skills in analytics, gaining insights into trends and preferences within the gaming and media landscape. It's important to note that all data within this dataset is synthetic, created for the purpose of analysis and practice.",
    "domain": "gaming",
    "shape": "transactional",
    "useCases": [
      "sql-practice",
      "orm-seeding"
    ],
    "keywords": [
      "media interactions",
      "music",
      "podcasts",
      "videos",
      "user engagement",
      "playback metrics"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "users": {
        "description": "Each row represents a user with unique demographics and preferences, linking to their interactions with media.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each user."
          },
          "full_name": {
            "kind": "fullName",
            "description": "The full name of the user."
          },
          "age": {
            "kind": "int",
            "min": 18,
            "max": 65,
            "description": "Age of the user."
          },
          "country": {
            "kind": "country",
            "description": "The country where the user resides."
          },
          "favorite_genre": {
            "kind": "enum",
            "values": [
              "rock",
              "pop",
              "jazz",
              "hip-hop",
              "classical",
              "podcast",
              "gaming"
            ],
            "description": "User's favorite genre of media.",
            "weights": [
              5,
              4,
              2,
              3,
              1,
              1,
              6
            ]
          }
        }
      },
      "media_items": {
        "description": "This table holds information about various media items including music tracks, podcasts, and videos.",
        "rows": 300,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each media item."
          },
          "title": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "Title of the media item.",
            "pool": [
              "adventure",
              "quest",
              "battle",
              "legend",
              "hero",
              "journey",
              "saga",
              "warrior",
              "mystery",
              "realm",
              "kingdom",
              "tale",
              "fable",
              "odyssey",
              "expedition",
              "dungeon",
              "myth",
              "chronicle",
              "epic",
              "story"
            ]
          },
          "media_type": {
            "kind": "enum",
            "values": [
              "music",
              "podcast",
              "video"
            ],
            "description": "Type of media item.",
            "weights": [
              10,
              3,
              7
            ]
          },
          "genre": {
            "kind": "enum",
            "values": [
              "rock",
              "pop",
              "jazz",
              "hip-hop",
              "classical",
              "documentary",
              "gaming"
            ],
            "description": "Genre of the media item."
          },
          "duration": {
            "kind": "int",
            "min": 60,
            "max": 3600,
            "description": "Duration of the media item in seconds.",
            "distribution": "normal"
          }
        }
      },
      "interactions": {
        "description": "Tracks individual user interactions with media items, linking users to their media consumption behaviors.",
        "rows": {
          "per": "users",
          "via": "user_id",
          "min": 1,
          "max": 10,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each interaction."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "References the user who made the interaction."
          },
          "media_id": {
            "kind": "fk",
            "ref": "media_items.id",
            "description": "References the media item interacted with."
          },
          "playback_duration": {
            "kind": "int",
            "min": 1,
            "max": 3600,
            "description": "Duration of the playback in seconds.",
            "distribution": "long-tail"
          },
          "device": {
            "kind": "enum",
            "values": [
              "mobile",
              "desktop",
              "tablet",
              "smart_tv"
            ],
            "description": "The device used for playback.",
            "weights": [
              6,
              5,
              2,
              1
            ]
          },
          "interaction_timestamp": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "Timestamp of when the interaction occurred.",
            "dayProfile": "waking"
          }
        }
      },
      "genres": {
        "description": "This table provides a list of media genres available for users to explore.",
        "rows": 10,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each genre."
          },
          "name": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "Name of the genre.",
            "pool": [
              "action",
              "adventure",
              "roleplaying",
              "strategy",
              "simulation",
              "puzzle",
              "horror",
              "fantasy",
              "sci-fi",
              "shooter",
              "racing",
              "sports",
              "arcade",
              "platformer",
              "multiplayer",
              "narrative",
              "casual",
              "indie",
              "MMO",
              "sandbox"
            ]
          },
          "description": {
            "kind": "sentence",
            "description": "A brief description of the genre."
          }
        }
      },
      "playback_formats": {
        "description": "Details various formats in which media can be played, allowing for insights into user preferences.",
        "rows": 6,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each format."
          },
          "format": {
            "kind": "enum",
            "values": [
              "mp3",
              "wav",
              "mp4",
              "flac",
              "aac"
            ],
            "description": "Playback format of the media.",
            "weights": [
              7,
              2,
              5,
              1,
              3
            ]
          },
          "description": {
            "kind": "sentence",
            "description": "Description of the format."
          }
        }
      },
      "devices": {
        "description": "Catalogs the devices used by users for media consumption, linking to interactions.",
        "rows": 100,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each device."
          },
          "device_type": {
            "kind": "enum",
            "values": [
              "mobile",
              "desktop",
              "tablet",
              "smart_tv"
            ],
            "description": "Type of device."
          },
          "brand": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "Brand of the device.",
            "pool": [
              "Sony",
              "Microsoft",
              "Nintendo",
              "Apple",
              "Samsung",
              "Asus",
              "Razer",
              "Lenovo",
              "Dell",
              "HP",
              "Acer",
              "LG",
              "OnePlus",
              "Xiaomi",
              "Oculus",
              "Google",
              "HTC",
              "Alienware",
              "Corsair",
              "Toshiba"
            ]
          },
          "model": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "Model of the device.",
            "pool": [
              "PlayStation",
              "Xbox",
              "Switch",
              "iPhone",
              "Galaxy",
              "ZenBook",
              "Blade",
              "Legion",
              "Spectre",
              "Envy",
              "Vive",
              "Quest",
              "Pixel",
              "RazerPhone",
              "Surface",
              "Gamer",
              "Y7000",
              "G14",
              "Pavilion",
              "IdeaPad"
            ]
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "high-cardinality",
      "categorical",
      "timestamped"
    ],
    "analysisQuestions": [
      "What are the most popular media genres among different age groups?",
      "How does playback duration vary across different media types?",
      "Which devices are most commonly used for media consumption?",
      "What is the average playback duration for specific media items?",
      "How do user preferences change over time for different genres?"
    ],
    "suggestedQueries": [
      {
        "title": "Retrieve all interactions for a specific user",
        "sql": "SELECT * FROM interactions WHERE user_id = ?;",
        "dialect": "postgres"
      },
      {
        "title": "Count media interactions grouped by media type",
        "sql": "SELECT media_type, COUNT(*) FROM media_items JOIN interactions ON media_items.id = interactions.media_id GROUP BY media_type;",
        "dialect": "postgres"
      },
      {
        "title": "Find average playback duration for each genre",
        "sql": "SELECT media_items.genre, AVG(interactions.playback_duration) FROM interactions JOIN media_items ON interactions.media_id = media_items.id GROUP BY media_items.genre;",
        "dialect": "postgres"
      },
      {
        "title": "List users who prefer a specific genre",
        "sql": "SELECT DISTINCT users.full_name FROM users JOIN interactions ON users.id = interactions.user_id JOIN media_items ON interactions.media_id = media_items.id WHERE media_items.genre = ?;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Marketing Analysis",
        "body": "Marketing teams can utilize this dataset to analyze user interactions and preferences, determining which media genres resonate with their target demographics. By understanding the playback patterns across different age groups, they can tailor promotional content and advertising strategies to maximize engagement."
      },
      {
        "title": "User Experience Enhancement",
        "body": "Developers and product teams can leverage the data to enhance user experience by identifying the most commonly used devices for media consumption. This insight can inform the optimization of the application interface and functionality to ensure a seamless experience across platforms."
      },
      {
        "title": "Content Curation",
        "body": "Content curators can use this dataset to identify trending media items and genres. By analyzing playback durations and user interactions, they can curate playlists or recommendations that align with current user interests, driving engagement and satisfaction."
      },
      {
        "title": "Research and Development",
        "body": "Researchers in media studies can utilize the insights from this dataset to explore how consumer preferences evolve over time. By examining interactions across different media types and genres, they can gain valuable insights into broader trends in media consumption."
      }
    ]
  },
  "counts": {
    "devices": 100,
    "genres": 10,
    "media_items": 300,
    "playback_formats": 6,
    "users": 200,
    "interactions": 816
  },
  "stats": {
    "users": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "full_name": {
          "nulls": 0,
          "distinct": 198,
          "min": "Alice Cruz",
          "max": "Zoe Wang"
        },
        "age": {
          "nulls": 0,
          "distinct": 48,
          "min": 18,
          "max": 65
        },
        "country": {
          "nulls": 0,
          "distinct": 42,
          "min": "Argentina",
          "max": "United States"
        },
        "favorite_genre": {
          "nulls": 0,
          "distinct": 7,
          "min": "classical",
          "max": "rock"
        }
      }
    },
    "media_items": {
      "rows": 300,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 300,
          "min": 1,
          "max": 300
        },
        "title": {
          "nulls": 0,
          "distinct": 191
        },
        "media_type": {
          "nulls": 0,
          "distinct": 3,
          "min": "music",
          "max": "video"
        },
        "genre": {
          "nulls": 0,
          "distinct": 7,
          "min": "classical",
          "max": "rock"
        },
        "duration": {
          "nulls": 0,
          "distinct": 283,
          "min": 478,
          "max": 3011
        }
      }
    },
    "interactions": {
      "rows": 816,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 816,
          "min": 1,
          "max": 816
        },
        "user_id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "media_id": {
          "nulls": 0,
          "distinct": 281,
          "min": 1,
          "max": 300
        },
        "playback_duration": {
          "nulls": 0,
          "distinct": 661,
          "min": 1,
          "max": 3591
        },
        "device": {
          "nulls": 0,
          "distinct": 4,
          "min": "desktop",
          "max": "tablet"
        },
        "interaction_timestamp": {
          "nulls": 0,
          "distinct": 816,
          "min": "2023-01-01 09:44:56",
          "max": "2023-12-31 12:14:36"
        }
      }
    },
    "genres": {
      "rows": 10,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 10,
          "min": 1,
          "max": 10
        },
        "name": {
          "nulls": 0,
          "distinct": 10
        },
        "description": {
          "nulls": 0,
          "distinct": 10
        }
      }
    },
    "playback_formats": {
      "rows": 6,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 6,
          "min": 1,
          "max": 6
        },
        "format": {
          "nulls": 0,
          "distinct": 3,
          "min": "mp3",
          "max": "wav"
        },
        "description": {
          "nulls": 0,
          "distinct": 6
        }
      }
    },
    "devices": {
      "rows": 100,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "device_type": {
          "nulls": 0,
          "distinct": 4,
          "min": "desktop",
          "max": "tablet"
        },
        "brand": {
          "nulls": 0,
          "distinct": 86
        },
        "model": {
          "nulls": 0,
          "distinct": 84
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/devices.csv",
      "format": "csv",
      "table": "devices",
      "key": "datasets/windows-media-player/v2/csv/devices.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/windows-media-player/v2/csv/devices.csv",
      "bytes": 3918,
      "sha256": "be04b9e35bbddc6caf2195aede2887654fb4c240a5bb2e3f6c0c52054e6985a8",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/genres.csv",
      "format": "csv",
      "table": "genres",
      "key": "datasets/windows-media-player/v2/csv/genres.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/windows-media-player/v2/csv/genres.csv",
      "bytes": 806,
      "sha256": "5524b2cc6ceeef30f70f8a368ffe1ac4ea818963fcf24cdc51337a93979500c2",
      "rows": 10,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/media_items.csv",
      "format": "csv",
      "table": "media_items",
      "key": "datasets/windows-media-player/v2/csv/media_items.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/windows-media-player/v2/csv/media_items.csv",
      "bytes": 11132,
      "sha256": "56ac8ea8921724dd54b6fa4e7a12e82b8a0a29604911b6ccb75b4ee5c46d0377",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/playback_formats.csv",
      "format": "csv",
      "table": "playback_formats",
      "key": "datasets/windows-media-player/v2/csv/playback_formats.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/windows-media-player/v2/csv/playback_formats.csv",
      "bytes": 406,
      "sha256": "1dcf1e842009905203828eb096632595af3ce52b4b8f8e54e1367c4dbc6d8e68",
      "rows": 6,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/users.csv",
      "format": "csv",
      "table": "users",
      "key": "datasets/windows-media-player/v2/csv/users.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/windows-media-player/v2/csv/users.csv",
      "bytes": 6970,
      "sha256": "6c3c29fab064fb74d52204004738101e3fdac0661b39f60c50c488cf944092fc",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/interactions.csv",
      "format": "csv",
      "table": "interactions",
      "key": "datasets/windows-media-player/v2/csv/interactions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/windows-media-player/v2/csv/interactions.csv",
      "bytes": 35741,
      "sha256": "6d7808ae42fb9da72cb5e7d3cffff48fa6167f3159c7b85ca76ed0218f0cf951",
      "rows": 816,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "windows-media-player.json",
      "format": "json",
      "table": null,
      "key": "datasets/windows-media-player/v2/windows-media-player.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/windows-media-player/v2/windows-media-player.json",
      "bytes": 236202,
      "sha256": "4af64b58ccbbe27000d273e9795a96724bbf03f3ffb59e4269e66e0512fa6a2f",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/windows-media-player/v2/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/windows-media-player/v2/sql/postgres.sql",
      "bytes": 84129,
      "sha256": "add0a4ae16705fa7b3ac86c1f0fbe44a8649644388185eee1ed6ed623e30b106",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/windows-media-player/v2/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/windows-media-player/v2/sql/mysql.sql",
      "bytes": 83451,
      "sha256": "09e6a078ffe8760f958f70d10bc0ed344b979f33154a6fabb7430553f24a7e95",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/windows-media-player/v2/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/windows-media-player/v2/sql/mssql.sql",
      "bytes": 87330,
      "sha256": "257597e5d491693cad1ac8d1f215e3bab45eff8188df50254f9261cdeba4cc8f",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/windows-media-player/v2/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/windows-media-player/v2/sql/sqlite.sql",
      "bytes": 83270,
      "sha256": "37c124cbfea8cacbc5c23805b90b612b775539d6e03dd80fbb16b5f47c85ecc8",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/windows-media-player/v2/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/windows-media-player/v2/prisma/seed.ts",
      "bytes": 189215,
      "sha256": "7164a54ce1fcccc471c5ddd0105a081b1d92c64e1a1fa25cbd1c7d5dd60cc15e",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/windows-media-player/v2/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/windows-media-player/v2/django/fixtures.json",
      "bytes": 298187,
      "sha256": "9f3ce8cd28049aca9e73c921dc117619f8e6578d60e6caf712c70ee6c922bfc6",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788768736018,
  "updatedAt": 1788787024685
}
