{
  "format": "dataset-manifest/1",
  "slug": "virtual-reality-therapy-app",
  "version": 3,
  "seed": "virtual-reality-therapy-app:1",
  "engine": 1,
  "engineVersion": "1.0.0",
  "spec": {
    "format": "dataset/1",
    "slug": "virtual-reality-therapy-app",
    "name": "Virtual Reality Therapy Insights",
    "tagline": "Patient sessions, device usage, feedback, and emergency notifications from a virtual reality therapy application.",
    "description": "Patients interact with a virtual reality therapy application that offers innovative treatment options for psychological conditions. Each patient engages in immersive sessions designed to address their specific needs, while data regarding these interactions is meticulously recorded. Therapists track session frequency, device utilization, and patient feedback to evaluate the efficacy of the treatments. Most sessions proceed smoothly, but a minority activate emergency notifications due to adverse reactions, underscoring the critical nature of continuous monitoring in therapeutic settings. \n\nThe dataset comprises several interconnected tables: the 'patients' table details individual patient profiles, including demographics and psychological conditions; 'sessions' records each therapy session, including timestamps, duration, and associated patient identifiers; 'devices' catalogs the range of virtual reality equipment utilized during therapy, providing insights into technology efficiency; 'emergency_notifications' flags instances where patients required immediate attention due to negative experiences; and 'feedback_comments' captures qualitative feedback from patients about their sessions. A single row in each table corresponds to a specific entity: a patient, a therapy session, a device used, an emergency event, and a feedback entry respectively, allowing for rich analysis across the dataset. \n\nThis data answers essential questions about patient engagement, session effectiveness, and the impact of technology on therapy. It is particularly valuable for practitioners aiming to optimize treatment strategies and for researchers exploring the intersection of healthcare and technology. Additionally, the dataset is synthetic, designed to mimic realistic scenarios while allowing for practical application and testing of analytical skills.",
    "domain": "healthcare",
    "shape": "event-log",
    "useCases": [
      "analytics-demo",
      "etl-pipelines"
    ],
    "keywords": [
      "virtual reality",
      "therapy",
      "healthcare",
      "patients",
      "sessions",
      "feedback",
      "notifications"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "patients": {
        "description": "Each row represents a unique patient participating in the therapy program, capturing their demographics and unique identifier.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each patient."
          },
          "full_name": {
            "kind": "fullName",
            "description": "The patient's full name."
          },
          "age": {
            "kind": "int",
            "min": 18,
            "max": 75,
            "description": "Age of the patient.",
            "distribution": "normal"
          },
          "gender": {
            "kind": "enum",
            "values": [
              "male",
              "female",
              "other"
            ],
            "description": "Gender of the patient.",
            "weights": [
              6,
              3,
              1
            ]
          },
          "contact_email": {
            "kind": "email",
            "from": "full_name",
            "description": "Email address for the patient.",
            "nullable": true
          }
        }
      },
      "sessions": {
        "description": "Logs each therapy session attended by patients, capturing session details and the patient involved.",
        "rows": 800,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each session."
          },
          "patient_id": {
            "kind": "fk",
            "ref": "patients.id",
            "description": "References the patient attending the session."
          },
          "session_date": {
            "kind": "datetime",
            "from": "2023-01-01",
            "to": "2023-12-31",
            "description": "Date and time when the session took place.",
            "dayProfile": "waking"
          },
          "duration_minutes": {
            "kind": "int",
            "min": 30,
            "max": 120,
            "description": "Duration of the session in minutes.",
            "distribution": "normal"
          },
          "feedback_score": {
            "kind": "int",
            "min": 1,
            "max": 5,
            "description": "Patient feedback score for the session.",
            "nullable": true,
            "distribution": "high"
          }
        }
      },
      "devices": {
        "description": "Details about the devices used during therapy sessions, linked to the sessions where they were utilized.",
        "rows": 500,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each device."
          },
          "session_id": {
            "kind": "fk",
            "ref": "sessions.id",
            "description": "References the session where the device was used."
          },
          "device_type": {
            "kind": "enum",
            "values": [
              "Oculus",
              "HTC Vive",
              "PlayStation VR",
              "Other"
            ],
            "description": "Type of VR device used.",
            "weights": [
              5,
              4,
              2,
              1
            ]
          },
          "usage_time": {
            "kind": "int",
            "min": 1,
            "max": 120,
            "description": "Time in minutes the device was used during the session.",
            "nullable": true,
            "when": {
              "column": "device_type",
              "in": [
                "Oculus",
                "HTC Vive",
                "PlayStation VR"
              ]
            },
            "distribution": "long-tail"
          },
          "battery_percentage": {
            "kind": "int",
            "min": 20,
            "max": 100,
            "distribution": "normal",
            "description": "Percentage of battery remaining on the device."
          }
        }
      },
      "emergency_notifications": {
        "description": "Records instances when emergency contacts were notified due to adverse reactions during sessions.",
        "rows": 50,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each emergency notification."
          },
          "session_id": {
            "kind": "fk",
            "ref": "sessions.id",
            "description": "References the session during which the emergency occurred."
          },
          "notification_time": {
            "kind": "datetime",
            "after": "session_id.session_date",
            "withinDays": 1,
            "description": "Timestamp when the emergency notification was sent."
          },
          "contact_name": {
            "kind": "fullName",
            "description": "Name of the emergency contact notified.",
            "nullable": true
          },
          "severity_level": {
            "kind": "int",
            "min": 1,
            "max": 5,
            "distribution": "high",
            "description": "Severity of the incident leading to notification."
          }
        }
      },
      "feedback_comments": {
        "description": "Captures open-ended feedback from patients regarding their therapy sessions.",
        "rows": 300,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each feedback comment."
          },
          "session_id": {
            "kind": "fk",
            "ref": "sessions.id",
            "description": "References the session related to the feedback."
          },
          "comment": {
            "kind": "paragraph",
            "min": 10,
            "max": 500,
            "description": "Patient's written feedback about their experience.",
            "nullable": true
          },
          "response_time_days": {
            "kind": "int",
            "min": 0,
            "max": 30,
            "distribution": "normal",
            "description": "Days taken to respond to the feedback comment."
          },
          "is_anonymous": {
            "kind": "bool",
            "trueRate": 0.3,
            "description": "Indicates if the feedback was submitted anonymously."
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "timestamped",
      "categorical",
      "nullable"
    ],
    "analysisQuestions": [
      "What is the average feedback score across all therapy sessions?",
      "How often do emergency notifications occur during sessions?",
      "Which device type has the highest usage time and feedback score?",
      "Are there any trends in patient demographics affecting session outcomes?",
      "What common themes emerge from patient feedback comments?"
    ],
    "suggestedQueries": [
      {
        "title": "Join Patients and Sessions",
        "sql": "SELECT p.full_name, s.session_date FROM patients p JOIN sessions s ON p.id = s.patient_id;",
        "dialect": "postgres"
      },
      {
        "title": "Average Feedback Score by Device Type",
        "sql": "SELECT d.device_type, AVG(s.feedback_score) FROM devices d JOIN sessions s ON d.session_id = s.id GROUP BY d.device_type;",
        "dialect": "postgres"
      },
      {
        "title": "Count Emergency Notifications by Month",
        "sql": "SELECT DATE_TRUNC('month', en.notification_time) AS month, COUNT(*) FROM emergency_notifications en GROUP BY month ORDER BY month;",
        "dialect": "postgres"
      },
      {
        "title": "Patient Feedback Themes",
        "sql": "SELECT s.session_id, fc.comment FROM feedback_comments fc JOIN sessions s ON fc.session_id = s.id WHERE LENGTH(fc.comment) > 50;",
        "dialect": "postgres"
      },
      {
        "title": "Session Duration vs. Feedback Score",
        "sql": "SELECT s.duration_minutes, AVG(s.feedback_score) FROM sessions s GROUP BY s.duration_minutes ORDER BY s.duration_minutes;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Healthcare Analytics Team",
        "body": "The healthcare analytics team could utilize this dataset to evaluate the effectiveness of different virtual reality therapies. By analyzing session durations and feedback scores, they can identify which treatments yield better patient satisfaction, thereby guiding future therapeutic strategies."
      },
      {
        "title": "Data Engineers",
        "body": "Data engineers can employ this dataset for developing ETL pipelines that aggregate patient interaction data. By automating the extraction and transformation of this information, they can streamline reporting processes and enhance data accessibility for stakeholders."
      },
      {
        "title": "Clinical Researchers",
        "body": "Clinical researchers may explore this dataset to investigate the relationship between device usage and patient outcomes. By correlating device types with feedback and emergency notifications, they can provide insights that could improve device selection for therapy sessions."
      },
      {
        "title": "Healthcare IT Developers",
        "body": "Healthcare IT developers can leverage this dataset to build demo applications that simulate patient interactions within a virtual reality therapy environment. This allows stakeholders to visualize therapy scenarios and understand patient experiences in a controlled setting."
      }
    ]
  },
  "counts": {
    "patients": 200,
    "sessions": 800,
    "devices": 500,
    "emergency_notifications": 50,
    "feedback_comments": 300
  },
  "stats": {
    "patients": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "full_name": {
          "nulls": 0,
          "distinct": 196,
          "min": "Alice Rossi",
          "max": "Zoe Kowalski"
        },
        "age": {
          "nulls": 0,
          "distinct": 36,
          "min": 25,
          "max": 64
        },
        "gender": {
          "nulls": 0,
          "distinct": 3,
          "min": "female",
          "max": "other"
        },
        "contact_email": {
          "nulls": 15,
          "distinct": 182
        }
      }
    },
    "sessions": {
      "rows": 800,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 800,
          "min": 1,
          "max": 800
        },
        "patient_id": {
          "nulls": 0,
          "distinct": 195,
          "min": 1,
          "max": 200
        },
        "session_date": {
          "nulls": 0,
          "distinct": 800,
          "min": "2023-01-01 06:37:52",
          "max": "2023-12-31 12:07:30"
        },
        "duration_minutes": {
          "nulls": 0,
          "distinct": 66,
          "min": 41,
          "max": 112
        },
        "feedback_score": {
          "nulls": 88,
          "distinct": 5,
          "min": 1,
          "max": 5
        }
      }
    },
    "devices": {
      "rows": 500,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 500,
          "min": 1,
          "max": 500
        },
        "session_id": {
          "nulls": 0,
          "distinct": 364,
          "min": 1,
          "max": 800
        },
        "device_type": {
          "nulls": 0,
          "distinct": 4,
          "min": "HTC Vive",
          "max": "PlayStation VR"
        },
        "usage_time": {
          "nulls": 48,
          "distinct": 109,
          "min": 1,
          "max": 120
        },
        "battery_percentage": {
          "nulls": 0,
          "distinct": 60,
          "min": 27,
          "max": 91
        }
      }
    },
    "emergency_notifications": {
      "rows": 50,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 50,
          "min": 1,
          "max": 50
        },
        "session_id": {
          "nulls": 0,
          "distinct": 50,
          "min": 5,
          "max": 790
        },
        "notification_time": {
          "nulls": 0,
          "distinct": 50,
          "min": "2023-01-16 09:55:04",
          "max": "2023-12-22 13:42:37"
        },
        "contact_name": {
          "nulls": 3,
          "distinct": 47,
          "min": "Alice Wang",
          "max": "Zoe Klein"
        },
        "severity_level": {
          "nulls": 0,
          "distinct": 5,
          "min": 1,
          "max": 5
        }
      }
    },
    "feedback_comments": {
      "rows": 300,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 300,
          "min": 1,
          "max": 300
        },
        "session_id": {
          "nulls": 0,
          "distinct": 244,
          "min": 1,
          "max": 797
        },
        "comment": {
          "nulls": 29,
          "distinct": 271
        },
        "response_time_days": {
          "nulls": 0,
          "distinct": 23,
          "min": 5,
          "max": 27
        },
        "is_anonymous": {
          "nulls": 0,
          "distinct": 2,
          "min": "false",
          "max": "true"
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/patients.csv",
      "format": "csv",
      "table": "patients",
      "key": "datasets/virtual-reality-therapy-app/v3/csv/patients.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-reality-therapy-app/v3/csv/patients.csv",
      "bytes": 9522,
      "sha256": "e79555b5d98ab2675e3b038e5775613b1e0ab0c4770b6f384fa1e05248a0d10d",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/sessions.csv",
      "format": "csv",
      "table": "sessions",
      "key": "datasets/virtual-reality-therapy-app/v3/csv/sessions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-reality-therapy-app/v3/csv/sessions.csv",
      "bytes": 26622,
      "sha256": "6c6180c9dc7e3c86a1b5fead3a2b586958f2ee897f0c476b4440d1ea5d6a54a4",
      "rows": 800,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/devices.csv",
      "format": "csv",
      "table": "devices",
      "key": "datasets/virtual-reality-therapy-app/v3/csv/devices.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-reality-therapy-app/v3/csv/devices.csv",
      "bytes": 11551,
      "sha256": "1c591144e58e118c5fa1440986523915e61b2a66d8f18a17bc3ebed4ec2a95b4",
      "rows": 500,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/emergency_notifications.csv",
      "format": "csv",
      "table": "emergency_notifications",
      "key": "datasets/virtual-reality-therapy-app/v3/csv/emergency_notifications.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-reality-therapy-app/v3/csv/emergency_notifications.csv",
      "bytes": 2099,
      "sha256": "d51bcfec1e3d647668c9d1d263d352154f23aa09768561f8f102c0c478709e65",
      "rows": 50,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/feedback_comments.csv",
      "format": "csv",
      "table": "feedback_comments",
      "key": "datasets/virtual-reality-therapy-app/v3/csv/feedback_comments.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-reality-therapy-app/v3/csv/feedback_comments.csv",
      "bytes": 57971,
      "sha256": "da0d615354b8db7a91f0f06b8986f79381e6941f26e16dfbf9402c5c2f847e47",
      "rows": 300,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "virtual-reality-therapy-app.json",
      "format": "json",
      "table": null,
      "key": "datasets/virtual-reality-therapy-app/v3/virtual-reality-therapy-app.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-reality-therapy-app/v3/virtual-reality-therapy-app.json",
      "bytes": 327307,
      "sha256": "ad8150454304314cb0dc6beeb6637b7494fe97fd8d3a7d5d294fc31ef0c365b3",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/virtual-reality-therapy-app/v3/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-reality-therapy-app/v3/sql/postgres.sql",
      "bytes": 134532,
      "sha256": "6c1c29770e870912ce00b8a8b938e7d23390e0d6c0e955246ade40385f37f3b0",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/virtual-reality-therapy-app/v3/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-reality-therapy-app/v3/sql/mysql.sql",
      "bytes": 132801,
      "sha256": "924c12af164a86fa46cb58f81ec15f4e2d879225b53daa3e9d5f1be1c3155865",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/virtual-reality-therapy-app/v3/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-reality-therapy-app/v3/sql/mssql.sql",
      "bytes": 135414,
      "sha256": "fbd947141882355fd0208be417da973c0553dde7fb1f53e182dd73695c57c47a",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/virtual-reality-therapy-app/v3/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-reality-therapy-app/v3/sql/sqlite.sql",
      "bytes": 132593,
      "sha256": "38acc96f1e321e3cb101db6d480b648d102889255734a348521dbd69fdc37e0a",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/virtual-reality-therapy-app/v3/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-reality-therapy-app/v3/prisma/seed.ts",
      "bytes": 271075,
      "sha256": "5e5389938574a10b1862beb1234bd89861279e00baa32b5073ead21b9c49388b",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/virtual-reality-therapy-app/v3/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/virtual-reality-therapy-app/v3/django/fixtures.json",
      "bytes": 407084,
      "sha256": "12361af919b5c27d61166dd5ce430329889ed6cea54e158a2cf0cb7918c31349",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788766700884,
  "updatedAt": 1789096125617
}
