{
  "format": "dataset-manifest/1",
  "slug": "ai-powered-portrait-enhancer",
  "version": 4,
  "seed": "ai-powered-portrait-enhancer:1",
  "engine": 1,
  "engineVersion": "1.0.0",
  "spec": {
    "format": "dataset/1",
    "slug": "ai-powered-portrait-enhancer",
    "name": "Portrait Enhancement Insights",
    "tagline": "User engagement metrics, enhancement feedback, and support queries related to AI-driven digital identity tools.",
    "description": "Users interact with AI-driven tools to enhance their digital identities within the fintech space, leveraging advanced technology to improve their online portraits for various applications. These enhancements not only transform how users present themselves but also influence engagement metrics, support queries, and sharing behaviors across the platform. Users of the application frequently engage with enhancement features, providing feedback that helps refine the tools available to them. The data reveals patterns in user interactions, highlighting how certain presets and backgrounds are favored while less common features are rarely utilized.\n\nThe dataset consists of several interconnected tables. The 'users' table captures individual user profiles, detailing their unique characteristics and preferences. The 'engagements' table records interactions users have with the enhancement tools, tracking their activity and level of satisfaction. 'Enhancements' store information about the various features available for modifying user images. 'Support_queries' document issues users face, offering insights into common challenges related to image processing. The 'shared_portraits' table tracks which enhanced images are shared and in what context, while 'enhancement_presets' provides a list of preset options available for users to choose from when modifying their portraits.\n\nBy analyzing these tables, developers can answer questions related to user behavior and preferences, such as which enhancement features are most popular or what types of support queries arise most frequently. This dataset is particularly valuable for practicing data analysis, as it allows for exploration of user engagement trends and the effectiveness of different enhancement tools. Keep in mind that the data is synthetic, designed to mimic real-world interactions without containing actual user information.",
    "domain": "fintech",
    "shape": "ledger",
    "useCases": [
      "sql-practice",
      "teaching"
    ],
    "keywords": [
      "AI",
      "portrait enhancement",
      "user engagement",
      "feedback",
      "fintech",
      "image processing",
      "datasets"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "users": {
        "description": "This table contains details about users who utilize the portrait enhancement features. Each user can engage with multiple enhancement sessions, providing insights into their preferences and behaviors.",
        "rows": 200,
        "columns": {
          "user_id": {
            "kind": "pk",
            "description": "Unique identifier for each user."
          },
          "full_name": {
            "kind": "fullName",
            "description": "The full name of the user.",
            "nullable": true
          },
          "email": {
            "kind": "email",
            "from": "full_name",
            "description": "The user's email address.",
            "nullable": true
          },
          "join_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-10-01",
            "description": "The date the user joined the platform."
          }
        }
      },
      "engagements": {
        "description": "This table records the engagement sessions of users with the portrait enhancement features, capturing their interactions and preferences.",
        "rows": {
          "per": "users",
          "via": "user_id",
          "min": 1,
          "max": 5,
          "skew": "long-tail"
        },
        "columns": {
          "engagement_id": {
            "kind": "pk",
            "description": "Unique identifier for each engagement session."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.user_id",
            "description": "Reference to the user who engaged with the enhancement features."
          },
          "engagement_date": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-10-01",
            "dayProfile": "business",
            "description": "The date and time of the engagement."
          },
          "feedback_score": {
            "kind": "int",
            "min": 1,
            "max": 5,
            "description": "User feedback score for the enhancement session.",
            "nullable": true,
            "distribution": "high"
          },
          "session_duration_minutes": {
            "kind": "int",
            "min": 1,
            "max": 120,
            "distribution": "normal",
            "description": "Duration of the engagement session in minutes."
          },
          "device_type": {
            "kind": "enum",
            "values": [
              "mobile",
              "desktop",
              "tablet"
            ],
            "weights": [
              50,
              30,
              20
            ],
            "description": "Type of device used for the engagement."
          }
        }
      },
      "enhancements": {
        "description": "This table lists the different enhancement features available for users, along with their popularity and usage statistics.",
        "rows": 30,
        "columns": {
          "enhancement_id": {
            "kind": "pk",
            "description": "Unique identifier for each enhancement feature."
          },
          "enhancement_name": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "The name of the enhancement feature.",
            "pool": [
              "brightness",
              "contrast",
              "saturation",
              "sharpness",
              "vibrance",
              "filter",
              "tone",
              "exposure",
              "clarity",
              "warmth",
              "fade",
              "highlight",
              "shadow",
              "texture",
              "color",
              "style",
              "depth",
              "focus",
              "crop",
              "frame"
            ]
          },
          "usage_count": {
            "kind": "int",
            "min": 0,
            "max": 500,
            "description": "The number of times this enhancement has been used.",
            "nullable": true,
            "distribution": "long-tail"
          },
          "average_rating": {
            "kind": "decimal",
            "min": 1,
            "max": 5,
            "scale": 1,
            "description": "Average user rating for the enhancement feature.",
            "nullable": true,
            "distribution": "high"
          }
        }
      },
      "support_queries": {
        "description": "This table contains records of support queries submitted by users related to the portrait enhancement features.",
        "rows": {
          "per": "users",
          "via": "user_id",
          "min": 0,
          "max": 3,
          "skew": "long-tail"
        },
        "columns": {
          "query_id": {
            "kind": "pk",
            "description": "Unique identifier for each support query."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.user_id",
            "description": "Reference to the user who submitted the query."
          },
          "query_date": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-10-01",
            "dayProfile": "business",
            "description": "The date and time the support query was submitted."
          },
          "query_text": {
            "kind": "sentence",
            "min": 10,
            "max": 200,
            "description": "The text of the support query submitted by the user.",
            "nullable": true
          },
          "query_type": {
            "kind": "enum",
            "values": [
              "technical",
              "billing",
              "general"
            ],
            "weights": [
              40,
              30,
              30
            ],
            "description": "Type of support query submitted by the user."
          },
          "response_time_minutes": {
            "kind": "int",
            "min": 1,
            "max": 1440,
            "distribution": "normal",
            "description": "Time taken to respond to the support query in minutes."
          }
        }
      },
      "shared_portraits": {
        "description": "This table tracks the portraits shared by users, including details about the enhancements applied and the galleries where they were shared.",
        "rows": {
          "per": "engagements",
          "via": "engagement_id",
          "min": 1,
          "max": 3,
          "skew": "long-tail"
        },
        "columns": {
          "share_id": {
            "kind": "pk",
            "description": "Unique identifier for each shared portrait."
          },
          "engagement_id": {
            "kind": "fk",
            "ref": "engagements.engagement_id",
            "description": "Reference to the engagement session during which the portrait was shared."
          },
          "gallery_name": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "The name of the gallery where the portrait was shared.",
            "nullable": true,
            "pool": [
              "nature",
              "urban",
              "abstract",
              "portraiture",
              "landscape",
              "monochrome",
              "vintage",
              "modern",
              "classic",
              "artistic",
              "exhibition",
              "showcase",
              "collection",
              "gallery",
              "studio",
              "display",
              "canvas",
              "mosaic",
              "theme",
              "series"
            ]
          },
          "share_date": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-10-01",
            "dayProfile": "business",
            "description": "The date and time the portrait was shared."
          },
          "enhancement_type": {
            "kind": "enum",
            "values": [
              "basic",
              "advanced",
              "premium"
            ],
            "weights": [
              50,
              30,
              20
            ],
            "description": "Type of enhancement applied to the shared portrait."
          },
          "share_platform": {
            "kind": "enum",
            "values": [
              "social media",
              "email",
              "direct link"
            ],
            "weights": [
              50,
              30,
              20
            ],
            "description": "Platform used to share the portrait."
          }
        }
      },
      "enhancement_presets": {
        "description": "This table includes the presets applied to portraits during enhancement, detailing their characteristics and user preferences.",
        "rows": 50,
        "columns": {
          "preset_id": {
            "kind": "pk",
            "description": "Unique identifier for each enhancement preset."
          },
          "preset_name": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "The name of the enhancement preset.",
            "pool": [
              "default",
              "vivid",
              "soft",
              "dramatic",
              "natural",
              "film",
              "portrait",
              "landscape",
              "night",
              "daylight",
              "warm",
              "cool",
              "vintage",
              "modern",
              "artistic",
              "high-contrast",
              "low-key",
              "bright",
              "muted",
              "enhanced"
            ]
          },
          "popularity_score": {
            "kind": "int",
            "min": 1,
            "max": 100,
            "description": "Score indicating the popularity of the preset among users.",
            "distribution": "high"
          },
          "preset_category": {
            "kind": "enum",
            "values": [
              "portrait",
              "landscape",
              "abstract"
            ],
            "weights": [
              40,
              40,
              20
            ],
            "description": "Category of the enhancement preset."
          },
          "preset_effectiveness_score": {
            "kind": "decimal",
            "min": 1,
            "max": 5,
            "scale": 1,
            "distribution": "normal",
            "description": "Effectiveness score of the preset based on user feedback."
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "categorical",
      "nullable",
      "timestamped"
    ],
    "analysisQuestions": [
      "What are the most popular enhancement features among users?",
      "How does user feedback vary across different engagement sessions?",
      "Which galleries are most frequently used for sharing enhanced portraits?",
      "What common issues do users report in their support queries?",
      "How do different presets affect user engagement scores?"
    ],
    "suggestedQueries": [
      {
        "title": "Join Users and Engagements",
        "sql": "SELECT users.full_name, engagements.engagement_date FROM users JOIN engagements ON users.user_id = engagements.user_id;",
        "dialect": "postgres"
      },
      {
        "title": "Average Feedback Score by Enhancement",
        "sql": "SELECT enhancements.enhancement_name, AVG(engagements.feedback_score) AS average_score FROM enhancements JOIN engagements ON enhancements.enhancement_id = engagements.engagement_id GROUP BY enhancements.enhancement_name;",
        "dialect": "postgres"
      },
      {
        "title": "Support Queries Count by User",
        "sql": "SELECT users.full_name, COUNT(support_queries.query_id) AS query_count FROM users LEFT JOIN support_queries ON users.user_id = support_queries.user_id GROUP BY users.full_name;",
        "dialect": "postgres"
      },
      {
        "title": "Popular Presets Usage",
        "sql": "SELECT enhancement_presets.preset_name, SUM(engagements.feedback_score) AS total_feedback FROM enhancement_presets JOIN engagements ON enhancement_presets.preset_id = engagements.engagement_id GROUP BY enhancement_presets.preset_name ORDER BY total_feedback DESC;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Data Analysis for AI Developers",
        "body": "AI developers can use this dataset to analyze user engagement patterns with portrait enhancement features. By querying the data, they can identify which features are most appreciated by users, which can inform future development and optimization of enhancement tools."
      },
      {
        "title": "Teaching SQL to Students",
        "body": "Educators can leverage this dataset for teaching SQL to students. The variety of tables and relationships provides ample opportunity for students to practice writing complex queries, joins, and aggregations, enhancing their understanding of database management."
      },
      {
        "title": "Customer Support Insights",
        "body": "Customer support teams can utilize this dataset to gain insights into common user issues and feedback. By analyzing support queries, they can identify trends and improve their response strategies, ultimately enhancing user satisfaction."
      },
      {
        "title": "Enhancement Feature Evaluation",
        "body": "Marketing professionals can analyze the dataset to evaluate the success of various enhancement features. By examining user feedback and engagement scores, they can better understand user preferences and tailor marketing strategies accordingly."
      }
    ]
  },
  "counts": {
    "enhancement_presets": 50,
    "enhancements": 30,
    "users": 200,
    "engagements": 472,
    "shared_portraits": 749,
    "support_queries": 175
  },
  "stats": {
    "users": {
      "rows": 200,
      "columns": {
        "user_id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "full_name": {
          "nulls": 16,
          "distinct": 181,
          "min": "Alice Patel",
          "max": "Zoe Fischer"
        },
        "email": {
          "nulls": 28,
          "distinct": 172
        },
        "join_date": {
          "nulls": 0,
          "distinct": 183,
          "min": "2020-01-05",
          "max": "2023-09-30"
        }
      }
    },
    "engagements": {
      "rows": 472,
      "columns": {
        "engagement_id": {
          "nulls": 0,
          "distinct": 472,
          "min": 1,
          "max": 472
        },
        "user_id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "engagement_date": {
          "nulls": 0,
          "distinct": 472,
          "min": "2023-01-01 16:58:10",
          "max": "2023-09-30 13:54:35"
        },
        "feedback_score": {
          "nulls": 50,
          "distinct": 5,
          "min": 1,
          "max": 5
        },
        "session_duration_minutes": {
          "nulls": 0,
          "distinct": 78,
          "min": 16,
          "max": 107
        },
        "device_type": {
          "nulls": 0,
          "distinct": 3,
          "min": "desktop",
          "max": "tablet"
        }
      }
    },
    "enhancements": {
      "rows": 30,
      "columns": {
        "enhancement_id": {
          "nulls": 0,
          "distinct": 30,
          "min": 1,
          "max": 30
        },
        "enhancement_name": {
          "nulls": 0,
          "distinct": 30
        },
        "usage_count": {
          "nulls": 5,
          "distinct": 23,
          "min": 0,
          "max": 488
        },
        "average_rating": {
          "nulls": 2,
          "distinct": 21,
          "min": 1,
          "max": 5
        }
      }
    },
    "support_queries": {
      "rows": 175,
      "columns": {
        "query_id": {
          "nulls": 0,
          "distinct": 175,
          "min": 1,
          "max": 175
        },
        "user_id": {
          "nulls": 0,
          "distinct": 97,
          "min": 3,
          "max": 199
        },
        "query_date": {
          "nulls": 0,
          "distinct": 175,
          "min": "2023-01-01 14:20:22",
          "max": "2023-09-30 13:27:51"
        },
        "query_text": {
          "nulls": 20,
          "distinct": 154
        },
        "query_type": {
          "nulls": 0,
          "distinct": 3,
          "min": "billing",
          "max": "technical"
        },
        "response_time_minutes": {
          "nulls": 0,
          "distinct": 159,
          "min": 160,
          "max": 1242
        }
      }
    },
    "shared_portraits": {
      "rows": 749,
      "columns": {
        "share_id": {
          "nulls": 0,
          "distinct": 749,
          "min": 1,
          "max": 749
        },
        "engagement_id": {
          "nulls": 0,
          "distinct": 472,
          "min": 1,
          "max": 472
        },
        "gallery_name": {
          "nulls": 73,
          "distinct": 401
        },
        "share_date": {
          "nulls": 0,
          "distinct": 749,
          "min": "2023-01-02 11:48:41",
          "max": "2023-10-01 14:00:44"
        },
        "enhancement_type": {
          "nulls": 0,
          "distinct": 3,
          "min": "advanced",
          "max": "premium"
        },
        "share_platform": {
          "nulls": 0,
          "distinct": 3,
          "min": "direct link",
          "max": "social media"
        }
      }
    },
    "enhancement_presets": {
      "rows": 50,
      "columns": {
        "preset_id": {
          "nulls": 0,
          "distinct": 50,
          "min": 1,
          "max": 50
        },
        "preset_name": {
          "nulls": 0,
          "distinct": 43
        },
        "popularity_score": {
          "nulls": 0,
          "distinct": 34,
          "min": 1,
          "max": 100
        },
        "preset_category": {
          "nulls": 0,
          "distinct": 3,
          "min": "abstract",
          "max": "portrait"
        },
        "preset_effectiveness_score": {
          "nulls": 0,
          "distinct": 18,
          "min": 1.9,
          "max": 3.8
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/enhancement_presets.csv",
      "format": "csv",
      "table": "enhancement_presets",
      "key": "datasets/ai-powered-portrait-enhancer/v4/csv/enhancement_presets.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-portrait-enhancer/v4/csv/enhancement_presets.csv",
      "bytes": 1856,
      "sha256": "01151d43272333473672a9391a7efbf55172f2e1da24ee6b974211a74bcb52bf",
      "rows": 50,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/enhancements.csv",
      "format": "csv",
      "table": "enhancements",
      "key": "datasets/ai-powered-portrait-enhancer/v4/csv/enhancements.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-portrait-enhancer/v4/csv/enhancements.csv",
      "bytes": 841,
      "sha256": "429b1a5379a0ead28a70f14f9de3170cb8443ea86f4600324e20e10a1e8a96d4",
      "rows": 30,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/users.csv",
      "format": "csv",
      "table": "users",
      "key": "datasets/ai-powered-portrait-enhancer/v4/csv/users.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-portrait-enhancer/v4/csv/users.csv",
      "bytes": 9537,
      "sha256": "a7e2e652b2ad167f29265686f3b2f7ae52f5d2ca20fa2be779861ed90a27c2df",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/engagements.csv",
      "format": "csv",
      "table": "engagements",
      "key": "datasets/ai-powered-portrait-enhancer/v4/csv/engagements.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-portrait-enhancer/v4/csv/engagements.csv",
      "bytes": 19201,
      "sha256": "a496a0f2c26e6f94ba6073e4742b0df505c9d65431a856f6f8da0da62b580fa9",
      "rows": 472,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/shared_portraits.csv",
      "format": "csv",
      "table": "shared_portraits",
      "key": "datasets/ai-powered-portrait-enhancer/v4/csv/shared_portraits.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-portrait-enhancer/v4/csv/shared_portraits.csv",
      "bytes": 46182,
      "sha256": "412dd39a2c55d6e4c1078af30f11a496fa5f7c0d5d04a71f8427cbd25a2ca333",
      "rows": 749,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/support_queries.csv",
      "format": "csv",
      "table": "support_queries",
      "key": "datasets/ai-powered-portrait-enhancer/v4/csv/support_queries.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-portrait-enhancer/v4/csv/support_queries.csv",
      "bytes": 17058,
      "sha256": "e3bc50f07c2c1da7bf08b99e587634a67872485423874a20a6418192b856bf65",
      "rows": 175,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "ai-powered-portrait-enhancer.json",
      "format": "json",
      "table": null,
      "key": "datasets/ai-powered-portrait-enhancer/v4/ai-powered-portrait-enhancer.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-portrait-enhancer/v4/ai-powered-portrait-enhancer.json",
      "bytes": 345975,
      "sha256": "cfcced9582fb55961f55490d7f3ca48c73e16f0dcf79ee28512cb369ee36af29",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/ai-powered-portrait-enhancer/v4/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-portrait-enhancer/v4/sql/postgres.sql",
      "bytes": 127388,
      "sha256": "1e7314f2cd0338b9225b811f61a1dcf0de4f0ddd22fbd1e2e532ebae7940ea66",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/ai-powered-portrait-enhancer/v4/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-portrait-enhancer/v4/sql/mysql.sql",
      "bytes": 126560,
      "sha256": "de9be9c81abd81a25b8a733411e969217d332312dfa8a7315086bfed86a1b990",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/ai-powered-portrait-enhancer/v4/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-portrait-enhancer/v4/sql/mssql.sql",
      "bytes": 132066,
      "sha256": "91d4584485ae6104b9a0c2dd379702139a821a3bb60b47bad5a6cb36ea3e70d4",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/ai-powered-portrait-enhancer/v4/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-portrait-enhancer/v4/sql/sqlite.sql",
      "bytes": 126344,
      "sha256": "5a626876e04f3c66c1249b576a8dfabeaa4478af318beeb81de8f7816512c6df",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/ai-powered-portrait-enhancer/v4/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-portrait-enhancer/v4/prisma/seed.ts",
      "bytes": 292938,
      "sha256": "3dfdfb651c52f6bdbc00f9f7607cad4dc28d3c439f2666fa4b8c96eb95733de2",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/ai-powered-portrait-enhancer/v4/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/ai-powered-portrait-enhancer/v4/django/fixtures.json",
      "bytes": 412067,
      "sha256": "5dca5ddfedab0853d11c7878ac997b5d72da58ccf0c933b45a2657fcc62893c2",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788767377226,
  "updatedAt": 1789095617785
}
