{
  "format": "dataset-manifest/1",
  "slug": "iot-browser-interaction-ledger",
  "version": 2,
  "seed": "iot-browser-interaction-ledger:1",
  "spec": {
    "format": "dataset/1",
    "slug": "iot-browser-interaction-ledger",
    "name": "IoT Browser Interaction Ledger",
    "tagline": "User interactions with IoT devices via browser tabs, including visits, transactions, and downloads.",
    "description": "Users engage with their IoT devices through a modern browser, enabling them to control and monitor devices effortlessly from a unified interface. This intricate web of interactions is reflected in the dataset, which captures user accounts, browser tabs, and their historical visits to various IoT platforms. Each user may have multiple browser tabs open simultaneously, which signifies a high frequency of engagement with specific devices across different sessions. Meanwhile, transactions and downloads occur less frequently, highlighting selective interactions where users make conscious decisions to engage with specific IoT services or content.\n\nThe dataset features several interconnected tables that illustrate the relationships between these interactions. The 'users' table outlines individual user profiles with unique identifiers, while the 'browser_tabs' table tracks each tab opened by a user, containing information about the active IoT platforms being accessed. The 'visits' table stores timestamps and details about when and how often users interact with their tabs, providing a timeline of engagement patterns. The 'transactions' table captures financial exchanges linked to users' interactions, detailing credit card usage and transaction records. Lastly, the 'downloads' table documents the files users download from various IoT platforms, giving insight into the content that draws user interest.\n\nQuestions this data can help answer include: What are the most popular IoT platforms among users? How frequently do users interact with their devices, and which devices are most commonly engaged with? What patterns emerge around transactions and downloads, and how do they correlate with user activity? This dataset is excellent for practicing data analysis skills and exploring user behavior in the context of IoT device interaction. It's important to note that all data in this dataset is synthetic, designed for practice and exploration.",
    "domain": "iot",
    "shape": "ledger",
    "useCases": [
      "sql-practice",
      "teaching"
    ],
    "keywords": [
      "IoT",
      "browser",
      "user interaction",
      "datasets",
      "analytics",
      "Microsoft Edge"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "users": {
        "description": "This table records user account details, linking to their browser interactions and transactions.",
        "rows": 150,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each user."
          },
          "full_name": {
            "kind": "fullName",
            "description": "User's full name.",
            "nullable": true
          },
          "email": {
            "kind": "email",
            "from": "full_name",
            "description": "User's email address.",
            "nullable": true
          },
          "created_at": {
            "kind": "datetime",
            "from": "2022-01-01",
            "to": "2023-10-01",
            "description": "Account creation date.",
            "dayProfile": "waking"
          }
        }
      },
      "browser_tabs": {
        "description": "This table captures details about the browser tabs opened by users, linked to their user accounts.",
        "rows": 300,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each tab."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "References the user's account."
          },
          "url": {
            "kind": "url",
            "description": "The URL of the IoT device or platform accessed.",
            "nullable": true
          },
          "opened_at": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-10-01",
            "description": "Timestamp when the tab was opened.",
            "dayProfile": "waking"
          },
          "is_active": {
            "kind": "bool",
            "trueRate": 0.7,
            "description": "Indicates if the tab is currently active.",
            "nullable": true
          }
        }
      },
      "visits": {
        "description": "This table logs the visits made by users to different IoT platforms, linked to the browser tabs.",
        "rows": 450,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each visit."
          },
          "tab_id": {
            "kind": "fk",
            "ref": "browser_tabs.id",
            "description": "References the tab associated with this visit."
          },
          "visit_time": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-10-01",
            "description": "Timestamp of the visit.",
            "dayProfile": "waking",
            "trend": "growing"
          },
          "duration_seconds": {
            "kind": "int",
            "min": 1,
            "max": 3600,
            "description": "Duration of the visit in seconds.",
            "nullable": true,
            "distribution": "normal"
          }
        }
      },
      "transactions": {
        "description": "This table contains records of credit card transactions made by users during their interactions.",
        "rows": 100,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each transaction."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.id",
            "description": "References the user who made the transaction."
          },
          "amount": {
            "kind": "decimal",
            "min": 1,
            "max": 500,
            "scale": 2,
            "description": "Transaction amount in USD.",
            "nullable": true,
            "distribution": "long-tail"
          },
          "transaction_time": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-10-01",
            "description": "Timestamp of the transaction.",
            "dayProfile": "waking",
            "trend": "growing"
          }
        }
      },
      "downloads": {
        "description": "This table logs file downloads initiated by users while interacting with IoT platforms.",
        "rows": 75,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each download."
          },
          "tab_id": {
            "kind": "fk",
            "ref": "browser_tabs.id",
            "description": "References the tab where the download was initiated."
          },
          "file_name": {
            "kind": "title",
            "description": "Name of the downloaded file.",
            "nullable": true,
            "pool": [
              "snapshot",
              "report",
              "data",
              "log",
              "analysis",
              "summary",
              "record",
              "export",
              "document",
              "archive",
              "metrics",
              "results",
              "info",
              "output",
              "file",
              "dataset",
              "capture",
              "event",
              "history",
              "view",
              "snapshot-2023",
              "snapshot-2022",
              "snapshot-2021",
              "snapshot-2020",
              "snapshot-2019",
              "snapshot-2018",
              "snapshot-2017",
              "snapshot-2016",
              "snapshot-2015",
              "snapshot-2014"
            ],
            "min": 1,
            "max": 3
          },
          "download_time": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-10-01",
            "description": "Timestamp of when the download occurred."
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "timestamped",
      "high-cardinality",
      "nullable"
    ],
    "analysisQuestions": [
      "What devices do users interact with the most through their browser?",
      "Which users have the highest number of visits to IoT platforms?",
      "What time of day do users typically engage with their IoT devices?",
      "How often do users make transactions related to their IoT interactions?",
      "Which files are downloaded most frequently by users?"
    ],
    "suggestedQueries": [
      {
        "title": "Join Users and Visits",
        "sql": "SELECT users.full_name, visits.visit_time FROM users JOIN visits ON users.id = visits.user_id;",
        "dialect": "postgres"
      },
      {
        "title": "Count Visits by User",
        "sql": "SELECT user_id, COUNT(*) FROM visits GROUP BY user_id;",
        "dialect": "postgres"
      },
      {
        "title": "Average Duration of Visits",
        "sql": "SELECT AVG(duration_seconds) FROM visits;",
        "dialect": "postgres"
      },
      {
        "title": "Transactions and Total Amount",
        "sql": "SELECT user_id, SUM(amount) FROM transactions GROUP BY user_id;",
        "dialect": "postgres"
      },
      {
        "title": "Downloads by User",
        "sql": "SELECT users.full_name, COUNT(downloads.id) FROM downloads JOIN browser_tabs ON downloads.tab_id = browser_tabs.id JOIN users ON browser_tabs.user_id = users.id GROUP BY users.full_name;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Data Analysis for IoT Engagement",
        "body": "Data analysts can utilize this dataset to gain insights into user engagement with IoT devices through the Microsoft Edge browser. By analyzing visit patterns and transaction behaviors, they can identify trends and areas for improvement in user experience."
      },
      {
        "title": "Teaching SQL and Data Relationships",
        "body": "Educators can use this dataset to teach students about SQL querying and the importance of data relationships. The multi-table structure provides an excellent opportunity for students to practice JOIN operations and aggregate functions."
      },
      {
        "title": "User Behavior Research",
        "body": "Researchers studying user behavior in technology can leverage this dataset to analyze how users interact with IoT platforms via their browser. By examining visit frequencies and transaction rates, they can draw conclusions about user preferences and habits."
      },
      {
        "title": "Testing Analytical Tools",
        "body": "Developers of analytical tools can use this dataset to test and validate their software. By simulating real-world user interactions with IoT devices, they can ensure their tools handle various scenarios effectively and accurately."
      }
    ]
  },
  "counts": {
    "users": 150,
    "browser_tabs": 300,
    "downloads": 75,
    "transactions": 100,
    "visits": 450
  },
  "stats": {
    "users": {
      "rows": 150,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 150,
          "min": 1,
          "max": 150
        },
        "full_name": {
          "nulls": 16,
          "distinct": 134,
          "min": "Alice Evans",
          "max": "Zoe Nakamura"
        },
        "email": {
          "nulls": 25,
          "distinct": 125
        },
        "created_at": {
          "nulls": 0,
          "distinct": 150,
          "min": "2022-01-01 06:26:33",
          "max": "2023-10-01 07:38:56"
        }
      }
    },
    "browser_tabs": {
      "rows": 300,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 300,
          "min": 1,
          "max": 300
        },
        "user_id": {
          "nulls": 0,
          "distinct": 123,
          "min": 1,
          "max": 150
        },
        "url": {
          "nulls": 26,
          "distinct": 271
        },
        "opened_at": {
          "nulls": 0,
          "distinct": 300,
          "min": "2023-01-01 14:45:33",
          "max": "2023-10-01 17:57:36"
        },
        "is_active": {
          "nulls": 30,
          "distinct": 2,
          "min": "false",
          "max": "true"
        }
      }
    },
    "visits": {
      "rows": 450,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 450,
          "min": 1,
          "max": 450
        },
        "tab_id": {
          "nulls": 0,
          "distinct": 234,
          "min": 1,
          "max": 300
        },
        "visit_time": {
          "nulls": 0,
          "distinct": 450,
          "min": "2023-01-01 14:06:06",
          "max": "2023-10-01 21:50:59"
        },
        "duration_seconds": {
          "nulls": 47,
          "distinct": 361,
          "min": 478,
          "max": 3270
        }
      }
    },
    "transactions": {
      "rows": 100,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "user_id": {
          "nulls": 0,
          "distinct": 73,
          "min": 3,
          "max": 149
        },
        "amount": {
          "nulls": 8,
          "distinct": 92,
          "min": 1.28,
          "max": 490.01
        },
        "transaction_time": {
          "nulls": 0,
          "distinct": 100,
          "min": "2023-01-09 11:17:01",
          "max": "2023-10-01 17:18:40"
        }
      }
    },
    "downloads": {
      "rows": 75,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 75,
          "min": 1,
          "max": 75
        },
        "tab_id": {
          "nulls": 0,
          "distinct": 66,
          "min": 1,
          "max": 299
        },
        "file_name": {
          "nulls": 5,
          "distinct": 60
        },
        "download_time": {
          "nulls": 0,
          "distinct": 75,
          "min": "2023-01-01 23:59:45",
          "max": "2023-10-01 02:38:33"
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/users.csv",
      "format": "csv",
      "table": "users",
      "key": "datasets/iot-browser-interaction-ledger/v2/csv/users.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/iot-browser-interaction-ledger/v2/csv/users.csv",
      "bytes": 8335,
      "sha256": "2b6a528263631d7226a03bdc6bc26d619ea93d64f67ce666c1c3bbd609b3b99f",
      "rows": 150,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/browser_tabs.csv",
      "format": "csv",
      "table": "browser_tabs",
      "key": "datasets/iot-browser-interaction-ledger/v2/csv/browser_tabs.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/iot-browser-interaction-ledger/v2/csv/browser_tabs.csv",
      "bytes": 19093,
      "sha256": "05ca15627212b66b795d95e18f728eb151d4e78bd811b04f6ad3237746969e79",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/downloads.csv",
      "format": "csv",
      "table": "downloads",
      "key": "datasets/iot-browser-interaction-ledger/v2/csv/downloads.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/iot-browser-interaction-ledger/v2/csv/downloads.csv",
      "bytes": 3330,
      "sha256": "51a6ef0d51bb04ec10bebbc5881b98e79d4339bd20f8797ee1bec6a67012a511",
      "rows": 75,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/transactions.csv",
      "format": "csv",
      "table": "transactions",
      "key": "datasets/iot-browser-interaction-ledger/v2/csv/transactions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/iot-browser-interaction-ledger/v2/csv/transactions.csv",
      "bytes": 3355,
      "sha256": "43c04da547a76738d892707d73c36302ce487c21bdad2096b492695cc05a4b21",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/visits.csv",
      "format": "csv",
      "table": "visits",
      "key": "datasets/iot-browser-interaction-ledger/v2/csv/visits.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/iot-browser-interaction-ledger/v2/csv/visits.csv",
      "bytes": 14858,
      "sha256": "6b8b26d6d69c66d0773dd687089533a590adb47d4a50dbb1e1fc3cbf5b0848bc",
      "rows": 450,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "iot-browser-interaction-ledger.json",
      "format": "json",
      "table": null,
      "key": "datasets/iot-browser-interaction-ledger/v2/iot-browser-interaction-ledger.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/iot-browser-interaction-ledger/v2/iot-browser-interaction-ledger.json",
      "bytes": 148842,
      "sha256": "d12d388d5248671843b0cd575795e238e121dd082d455275afca4eac4bace7a3",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/iot-browser-interaction-ledger/v2/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/iot-browser-interaction-ledger/v2/sql/postgres.sql",
      "bytes": 65638,
      "sha256": "e33a8bf77984017f1c29eac12f83174271be962471086c7a7bcdb63eee6b3dc5",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/iot-browser-interaction-ledger/v2/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/iot-browser-interaction-ledger/v2/sql/mysql.sql",
      "bytes": 64167,
      "sha256": "1fa61d7da40a178420ce7bbad69c53b3e0da81518d773aa427a79b7d1194adde",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/iot-browser-interaction-ledger/v2/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/iot-browser-interaction-ledger/v2/sql/mssql.sql",
      "bytes": 66160,
      "sha256": "256efcb72647fafe98efa6ca63ba17d73a738ec3a858ef240e51d9a83d1c0017",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/iot-browser-interaction-ledger/v2/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/iot-browser-interaction-ledger/v2/sql/sqlite.sql",
      "bytes": 63974,
      "sha256": "413d1038890e6ba49baafb86ed102b001d77d0aab178b7925a157243d8390fa9",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/iot-browser-interaction-ledger/v2/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/iot-browser-interaction-ledger/v2/prisma/seed.ts",
      "bytes": 129311,
      "sha256": "04725eb6b4d2980ed1246f64f76f4d136bd57f2607600eb2ac3675fb55f629b4",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/iot-browser-interaction-ledger/v2/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/iot-browser-interaction-ledger/v2/django/fixtures.json",
      "bytes": 194565,
      "sha256": "0871bb94714b6bda42ca764df709d669d54b03503d122ff466a95cf585e12c32",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788734062133,
  "updatedAt": 1788784577754
}
