{"id":20354757,"url":"https://github.com/datasets/pharmaceutical-drug-spending","last_synced_at":"2025-04-12T02:37:16.315Z","repository":{"id":142845448,"uuid":"108269950","full_name":"datasets/pharmaceutical-drug-spending","owner":"datasets","description":"Pharmaceutical Drug Spending by countries","archived":false,"fork":false,"pushed_at":"2025-01-30T06:30:12.000Z","size":2684,"stargazers_count":8,"open_issues_count":0,"forks_count":8,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-12T02:37:07.706Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://datahub.io/core/pharmaceutical-drug-spending","language":"Python","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/datasets.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":"2017-10-25T12:54:45.000Z","updated_at":"2025-03-27T17:27:40.000Z","dependencies_parsed_at":"2024-12-04T10:31:05.205Z","dependency_job_id":"0269a225-dc47-43bc-b426-a6d4dde5d68f","html_url":"https://github.com/datasets/pharmaceutical-drug-spending","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/datasets%2Fpharmaceutical-drug-spending","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datasets%2Fpharmaceutical-drug-spending/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datasets%2Fpharmaceutical-drug-spending/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datasets%2Fpharmaceutical-drug-spending/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datasets","download_url":"https://codeload.github.com/datasets/pharmaceutical-drug-spending/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248507029,"owners_count":21115522,"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":[],"created_at":"2024-11-14T23:09:35.722Z","updated_at":"2025-04-12T02:37:16.310Z","avatar_url":"https://github.com/datasets.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca className=\"gh-badge\" href=\"https://datahub.io/core/pharmaceutical-drug-spending\"\u003e\u003cimg src=\"https://badgen.net/badge/icon/View%20on%20datahub.io/orange?icon=https://datahub.io/datahub-cube-badge-icon.svg\u0026label\u0026scale=1.25\" alt=\"badge\" /\u003e\u003c/a\u003e\n\nPharmaceutical Drug Spending by countries with indicators such as a share of total health spending, in USD per capita (using economy-wide PPPs) and as a share of GDP. Plus, total spending by each countries in the specific year. \n\n## Data\n\nData comes from Organisation for Economic Cooperation and Development on https://data.oecd.org/healthres/pharmaceutical-spending.htm\n\nIt consists of useful information about percent of health spending, percent of GDP and US dollars per capita for specific countries. Also, we added total spending by countries using their population data.\n\nPopulation data comes from DataHub http://datahub.io/core/population since it is regularly updated and includes all country codes.\n\n## Preparation \n\nThere are several steps have been done to get final data.\n\n* We extracted separately each resource by \"percent of health spending\", \"percent of GDP\" and \"US dollars per capita\"\n* We merged them into one resource and added new column \"TOTAL_SPEND\"\n\n\"TOTAL_SPEND\" is calculated using \"US dollars per capita\" and \"population\" data.\nSource for original pharmacy drug spending:  https://stats.oecd.org/sdmx-json/data/DP_LIVE/.PHARMAEXP.../OECD?contentType=csv\u0026detail=code\u0026separator=comma\u0026csv-lang=en. \n\nProcess is recorded and automated in python script:\n\n```\n# to get population.csv\npython scripts/population.py \n# to get final data.csv\npython scripts/process.py\n```\n\n## License\n\nPublic Domain Dedication and License (PDDL)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatasets%2Fpharmaceutical-drug-spending","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatasets%2Fpharmaceutical-drug-spending","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatasets%2Fpharmaceutical-drug-spending/lists"}