{"id":17012367,"url":"https://github.com/sam-k/compare-rx","last_synced_at":"2025-03-22T13:44:54.300Z","repository":{"id":108348115,"uuid":"168838725","full_name":"sam-k/compare-rx","owner":"sam-k","description":"Analysis of drug price variations between states. THInC 2019","archived":false,"fork":false,"pushed_at":"2019-02-04T19:40:06.000Z","size":2560,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-27T13:16:05.304Z","etag":null,"topics":["dataset","drug-prices","hackathon"],"latest_commit_sha":null,"homepage":"","language":"R","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/sam-k.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":"2019-02-02T14:14:34.000Z","updated_at":"2024-08-27T13:47:13.000Z","dependencies_parsed_at":"2023-05-21T22:45:16.941Z","dependency_job_id":null,"html_url":"https://github.com/sam-k/compare-rx","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sam-k%2Fcompare-rx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sam-k%2Fcompare-rx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sam-k%2Fcompare-rx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sam-k%2Fcompare-rx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sam-k","download_url":"https://codeload.github.com/sam-k/compare-rx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244966462,"owners_count":20539794,"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":["dataset","drug-prices","hackathon"],"created_at":"2024-10-14T06:10:27.411Z","updated_at":"2025-03-22T13:44:54.282Z","avatar_url":"https://github.com/sam-k.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# compare-rx\nCleaning and preliminary analysis of state drug price data, to show variations in drug prices across different states.\n\nCreated for the 2019 [Triangle Health Innovation Challenge](http://www.thincweekend.org/) (THInC), a medical hackathon hosted by Duke University.\n\n## Data sources\n- [State Drug Utilization Data](https://www.medicaid.gov/medicaid/prescription-drugs/state-drug-utilization-data) (SDUD), which documents the Medicaid Drug Rebate Program's reimbursements to drug manufacturers who dispense prescription drugs to Medicaid patients.\n- [National Average Drug Acquisition Cost](https://www.medicaid.gov/medicaid/prescription-drugs/pharmacy-pricing/index.html) (NADAC), which posts weekly average acquisition costs of prescription drugs as reported by pharmacy surveys.\n\n## Data processing\n\n### Cleaning data\n- Reformat all columns and clean all drug names.\n- Remove redacted entries from the SDUD dataset.\n- Consolidate the SDUD dataset so that each drug corresponds to a single row.\n- Consolidate the NADAC dataset to include only the most recent prices.\n\n### Merging data\n- Merge the SDUD prices with the NADAC drug descriptions.\n- Sort the dataset.\n\n## Preliminary data analysis\n\n### Analysis\n- Remove outliers (distance from median ≥ 4σ) that were likely from mis-entered entries.\n- Identify drugs with the largest price differences between states.\n\n### Visualization\n- Identify the top 5 drugs with the largest interstate price variations: Stelara, Neulasta, Simponi, Avonex, and Lupron Depot.\n- Compare the highest-priced state with the lowest-priced for each drug.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsam-k%2Fcompare-rx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsam-k%2Fcompare-rx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsam-k%2Fcompare-rx/lists"}