{"id":20354734,"url":"https://github.com/datasets/corruption-perceptions-index","last_synced_at":"2025-04-12T02:37:14.198Z","repository":{"id":27622545,"uuid":"31106676","full_name":"datasets/corruption-perceptions-index","owner":"datasets","description":"Corruption Perceptions Index - CPI","archived":false,"fork":false,"pushed_at":"2024-10-25T14:23:41.000Z","size":422,"stargazers_count":18,"open_issues_count":1,"forks_count":19,"subscribers_count":7,"default_branch":"cpi-dataflows","last_synced_at":"2025-04-12T02:37:09.672Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://datahub.io/core/corruption-perceptions-index","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":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-21T02:05:07.000Z","updated_at":"2024-10-25T14:23:45.000Z","dependencies_parsed_at":"2022-09-13T08:30:54.277Z","dependency_job_id":null,"html_url":"https://github.com/datasets/corruption-perceptions-index","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%2Fcorruption-perceptions-index","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datasets%2Fcorruption-perceptions-index/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datasets%2Fcorruption-perceptions-index/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datasets%2Fcorruption-perceptions-index/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datasets","download_url":"https://codeload.github.com/datasets/corruption-perceptions-index/tar.gz/refs/heads/cpi-dataflows","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248507026,"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:30.431Z","updated_at":"2025-04-12T02:37:14.180Z","avatar_url":"https://github.com/datasets.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca className=\"gh-badge\" href=\"https://datahub.io/core/corruption-perceptions-index\"\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\nCorruption perceptions index (cpi) ranks countries/territories in terms of the degree to which corruption is perceived to exist among public officials and politicians. \n\n## Data \n\nthe data is sourced from [transparency international](http://www.transparency.org/research/cpi/overview).  \n\n\u003e the corruption perceptions index (cpi) ranks countries/territories in terms of the degree to which corruption is perceived to exist among public officials and politicians. it draws on different assessments and business opinion surveys carried out by independent and reputable institutions. it captures information about the administrative and political aspects of corruption. broadly speaking, the surveys and assessments used to compile the index include questions relating to bribery of public officials, kickbacks in public procurement, embezzlement of public funds, and questions that probe the strength and effectiveness of public sector anti-corruption efforts.   \n\nmore info [here](http://www.transparency.org/cpi2014/in_detail).  \n\n## Preparation \n\nrequires: \n\n1. r - rvest, xlsx   \n2. java 8  \n3. julia - gadfly, dataframes  \n\nnote: the scale of the cpi is 0-10 from 1998 to 2011, and 0-100 from 2012 onwards, due to an update to the methodology used to calculate the cpi in 2012.  \n\ndata in `data/` generated by:\n```\n$ ./acquire_data.r\n```\nor, for the paranoid:\n```\n$ torify ./acquire_data.r\n```\n\n`acquire_data.r` downloads files from transparency international, converts them to csv format, and mergesthem in `cpi.csv` file.  \n\n**warning:** the files are not at all curated well. \nmany countries are spelled different ways in each annual report, so the scripts will count them as different countries.\n\n## License\n\nThis Data Package is made available under the Public Domain Dedication and License v1.0 whose full text can be found at: http://www.opendatacommons.org/licenses/pddl/1.0/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatasets%2Fcorruption-perceptions-index","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatasets%2Fcorruption-perceptions-index","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatasets%2Fcorruption-perceptions-index/lists"}