{
  "format": "dataset-manifest/1",
  "slug": "speech-and-language-therapy-app",
  "version": 1,
  "seed": "speech-and-language-therapy-app:1",
  "spec": {
    "format": "dataset/1",
    "slug": "speech-and-language-therapy-app",
    "name": "Speech Therapy Transaction Data",
    "tagline": "Speech therapy transaction data including clients, medical histories, exercises, and therapy sessions.",
    "description": "Therapists design and implement personalized treatment plans for clients seeking to improve their communication and language skills. Each client is assessed to identify their specific needs, leading to tailored exercises and therapy sessions aimed at enhancing their abilities. The process involves ongoing interactions, with clients frequently participating in various therapy sessions, while specialized treatment plans and document submissions occur at intervals based on individual progress and requirements.\n\nThe dataset consists of several interconnected tables that represent different aspects of the therapy process. The 'clients' table holds information about each individual, including personal details and contact information. The 'medical_histories' table provides insight into the clients' previous health conditions and treatments, which inform their current therapy. The 'exercises' table lists the various exercises assigned to clients, while the 'therapy_sessions' table records each session's details, including dates and therapist notes. Finally, the 'document_submissions' table captures important documentation uploaded by clients or therapists throughout the treatment process.\n\nEach row in the 'therapy_sessions' table can be linked to a specific client in the 'clients' table and to the exercises that have been prescribed. The medical histories can also be related to the clients, offering context for the therapies they are receiving. This relational structure allows developers to answer pertinent questions related to client progress, the effectiveness of specific exercises, and overall trends in therapy outcomes.\n\nPracticing with this data provides opportunities to analyze client engagement, measure the success of therapy sessions, and evaluate the relationship between medical histories and therapy effectiveness. This dataset is synthetic, allowing developers to experiment with it without concerns about privacy or sensitive information.",
    "domain": "healthcare",
    "shape": "transactional",
    "useCases": [
      "sql-practice",
      "orm-seeding"
    ],
    "keywords": [
      "therapy",
      "healthcare",
      "clients",
      "medical history",
      "exercises",
      "sessions",
      "data analytics"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "clients": {
        "description": "Each row represents a client receiving therapy services, linked to their medical history and therapy sessions.",
        "rows": 200,
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each client."
          },
          "full_name": {
            "kind": "fullName",
            "description": "The complete name of the client.",
            "nullable": true
          },
          "date_of_birth": {
            "kind": "date",
            "from": "1970-01-01",
            "to": "2023-01-01",
            "description": "The birth date of the client.",
            "nullable": true
          },
          "created_at": {
            "kind": "date",
            "from": "2023-01-01",
            "to": "2024-12-31",
            "description": "The date the client was registered.",
            "trend": "growing"
          }
        }
      },
      "medical_histories": {
        "description": "This table contains medical history records for each client, detailing their diagnoses and treatment history.",
        "rows": {
          "per": "clients",
          "via": "client_id",
          "min": 1,
          "max": 3,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each medical history record."
          },
          "client_id": {
            "kind": "fk",
            "ref": "clients.id",
            "description": "Reference to the client associated with this medical history."
          },
          "diagnosis": {
            "kind": "words",
            "min": 3,
            "max": 15,
            "description": "Description of the medical diagnosis."
          },
          "diagnosis_date": {
            "kind": "date",
            "from": "2023-01-01",
            "to": "2024-12-31",
            "description": "The date of the diagnosis.",
            "trend": "growing"
          }
        }
      },
      "exercises": {
        "description": "This table lists the exercises assigned to clients to improve their communication skills, linked to the client and sessions.",
        "rows": {
          "per": "clients",
          "via": "client_id",
          "min": 1,
          "max": 5,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each exercise."
          },
          "client_id": {
            "kind": "fk",
            "ref": "clients.id",
            "description": "Reference to the client for whom the exercise is assigned."
          },
          "exercise_name": {
            "kind": "sentence",
            "min": 5,
            "max": 30,
            "description": "The name or description of the assigned exercise."
          },
          "assigned_date": {
            "kind": "date",
            "from": "2023-01-01",
            "to": "2024-12-31",
            "description": "The date the exercise was assigned.",
            "trend": "growing"
          }
        }
      },
      "therapy_sessions": {
        "description": "This table captures the details of therapy sessions held with clients, including session dates and notes.",
        "rows": {
          "per": "clients",
          "via": "client_id",
          "min": 1,
          "max": 6,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each therapy session."
          },
          "client_id": {
            "kind": "fk",
            "ref": "clients.id",
            "description": "Reference to the client for whom the session was held."
          },
          "session_date": {
            "kind": "date",
            "from": "2023-01-01",
            "to": "2024-12-31",
            "description": "The date when the therapy session took place."
          },
          "notes": {
            "kind": "paragraph",
            "min": 10,
            "max": 200,
            "description": "Therapist's notes regarding the session.",
            "nullable": true
          }
        }
      },
      "document_submissions": {
        "description": "This table keeps track of any documents submitted by clients, such as assessments or feedback forms.",
        "rows": {
          "per": "clients",
          "via": "client_id",
          "min": 0,
          "max": 2,
          "skew": "long-tail"
        },
        "columns": {
          "id": {
            "kind": "pk",
            "description": "Unique identifier for each document submission."
          },
          "client_id": {
            "kind": "fk",
            "ref": "clients.id",
            "description": "Reference to the client who submitted the document."
          },
          "document_type": {
            "kind": "enum",
            "values": [
              "assessment",
              "feedback"
            ],
            "description": "Type of document submitted."
          },
          "submission_date": {
            "kind": "date",
            "from": "2023-01-01",
            "to": "2024-12-31",
            "description": "The date the document was submitted.",
            "nullable": true,
            "when": {
              "column": "document_type",
              "in": [
                "assessment",
                "feedback"
              ]
            }
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "categorical",
      "timestamped",
      "high-cardinality"
    ],
    "analysisQuestions": [
      "What is the average number of sessions attended by clients over a month?",
      "How does the frequency of assigned exercises correlate with session attendance?",
      "What types of diagnoses are most common among clients?",
      "Are there any trends in document submissions over time?"
    ],
    "suggestedQueries": [
      {
        "title": "Join Clients with Therapy Sessions",
        "sql": "SELECT clients.full_name, therapy_sessions.session_date FROM clients JOIN therapy_sessions ON clients.id = therapy_sessions.client_id;",
        "dialect": "postgres"
      },
      {
        "title": "Count Sessions per Client",
        "sql": "SELECT client_id, COUNT(*) AS session_count FROM therapy_sessions GROUP BY client_id;",
        "dialect": "postgres"
      },
      {
        "title": "Average Sessions by Diagnosis",
        "sql": "SELECT medical_histories.diagnosis, AVG(session_count) FROM (SELECT client_id, COUNT(*) AS session_count FROM therapy_sessions GROUP BY client_id) AS session_counts JOIN medical_histories ON session_counts.client_id = medical_histories.client_id GROUP BY medical_histories.diagnosis;",
        "dialect": "postgres"
      },
      {
        "title": "Document Submission Trends",
        "sql": "SELECT submission_date, COUNT(*) AS submissions FROM document_submissions GROUP BY submission_date ORDER BY submission_date;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Data Analysis for Therapists",
        "body": "Therapists can use this dataset to analyze client progress over time. By examining session frequency and exercises assigned, they can tailor treatment plans to improve effectiveness."
      },
      {
        "title": "Educational Use for Healthcare Students",
        "body": "Healthcare students studying speech therapy can utilize this dataset for practical exercises in data analysis, helping them understand client management and therapy outcomes."
      },
      {
        "title": "Application Development for Therapy Apps",
        "body": "Developers can seed applications with this synthetic dataset to test functionalities related to client management, session tracking, and reporting in therapy applications."
      }
    ]
  },
  "counts": {
    "clients": 200,
    "document_submissions": 135,
    "exercises": 451,
    "medical_histories": 345,
    "therapy_sessions": 530
  },
  "stats": {
    "clients": {
      "rows": 200,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "full_name": {
          "nulls": 23,
          "distinct": 175,
          "min": "Alice Castro",
          "max": "Zoe Taylor"
        },
        "date_of_birth": {
          "nulls": 19,
          "distinct": 181,
          "min": "1971-01-09",
          "max": "2022-12-23"
        },
        "created_at": {
          "nulls": 0,
          "distinct": 182,
          "min": "2023-01-20",
          "max": "2024-12-29"
        }
      }
    },
    "medical_histories": {
      "rows": 345,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 345,
          "min": 1,
          "max": 345
        },
        "client_id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "diagnosis": {
          "nulls": 0,
          "distinct": 345
        },
        "diagnosis_date": {
          "nulls": 0,
          "distinct": 284,
          "min": "2023-01-10",
          "max": "2024-12-28"
        }
      }
    },
    "exercises": {
      "rows": 451,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 451,
          "min": 1,
          "max": 451
        },
        "client_id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "exercise_name": {
          "nulls": 0,
          "distinct": 449
        },
        "assigned_date": {
          "nulls": 0,
          "distinct": 340,
          "min": "2023-01-03",
          "max": "2024-12-31"
        }
      }
    },
    "therapy_sessions": {
      "rows": 530,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 530,
          "min": 1,
          "max": 530
        },
        "client_id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "session_date": {
          "nulls": 0,
          "distinct": 388,
          "min": "2023-01-02",
          "max": "2024-12-31"
        },
        "notes": {
          "nulls": 59,
          "distinct": 471
        }
      }
    },
    "document_submissions": {
      "rows": 135,
      "columns": {
        "id": {
          "nulls": 0,
          "distinct": 135,
          "min": 1,
          "max": 135
        },
        "client_id": {
          "nulls": 0,
          "distinct": 92,
          "min": 7,
          "max": 199
        },
        "document_type": {
          "nulls": 0,
          "distinct": 2,
          "min": "assessment",
          "max": "feedback"
        },
        "submission_date": {
          "nulls": 0,
          "distinct": 121,
          "min": "2023-01-05",
          "max": "2024-12-28"
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/clients.csv",
      "format": "csv",
      "table": "clients",
      "key": "datasets/speech-and-language-therapy-app/v1/csv/clients.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/speech-and-language-therapy-app/v1/csv/clients.csv",
      "bytes": 7294,
      "sha256": "f5275741b0e88e3b691aa7a01e4b945d4b9e2507d2df4d38fb8539f06bd49c39",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/document_submissions.csv",
      "format": "csv",
      "table": "document_submissions",
      "key": "datasets/speech-and-language-therapy-app/v1/csv/document_submissions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/speech-and-language-therapy-app/v1/csv/document_submissions.csv",
      "bytes": 3901,
      "sha256": "9c0c38d96de0d164e84c9fff5b7a632026840507252866eb32d3d78583eb9f0c",
      "rows": 135,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/exercises.csv",
      "format": "csv",
      "table": "exercises",
      "key": "datasets/speech-and-language-therapy-app/v1/csv/exercises.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/speech-and-language-therapy-app/v1/csv/exercises.csv",
      "bytes": 34312,
      "sha256": "31aec8b7e11ae79163d0a69c158eba71c6359c1aee59d42707686987eac76a79",
      "rows": 451,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/medical_histories.csv",
      "format": "csv",
      "table": "medical_histories",
      "key": "datasets/speech-and-language-therapy-app/v1/csv/medical_histories.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/speech-and-language-therapy-app/v1/csv/medical_histories.csv",
      "bytes": 26795,
      "sha256": "b7fc72406c634139f24910e497ca4835f0046bc90c08011f20f0997f9bcc9b56",
      "rows": 345,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/therapy_sessions.csv",
      "format": "csv",
      "table": "therapy_sessions",
      "key": "datasets/speech-and-language-therapy-app/v1/csv/therapy_sessions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/speech-and-language-therapy-app/v1/csv/therapy_sessions.csv",
      "bytes": 91551,
      "sha256": "3e49e51385f991e3c52bd433c95187686de5676d0e4453d1010b7b82531d2bb3",
      "rows": 530,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "speech-and-language-therapy-app.json",
      "format": "json",
      "table": null,
      "key": "datasets/speech-and-language-therapy-app/v1/speech-and-language-therapy-app.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/speech-and-language-therapy-app/v1/speech-and-language-therapy-app.json",
      "bytes": 317003,
      "sha256": "3257a52a168c13f3f7421a83aec756f2ad06277dab410989cf20556b6f3618f8",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/speech-and-language-therapy-app/v1/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/speech-and-language-therapy-app/v1/sql/postgres.sql",
      "bytes": 188368,
      "sha256": "df0ba0cde71d8fd5ab874b2cbe065a812b79203f5e223d1fb3966db4ed37934f",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/speech-and-language-therapy-app/v1/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/speech-and-language-therapy-app/v1/sql/mysql.sql",
      "bytes": 187763,
      "sha256": "332cfb9a757bbf10d40cea4c9f41c4e2b5434f5ae514e390590df66f77923f3a",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/speech-and-language-therapy-app/v1/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/speech-and-language-therapy-app/v1/sql/mssql.sql",
      "bytes": 191568,
      "sha256": "b55b3e18656ec8bbec87a95a697885fa867696155ad6cbff727f5d19f42e2862",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/speech-and-language-therapy-app/v1/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/speech-and-language-therapy-app/v1/sql/sqlite.sql",
      "bytes": 187542,
      "sha256": "660bb7a0842b821dd86468c174811f572a252835e97915a67e5f3cdfbae77f64",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/speech-and-language-therapy-app/v1/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/speech-and-language-therapy-app/v1/prisma/seed.ts",
      "bytes": 271523,
      "sha256": "7ea34ecf5d6c528547e544cd987ce322e056039eda684f933fdac7352359a08f",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/speech-and-language-therapy-app/v1/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/speech-and-language-therapy-app/v1/django/fixtures.json",
      "bytes": 392985,
      "sha256": "008bf984f4a2e746e8c9cf1a39c41ddcb8445c312c7ca9f385e57b528e52f26e",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788767928400,
  "updatedAt": 1788767928400
}
