{"id":20699430,"url":"https://github.com/robinmillford/optimizing-treatment-plans-through-data-analysis","last_synced_at":"2026-04-22T06:02:51.861Z","repository":{"id":217104551,"uuid":"743094721","full_name":"RobinMillford/Optimizing-Treatment-Plans-Through-Data-Analysis","owner":"RobinMillford","description":"The primary focus was on understanding customer health, treatment, and associated charges over multiple years.","archived":false,"fork":false,"pushed_at":"2024-01-14T10:16:15.000Z","size":6508,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-25T18:29:44.431Z","etag":null,"topics":["data-analysis","data-visualization","healthcare","mysql","powerbi","sql"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RobinMillford.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2024-01-14T10:09:59.000Z","updated_at":"2024-01-14T10:17:50.000Z","dependencies_parsed_at":"2024-01-14T16:29:53.778Z","dependency_job_id":null,"html_url":"https://github.com/RobinMillford/Optimizing-Treatment-Plans-Through-Data-Analysis","commit_stats":null,"previous_names":["robinmillford/optimizing-treatment-plans-through-data-analysis"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RobinMillford/Optimizing-Treatment-Plans-Through-Data-Analysis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobinMillford%2FOptimizing-Treatment-Plans-Through-Data-Analysis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobinMillford%2FOptimizing-Treatment-Plans-Through-Data-Analysis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobinMillford%2FOptimizing-Treatment-Plans-Through-Data-Analysis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobinMillford%2FOptimizing-Treatment-Plans-Through-Data-Analysis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RobinMillford","download_url":"https://codeload.github.com/RobinMillford/Optimizing-Treatment-Plans-Through-Data-Analysis/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobinMillford%2FOptimizing-Treatment-Plans-Through-Data-Analysis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32123604,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T00:31:26.853Z","status":"online","status_checked_at":"2026-04-22T02:00:05.693Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-analysis","data-visualization","healthcare","mysql","powerbi","sql"],"created_at":"2024-11-17T00:29:44.413Z","updated_at":"2026-04-22T06:02:51.837Z","avatar_url":"https://github.com/RobinMillford.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"**Project Title: Medical Data Analysis and Visualization using SQL and Power BI**\n\n**Summary:**\n\nIn this project, I conducted a comprehensive analysis of medical data using SQL queries on two tables, 'hospitalisation' and 'medical_examinations.' The primary focus was on understanding customer health, treatment, and associated charges over multiple years.\n\n1. **Data Exploration and Cleaning:**\n   - Identified and handled null values, checked data types, and removed duplicates.\n   - Renamed and cleaned columns for clarity and consistency.\n\n2. **Medical Data Analysis:**\n   - Conducted various SQL queries to extract valuable insights:\n     - Calculated averages, totals, and percentages.\n     - Identified customers with specific health conditions.\n     - Analyzed trends in BMI, charges, and major surgeries.\n   \n3. **Complex Analyses:**\n   - Implemented more advanced queries:\n     - Leveraged Common Table Expressions (CTEs) for yearly averages and hospitalization counts.\n     - Used window functions for cumulative charges and ranking.\n     - Conducted analyses on fluctuating BMI levels and consistent frequent treatments.\n\n4. **Power BI Visualization:**\n   - The SQL insights were complemented by visualizations created in Power BI.\n   - Utilized Power BI's interactive dashboards and reports for a more intuitive understanding of the data.\n   - Visualized trends, relationships, and key metrics, enhancing the interpretability of the analysis.\n\n     Dashboard 1 - ![Alt Text](https://github.com/RobinMillford/Optimizing-Treatment-Plans-Through-Data-Analysis/blob/main/Dashboard%201.png)\n     Dashboard 2 - ![Alt Text](https://github.com/RobinMillford/Optimizing-Treatment-Plans-Through-Data-Analysis/blob/main/Dashboard%202.png)\n     Dashboard 3 - ![Alt Text](https://github.com/RobinMillford/Optimizing-Treatment-Plans-Through-Data-Analysis/blob/main/Dashboard%203.png)\n     Dashboard 4 - ![Alt Text](https://github.com/RobinMillford/Optimizing-Treatment-Plans-Through-Data-Analysis/blob/main/Dashboard%204.png)\n     \n5. **Project Insights:**\n   - Discovered patterns and trends in customer health and treatment over the years.\n   - Identified specific customer segments with high charges, health issues, and frequent treatments.\n   - Analyzed the distribution of charges across different tiers and years.\n\n**Conclusion:**\nThis project provided valuable insights into the medical data through SQL analysis and enhanced data visualization using Power BI. The combination of SQL queries and interactive visualizations enabled a comprehensive understanding of customer health, treatment patterns, and associated charges. This integrated approach is instrumental in deriving actionable insights for medical practitioners and administrators.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobinmillford%2Foptimizing-treatment-plans-through-data-analysis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobinmillford%2Foptimizing-treatment-plans-through-data-analysis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobinmillford%2Foptimizing-treatment-plans-through-data-analysis/lists"}