{
  "format": "dataset-manifest/1",
  "slug": "audio-interaction-insights",
  "version": 1,
  "seed": "audio-interaction-insights:1",
  "spec": {
    "format": "dataset/1",
    "slug": "audio-interaction-insights",
    "name": "Audio Interaction Insights",
    "tagline": "User profiles, devices, audio preferences, and interactions with smart audio solutions.",
    "description": "Users interact seamlessly with smart audio solutions, customizing their listening experiences through a variety of controls and features. Their profiles, connections to devices, and unique audio preferences shape how they engage with the technology. Interactions include adjustments to equalizer settings, selection of noise control modes, and implementation of gesture actions. As users navigate through different voice assistants and smart actions, they contribute to a dynamic landscape of audio preferences influenced by firmware updates and historical data on device performance. \n\nIn this dataset, the 'users' table represents individual profiles with unique identifiers, linked to their respective 'devices', which catalog the smart audio hardware they utilize. The 'audio_preferences' table holds specific user settings for sound customization, while the 'interactions' table records the frequency and type of adjustments made by users. Each user can switch between various 'voice_assistants', which are detailed in their own table, showcasing the diversity of technologies employed. Meanwhile, 'usage_statistics' aggregates data to illustrate overall user engagement patterns, revealing insights into how frequently specific features are accessed and utilized. \n\nThis rich dataset allows for exploration of various questions, such as what audio features are most popular, how often users update their preferences, or which voice assistant is favored. Practicing on this synthetic data can enhance skills in analyzing user behavior, understanding device interactions, and uncovering trends in audio usage. By examining this dataset, developers can gain valuable insights into how users engage with smart audio technology and refine their analytical prowess.",
    "domain": "iot",
    "shape": "graph-edges",
    "useCases": [
      "sql-practice",
      "teaching"
    ],
    "keywords": [
      "audio",
      "interaction",
      "user preferences",
      "smart devices",
      "IoT",
      "equalizer",
      "noise control",
      "voice assistant",
      "firmware",
      "analytics"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "users": {
        "description": "This table holds user profile information, including their unique identifiers and preferences.",
        "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": "Country of residence."
          },
          "preferred_voice_assistant": {
            "kind": "enum",
            "values": [
              "Siri",
              "Google Assistant",
              "Alexa"
            ],
            "description": "User's preferred voice assistant."
          }
        }
      },
      "devices": {
        "description": "This table contains information about the devices used by users, linked to user profiles.",
        "rows": 300,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each device."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "Reference to the user who owns the device."
          },
          "device_name": {
            "kind": "productName",
            "description": "Name of the audio device."
          },
          "firmware_version": {
            "kind": "words",
            "description": "Current firmware version of the device."
          },
          "last_update": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Date of the last firmware update.",
            "trend": "growing"
          }
        }
      },
      "audio_preferences": {
        "description": "This table captures users' audio preferences, including equalizer settings and noise control modes.",
        "rows": 250,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each audio preference entry."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "Reference to the user whose preferences are recorded."
          },
          "equalizer_setting": {
            "kind": "words",
            "description": "Custom equalizer setting name."
          },
          "noise_control_mode": {
            "kind": "enum",
            "values": [
              "Off",
              "Low",
              "Medium",
              "High"
            ],
            "description": "Selected noise control mode."
          },
          "hearing_test_completed": {
            "kind": "bool",
            "description": "Indicates if the user has completed a hearing test."
          }
        }
      },
      "interactions": {
        "description": "This table logs user interactions with their devices, detailing the actions performed.",
        "rows": 500,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each interaction."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "Reference to the user performing the interaction."
          },
          "device_id": {
            "kind": "fk",
            "ref": "devices.id",
            "description": "Reference to the device used during the interaction."
          },
          "action": {
            "kind": "enum",
            "values": [
              "Adjust Equalizer",
              "Change Noise Control",
              "Activate Voice Assistant"
            ],
            "description": "Type of action performed by the user."
          },
          "timestamp": {
            "kind": "datetime",
            "from": "2022-01-01",
            "to": "2023-12-31",
            "description": "Date and time when the interaction occurred.",
            "dayProfile": "waking"
          }
        }
      },
      "voice_assistants": {
        "description": "This table provides details about voice assistants that users can switch between during interactions.",
        "rows": 150,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each voice assistant."
          },
          "name": {
            "kind": "enum",
            "values": [
              "Siri",
              "Google Assistant",
              "Alexa"
            ],
            "description": "Name of the voice assistant."
          },
          "activation_command": {
            "kind": "words",
            "description": "Voice command to activate the assistant."
          }
        }
      },
      "usage_statistics": {
        "description": "This table captures aggregated statistics on how users interact with various features.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each usage statistic record."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "Reference to the user whose statistics are recorded."
          },
          "feature": {
            "kind": "enum",
            "values": [
              "Equalizer",
              "Noise Control",
              "Voice Assistant"
            ],
            "description": "The feature being used."
          },
          "interaction_count": {
            "kind": "int",
            "min": 1,
            "max": 1000,
            "description": "Number of interactions with the feature."
          },
          "last_used": {
            "kind": "date",
            "from": "2022-01-01",
            "to": "2023-12-31",
            "description": "Date when the feature was last used.",
            "trend": "growing"
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "categorical",
      "nullable",
      "timestamped",
      "high-cardinality"
    ],
    "analysisQuestions": [
      "What are the most popular noise control modes among users?",
      "How often do users switch between different voice assistants?",
      "Which equalizer settings are most commonly adjusted?",
      "What is the relationship between firmware updates and user interaction frequency?",
      "How many users actively engage in hearing tests compared to those who do not?"
    ],
    "suggestedQueries": [
      {
        "title": "List all users and their preferred voice assistants",
        "sql": "SELECT full_name, preferred_voice_assistant FROM users;",
        "dialect": "postgres"
      },
      {
        "title": "Count interactions by action type",
        "sql": "SELECT action, COUNT(*) FROM interactions GROUP BY action;",
        "dialect": "postgres"
      },
      {
        "title": "Find users who have completed hearing tests",
        "sql": "SELECT full_name FROM users JOIN audio_preferences ON users.id = audio_preferences.user_id WHERE hearing_test_completed = TRUE;",
        "dialect": "postgres"
      },
      {
        "title": "Get average interaction counts for each feature",
        "sql": "SELECT feature, AVG(interaction_count) FROM usage_statistics GROUP BY feature;",
        "dialect": "postgres"
      },
      {
        "title": "Analyze interactions by device and time",
        "sql": "SELECT device_id, COUNT(*) FROM interactions WHERE timestamp > NOW() - INTERVAL '30 days' GROUP BY device_id;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Teaching Data Relationships",
        "body": "In a classroom setting, educators can utilize this dataset to demonstrate how to model relationships between user profiles, devices, and their interactions. Students can learn how to perform joins and understand the importance of foreign keys in a multi-table setup."
      },
      {
        "title": "Developing Analytics Dashboards",
        "body": "Data analysts can use this dataset to create dashboards that visualize user engagement and preferences in smart audio solutions. By querying the data, they can identify trends and insights that inform product development and marketing strategies."
      },
      {
        "title": "Building SQL Practice Exercises",
        "body": "This dataset serves as a fantastic resource for developers looking to improve their SQL skills. They can practice writing complex queries involving joins, aggregations, and filtering, enhancing their ability to work with relational databases."
      },
      {
        "title": "Conducting User Behavior Analysis",
        "body": "Researchers can analyze the dataset to understand user behavior patterns in smart audio technology. By examining interactions with various features, they can identify opportunities for enhancing user experience and engagement."
      }
    ]
  },
  "counts": {
    "users": 200,
    "audio_preferences": 250,
    "devices": 300,
    "interactions": 500,
    "usage_statistics": 200,
    "voice_assistants": 150
  },
  "stats": {
    "users": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "full_name": {
          "nulls": 0,
          "distinct": 194,
          "min": "Alice Demir",
          "max": "Zoe Shah"
        },
        "age": {
          "nulls": 0,
          "distinct": 46,
          "min": 18,
          "max": 64
        },
        "country": {
          "nulls": 0,
          "distinct": 42,
          "min": "Argentina",
          "max": "United States"
        },
        "preferred_voice_assistant": {
          "nulls": 0,
          "distinct": 3,
          "min": "Alexa",
          "max": "Siri"
        }
      }
    },
    "devices": {
      "rows": 300,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 300,
          "min": 1,
          "max": 300
        },
        "user_id": {
          "nulls": 0,
          "distinct": 156,
          "min": 3,
          "max": 200
        },
        "device_name": {
          "nulls": 0,
          "distinct": 216,
          "min": "Classic Bottle",
          "max": "Wireless Watch"
        },
        "firmware_version": {
          "nulls": 0,
          "distinct": 300
        },
        "last_update": {
          "nulls": 0,
          "distinct": 271,
          "min": "2020-01-23",
          "max": "2023-12-27"
        }
      }
    },
    "audio_preferences": {
      "rows": 250,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 250,
          "min": 1,
          "max": 250
        },
        "user_id": {
          "nulls": 0,
          "distinct": 146,
          "min": 3,
          "max": 199
        },
        "equalizer_setting": {
          "nulls": 0,
          "distinct": 250
        },
        "noise_control_mode": {
          "nulls": 0,
          "distinct": 4,
          "min": "High",
          "max": "Off"
        },
        "hearing_test_completed": {
          "nulls": 0,
          "distinct": 2,
          "min": "false",
          "max": "true"
        }
      }
    },
    "interactions": {
      "rows": 500,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 500,
          "min": 1,
          "max": 500
        },
        "user_id": {
          "nulls": 0,
          "distinct": 185,
          "min": 1,
          "max": 200
        },
        "device_id": {
          "nulls": 0,
          "distinct": 242,
          "min": 1,
          "max": 300
        },
        "action": {
          "nulls": 0,
          "distinct": 3,
          "min": "Activate Voice Assistant",
          "max": "Change Noise Control"
        },
        "timestamp": {
          "nulls": 0,
          "distinct": 500,
          "min": "2022-01-01 16:43:25",
          "max": "2023-12-30 12:50:06"
        }
      }
    },
    "voice_assistants": {
      "rows": 150,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 150,
          "min": 1,
          "max": 150
        },
        "name": {
          "nulls": 0,
          "distinct": 3,
          "min": "Alexa",
          "max": "Siri"
        },
        "activation_command": {
          "nulls": 0,
          "distinct": 150
        }
      }
    },
    "usage_statistics": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "user_id": {
          "nulls": 0,
          "distinct": 128,
          "min": 1,
          "max": 200
        },
        "feature": {
          "nulls": 0,
          "distinct": 3,
          "min": "Equalizer",
          "max": "Voice Assistant"
        },
        "interaction_count": {
          "nulls": 0,
          "distinct": 179,
          "min": 2,
          "max": 997
        },
        "last_used": {
          "nulls": 0,
          "distinct": 171,
          "min": "2022-01-02",
          "max": "2023-12-30"
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/users.csv",
      "format": "csv",
      "table": "users",
      "key": "datasets/audio-interaction-insights/v1/csv/users.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/audio-interaction-insights/v1/csv/users.csv",
      "bytes": 7749,
      "sha256": "1b19a1cb674f5a848280ede065f17b0a7654fcdff508f3e526ad269a3d8da22a",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/audio_preferences.csv",
      "format": "csv",
      "table": "audio_preferences",
      "key": "datasets/audio-interaction-insights/v1/csv/audio_preferences.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/audio-interaction-insights/v1/csv/audio_preferences.csv",
      "bytes": 11377,
      "sha256": "b06b75af421adfba7de682106b9c10517b2a01effdc61f7abe5f10f7b6f30477",
      "rows": 250,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/devices.csv",
      "format": "csv",
      "table": "devices",
      "key": "datasets/audio-interaction-insights/v1/csv/devices.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/audio-interaction-insights/v1/csv/devices.csv",
      "bytes": 18164,
      "sha256": "d0cbba6ceb30f21c28ea083185f815f1ebd8d117f3fc3c0fbdfb400f3fb557c2",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/interactions.csv",
      "format": "csv",
      "table": "interactions",
      "key": "datasets/audio-interaction-insights/v1/csv/interactions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/audio-interaction-insights/v1/csv/interactions.csv",
      "bytes": 26381,
      "sha256": "e9fe5a9ae76e8d86f590a9e5609ee3e9f6058ca4dfb3fb87c07d32faf9f07e69",
      "rows": 500,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/usage_statistics.csv",
      "format": "csv",
      "table": "usage_statistics",
      "key": "datasets/audio-interaction-insights/v1/csv/usage_statistics.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/audio-interaction-insights/v1/csv/usage_statistics.csv",
      "bytes": 7267,
      "sha256": "25f8c4f8eeff482cb41d77aaafe87421c0e7bc68ae4418119eb939ff4739450d",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/voice_assistants.csv",
      "format": "csv",
      "table": "voice_assistants",
      "key": "datasets/audio-interaction-insights/v1/csv/voice_assistants.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/audio-interaction-insights/v1/csv/voice_assistants.csv",
      "bytes": 6059,
      "sha256": "44f01c8b992f78a64f4e5be75aaf09f4dd88ad737c72803c64057c687abfafe1",
      "rows": 150,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "audio-interaction-insights.json",
      "format": "json",
      "table": null,
      "key": "datasets/audio-interaction-insights/v1/audio-interaction-insights.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/audio-interaction-insights/v1/audio-interaction-insights.json",
      "bytes": 254853,
      "sha256": "43891358a60cb5bba01283bd85b5d50c66e33f9ab44740e16831af260dbf027b",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/audio-interaction-insights/v1/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/audio-interaction-insights/v1/sql/postgres.sql",
      "bytes": 103735,
      "sha256": "1ea1f02ddceb7e91d49b035124e8a9a540a6b1357c9ecb4ee6b6a132e2762789",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/audio-interaction-insights/v1/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/audio-interaction-insights/v1/sql/mysql.sql",
      "bytes": 102149,
      "sha256": "5e96221fa50137ab6903a9874b44c429a39dbda7ee6b68e1db94e676a7517431",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/audio-interaction-insights/v1/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/audio-interaction-insights/v1/sql/mssql.sql",
      "bytes": 106270,
      "sha256": "a43d9eb43def1073485a84a2f7b8bc8c42c0fbecb5197c7ea0b48b5bc753820f",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/audio-interaction-insights/v1/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/audio-interaction-insights/v1/sql/sqlite.sql",
      "bytes": 101865,
      "sha256": "89995deda5f57e2091898e6d26bd8e7b1fad7f1fccb113db6a4bceb6b5ffc8fa",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/audio-interaction-insights/v1/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/audio-interaction-insights/v1/prisma/seed.ts",
      "bytes": 206141,
      "sha256": "8d19c2e403ee4b9b8bf63abd2a882a8ea6da52544f0541e109ff52731cd9c42e",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/audio-interaction-insights/v1/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/audio-interaction-insights/v1/django/fixtures.json",
      "bytes": 325908,
      "sha256": "485c04a7d8817113fa7dabb1ba550080f670ca527aa406a39a3167b284ed1cf8",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788766939041,
  "updatedAt": 1788766939041
}
