{
  "format": "dataset-manifest/1",
  "slug": "gaming-community-insights",
  "version": 3,
  "seed": "gaming-community-insights:1",
  "spec": {
    "format": "dataset/1",
    "slug": "gaming-community-insights",
    "name": "Gaming Community Insights",
    "tagline": "User profiles, game titles, transactions, support tickets, and friendships from a vibrant gaming community.",
    "description": "Gamers interact daily, diving into a vast library of titles and community-driven content. They explore diverse genres, track their achievements, and manage game downloads while building connections with friends and moderators. This vibrant ecosystem thrives on user engagement and frequent transactions, as players purchase games, in-game items, and downloadable content. Support teams address a variety of user issues through tickets and replies, ensuring a smooth gaming experience for everyone involved.\n\nIn this data model, the users table offers insights into individual gamer profiles, including their preferences and activity levels. The games table catalogs the diverse range of titles available, detailing genre, popularity, and unique attributes. Transactions are recorded in the transactions table, providing a snapshot of the financial aspects of gamers’ purchases. Support tickets within the support_tickets table reflect user inquiries and issues, paired with responses from support staff, revealing trends in user concerns and satisfaction. Lastly, the friendships table captures the relationships formed between users, showcasing social interactions that enhance the gaming experience.\n\nEach row in the users table connects to multiple entries in the transactions table, as individual gamers often make numerous purchases. The support_tickets table correlates with both users and games, highlighting specific issues related to particular titles. Friendships offer a social dimension, linking users through their interactions, which can be analyzed alongside game preferences and purchase behaviors. \n\nThis synthetic dataset presents an exciting opportunity to explore questions such as: What are the most popular games among different user demographics? How do friendships impact game purchases? What common issues arise in support tickets, and how quickly are they resolved? By analyzing this data, developers can practice honing their skills in data manipulation, aggregation, and visualization, turning insights into actionable strategies.",
    "domain": "media",
    "shape": "hierarchical",
    "useCases": [
      "sql-practice",
      "teaching"
    ],
    "keywords": [
      "gaming",
      "community",
      "transactions",
      "support",
      "users",
      "games",
      "friendships"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "users": {
        "description": "This table contains information about users in the gaming community, including their registration details and preferences.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each user."
          },
          "username": {
            "kind": "fullName",
            "description": "The username chosen by the user."
          },
          "join_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-01-01",
            "description": "The date the user registered on the platform.",
            "nullable": true,
            "trend": "growing"
          },
          "email": {
            "kind": "email",
            "from": "username",
            "description": "The user's email address, linked to their username.",
            "nullable": true
          },
          "country": {
            "kind": "country",
            "description": "Country of residence of the user.",
            "nullable": true
          }
        }
      },
      "games": {
        "description": "This table catalogs games available in the community, including their genres and release dates.",
        "rows": 150,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each game."
          },
          "title": {
            "kind": "productName",
            "description": "Title of the game."
          },
          "genre": {
            "kind": "enum",
            "values": [
              "Action",
              "Adventure",
              "RPG",
              "Simulation",
              "Strategy"
            ],
            "description": "Genre classification of the game.",
            "weights": [
              5,
              3,
              2,
              1,
              1
            ]
          },
          "release_date": {
            "kind": "date",
            "from": "2015-01-01",
            "to": "2023-01-01",
            "description": "The release date of the game.",
            "nullable": true,
            "trend": "seasonal"
          }
        }
      },
      "transactions": {
        "description": "This table records transactions made by users for purchasing games and other in-game items.",
        "rows": {
          "per": "users",
          "via": "user_id",
          "min": 1,
          "max": 5,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each transaction."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "Identifier for the user making the transaction."
          },
          "game_id": {
            "kind": "fk",
            "ref": "games.id",
            "description": "Identifier for the game being purchased."
          },
          "transaction_date": {
            "kind": "datetime",
            "from": "2022-01-01",
            "to": "2023-01-01",
            "description": "The date and time of the transaction.",
            "dayProfile": "waking"
          },
          "amount": {
            "kind": "decimal",
            "min": 0.99,
            "max": 59.99,
            "scale": 2,
            "description": "Total amount for the transaction.",
            "nullable": true,
            "distribution": "long-tail"
          }
        }
      },
      "support_tickets": {
        "description": "This table tracks support tickets submitted by users to address issues or inquiries.",
        "rows": {
          "per": "users",
          "via": "user_id",
          "min": 0,
          "max": 3,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each support ticket."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "Identifier for the user who submitted the ticket."
          },
          "created_at": {
            "kind": "datetime",
            "from": "2022-01-01",
            "to": "2023-01-01",
            "description": "The date and time when the ticket was created.",
            "nullable": true,
            "dayProfile": "business"
          },
          "issue_type": {
            "kind": "enum",
            "values": [
              "Technical",
              "Billing",
              "General Inquiry"
            ],
            "description": "Type of issue reported in the ticket.",
            "nullable": true,
            "when": {
              "column": "status",
              "in": [
                "Open",
                "Pending"
              ]
            },
            "weights": [
              6,
              2,
              2
            ]
          },
          "status": {
            "kind": "enum",
            "values": [
              "Open",
              "Closed",
              "Pending"
            ],
            "description": "Current status of the support ticket.",
            "nullable": true,
            "when": {
              "column": "issue_type",
              "in": [
                "Technical",
                "Billing"
              ]
            },
            "weights": [
              8,
              3,
              1
            ]
          }
        }
      },
      "friendships": {
        "description": "This table captures friendships between users, highlighting social interactions within the community.",
        "rows": {
          "per": "users",
          "via": "user_id",
          "min": 0,
          "max": 5,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each friendship."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "Identifier for the user who initiated the friendship."
          },
          "friend_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "Identifier for the user who is the friend."
          },
          "created_at": {
            "kind": "datetime",
            "from": "2020-01-01",
            "to": "2023-01-01",
            "description": "The date and time when the friendship was established.",
            "dayProfile": "waking"
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "categorical",
      "nullable",
      "timestamped",
      "high-cardinality"
    ],
    "analysisQuestions": [
      "What are the most popular game genres among users?",
      "How do transaction amounts vary by user country?",
      "What common issues do users report in support tickets?",
      "How does the number of friendships correlate with user activity?",
      "What trends can be observed in transaction dates over the year?"
    ],
    "suggestedQueries": [
      {
        "title": "Retrieve all transactions for a user",
        "sql": "SELECT * FROM transactions WHERE user_id = 1;",
        "dialect": "postgres"
      },
      {
        "title": "Count the number of support tickets by status",
        "sql": "SELECT status, COUNT(*) FROM support_tickets GROUP BY status;",
        "dialect": "postgres"
      },
      {
        "title": "Find the average transaction amount per game",
        "sql": "SELECT game_id, AVG(amount) FROM transactions GROUP BY game_id;",
        "dialect": "postgres"
      },
      {
        "title": "List users and their friends",
        "sql": "SELECT u.username, f.friend_id FROM users u JOIN friendships f ON u.id = f.user_id;",
        "dialect": "postgres"
      },
      {
        "title": "Get the total number of transactions per user for a given month",
        "sql": "SELECT user_id, COUNT(*) FROM transactions WHERE transaction_date BETWEEN '2022-01-01' AND '2022-01-31' GROUP BY user_id;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "SQL Practice for Data Analysts",
        "body": "Data analysts can utilize this dataset to practice SQL skills by querying user activity, transaction patterns, and support interactions. By engaging with various queries, they can develop proficiency in handling relational databases and gain insights into users' behaviors within the gaming community."
      },
      {
        "title": "Teaching Database Management",
        "body": "Educators can use this dataset as a teaching tool in database management courses. It provides a practical example of how to structure hierarchical data and demonstrate relationships between tables, enabling students to learn about foreign keys, joins, and data integrity in a real-world context."
      },
      {
        "title": "Understanding Gaming Community Dynamics",
        "body": "Researchers interested in gaming communities can leverage this dataset to analyze user engagement, friendship dynamics, and support ticket trends. By examining correlations between user interactions and transaction behaviors, they can better understand the social fabric of gaming communities."
      },
      {
        "title": "Game Development Insights",
        "body": "Game developers can use this dataset to gain insights into user preferences and behaviors regarding game purchases and support needs. Understanding these patterns can guide developers in creating more engaging content and improving user experiences based on actual community data."
      }
    ]
  },
  "counts": {
    "games": 150,
    "users": 200,
    "friendships": 310,
    "support_tickets": 185,
    "transactions": 427
  },
  "stats": {
    "users": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "username": {
          "nulls": 0,
          "distinct": 197,
          "min": "Alice Adams",
          "max": "Zoe Patel"
        },
        "join_date": {
          "nulls": 23,
          "distinct": 167,
          "min": "2020-01-02",
          "max": "2023-01-01"
        },
        "email": {
          "nulls": 26,
          "distinct": 173
        },
        "country": {
          "nulls": 19,
          "distinct": 42,
          "min": "Argentina",
          "max": "United States"
        }
      }
    },
    "games": {
      "rows": 150,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 150,
          "min": 1,
          "max": 150
        },
        "title": {
          "nulls": 0,
          "distinct": 136,
          "min": "Classic Blender",
          "max": "Wireless Tent"
        },
        "genre": {
          "nulls": 0,
          "distinct": 5,
          "min": "Action",
          "max": "Strategy"
        },
        "release_date": {
          "nulls": 22,
          "distinct": 125,
          "min": "2015-01-12",
          "max": "2022-12-20"
        }
      }
    },
    "transactions": {
      "rows": 427,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 427,
          "min": 1,
          "max": 427
        },
        "user_id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "game_id": {
          "nulls": 0,
          "distinct": 139,
          "min": 1,
          "max": 150
        },
        "transaction_date": {
          "nulls": 0,
          "distinct": 427,
          "min": "2022-01-01 08:23:43",
          "max": "2023-01-01 19:35:27"
        },
        "amount": {
          "nulls": 42,
          "distinct": 368,
          "min": 0.99,
          "max": 59.96
        }
      }
    },
    "support_tickets": {
      "rows": 185,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 185,
          "min": 1,
          "max": 185
        },
        "user_id": {
          "nulls": 0,
          "distinct": 96,
          "min": 2,
          "max": 199
        },
        "created_at": {
          "nulls": 21,
          "distinct": 164,
          "min": "2022-01-01 13:48:25",
          "max": "2022-12-25 11:43:13"
        },
        "issue_type": {
          "nulls": 185,
          "distinct": 0
        },
        "status": {
          "nulls": 185,
          "distinct": 0
        }
      }
    },
    "friendships": {
      "rows": 310,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 310,
          "min": 1,
          "max": 310
        },
        "user_id": {
          "nulls": 0,
          "distinct": 114,
          "min": 1,
          "max": 196
        },
        "friend_id": {
          "nulls": 0,
          "distinct": 159,
          "min": 1,
          "max": 200
        },
        "created_at": {
          "nulls": 0,
          "distinct": 310,
          "min": "2020-01-04 05:47:41",
          "max": "2022-12-31 08:04:27"
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/games.csv",
      "format": "csv",
      "table": "games",
      "key": "datasets/gaming-community-insights/v3/csv/games.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/gaming-community-insights/v3/csv/games.csv",
      "bytes": 5485,
      "sha256": "63e28f0038a7b002baaef9a5548ec025e4c32febb63445fe8a588fac1e5f2f2e",
      "rows": 150,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/users.csv",
      "format": "csv",
      "table": "users",
      "key": "datasets/gaming-community-insights/v3/csv/users.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/gaming-community-insights/v3/csv/users.csv",
      "bytes": 11158,
      "sha256": "af4ada9282ed923e0f20aa118c8a20b471b148e7193811945f9d013cbf9423a5",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/friendships.csv",
      "format": "csv",
      "table": "friendships",
      "key": "datasets/gaming-community-insights/v3/csv/friendships.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/gaming-community-insights/v3/csv/friendships.csv",
      "bytes": 9765,
      "sha256": "067ba9d43565acac67f550ddcd0f00aa91c370e2b52bff5b0dbe5f7c6184a4ae",
      "rows": 310,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/support_tickets.csv",
      "format": "csv",
      "table": "support_tickets",
      "key": "datasets/gaming-community-insights/v3/csv/support_tickets.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/gaming-community-insights/v3/csv/support_tickets.csv",
      "bytes": 5178,
      "sha256": "8c2b8ac69aef2e9ab663a8d2e009e360d479984b9ee8c30de5caff74cbea9e87",
      "rows": 185,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/transactions.csv",
      "format": "csv",
      "table": "transactions",
      "key": "datasets/gaming-community-insights/v3/csv/transactions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/gaming-community-insights/v3/csv/transactions.csv",
      "bytes": 15693,
      "sha256": "5fd5f2a33a6625be6e275ba746c60cadb5eb09fa38f6fcc0b0e4cb4eb0b63122",
      "rows": 427,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "gaming-community-insights.json",
      "format": "json",
      "table": null,
      "key": "datasets/gaming-community-insights/v3/gaming-community-insights.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/gaming-community-insights/v3/gaming-community-insights.json",
      "bytes": 173451,
      "sha256": "1a3f76eb33630d7a264998f1bed77c2f2d85df551c518ce213fb458a3c817cce",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/gaming-community-insights/v3/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/gaming-community-insights/v3/sql/postgres.sql",
      "bytes": 68667,
      "sha256": "8e878f89043c7e28017f2ae9aa2c960fe3b598c118b1725eba7fa2bf3239ab8a",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/gaming-community-insights/v3/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/gaming-community-insights/v3/sql/mysql.sql",
      "bytes": 68097,
      "sha256": "8b56c86e3f4d2a9fa98da94ccbdbe3e27eeca669ce5aeea4b589be0f02bb8e9f",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/gaming-community-insights/v3/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/gaming-community-insights/v3/sql/mssql.sql",
      "bytes": 70489,
      "sha256": "0f4634a065ea6022972396e75d0fb3ae2a84d71eee87991dd1550b8527ede6af",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/gaming-community-insights/v3/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/gaming-community-insights/v3/sql/sqlite.sql",
      "bytes": 67839,
      "sha256": "21e43db8361e71ad479612daac00be3ca6516ea9d4cb18b37b63804d51f9f851",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/gaming-community-insights/v3/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/gaming-community-insights/v3/prisma/seed.ts",
      "bytes": 142994,
      "sha256": "ad58c316f981820270800b57d658284ff838a0a3e968251411468c690d6466a3",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/gaming-community-insights/v3/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/gaming-community-insights/v3/django/fixtures.json",
      "bytes": 228745,
      "sha256": "85fa1d41a6e72df4c685e148c0db84b045d11be5555d8788d709a380319e72a4",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788768614661,
  "updatedAt": 1788784134250
}
