{"id":24189229,"url":"https://github.com/simoun-asmar/clinipet_project","last_synced_at":"2025-03-03T03:10:54.662Z","repository":{"id":272184298,"uuid":"915759260","full_name":"simoun-asmar/Clinipet_project","owner":"simoun-asmar","description":"BigQuery","archived":false,"fork":false,"pushed_at":"2025-01-12T19:06:49.000Z","size":4660,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-12T19:33:59.683Z","etag":null,"topics":["bigquery","looker-studio","lookerstudio","sql"],"latest_commit_sha":null,"homepage":"","language":null,"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/simoun-asmar.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-12T18:16:26.000Z","updated_at":"2025-01-12T19:06:53.000Z","dependencies_parsed_at":"2025-01-12T19:34:02.961Z","dependency_job_id":"db0450b5-ac4c-4894-a9a8-18186f55e932","html_url":"https://github.com/simoun-asmar/Clinipet_project","commit_stats":null,"previous_names":["simoun-asmar/clinipet_project"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simoun-asmar%2FClinipet_project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simoun-asmar%2FClinipet_project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simoun-asmar%2FClinipet_project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simoun-asmar%2FClinipet_project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simoun-asmar","download_url":"https://codeload.github.com/simoun-asmar/Clinipet_project/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241600518,"owners_count":19988715,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["bigquery","looker-studio","lookerstudio","sql"],"created_at":"2025-01-13T14:24:03.665Z","updated_at":"2025-03-03T03:10:54.635Z","avatar_url":"https://github.com/simoun-asmar.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# **Clinipet Project**\n\nHealthTail, one of the largest veterinary hospitals, approached Clinipet to automate their manual auditing process for medications and gain insights into disease trends. This project addresses their two primary challenges:\n1. **Auditing Medication Purchases and Expenses**:\n   - Track and analyze medication spending efficiently.\n2. **Monitoring Diagnoses and Disease Trends**:\n   - Identify the most common diagnoses and diseases across pet types and breeds to optimize staffing and medication procurement.\n\n## **What I Did**\nThis project was completed in three steps:\n\n### **Step 1: Data Cleaning and Aggregation**\n- Cleaned and standardized the provided datasets to ensure consistency and accuracy.\n- Created a new table, `med_audit`, to track monthly medication movements (`stock_in` and `stock_out`).\n- [View SQL Queries for Step 1](./Step1.sql)\n\n---\n\n### **Step 2: Answering Research Questions**\n- Wrote SQL queries to address HealthTail's key questions, such as:\n  - What diseases have the highest costs?\n  - What is the average spending on the disease generating the most revenue?\n  - Which months saw the highest medication usage?\n- [View SQL Queries for Step 2](./Step2.sql)\n\n---\n\n### **Step 3: Interactive Dashboard in Looker Studio**\n- Built a fully interactive dashboard to provide HealthTail managers with real-time insights into:\n  - Most common diagnoses and diseases overall.\n  - Disease trends by pet type and breed.\n  - Spending trends on medications over time.\n  - Age-related disease prevalence.\n- The dashboard includes interactive filters (pet type, diagnosis, breed, date range) and diverse visualizations (bar charts, line charts, tables).\n- [Access the Interactive Dashboard](https://lookerstudio.google.com/u/0/reporting/761c9d73-2b69-4651-a80c-4cab8b4136cd/page/hlgcE/edit)\n\n---\n\n## **Files in This Repository**\n1. **SQL Queries**:\n   - [Step 1 SQL Queries (Data Cleaning and Aggregation)](./Step1.sql)\n   - [Step 2 SQL Queries (Research Questions)](./Step2.sql)\n2. **Datasets**:\n   - [HealthTail Registration Cards (Raw)](./healthtail_reg_cards.csv)\n   - [Invoices (Raw)](./invoices.csv)\n   - [Visits (Raw)](./visits.csv)\n   - [Registration Cards (Cleaned)](./registration_clean.csv)\n   - [Medication Audit Table](./med_audit.csv)\n\n---\n\n## **Skills Used**\n- **BigQuery**: For data cleaning, transformation, and SQL analysis.\n- **SQL**: To answer research questions and create insights.\n- **Looker Studio**: For building the interactive dashboard.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimoun-asmar%2Fclinipet_project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimoun-asmar%2Fclinipet_project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimoun-asmar%2Fclinipet_project/lists"}