https://github.com/datasets/corruption-perceptions-index
Corruption Perceptions Index - CPI
https://github.com/datasets/corruption-perceptions-index
Last synced: about 1 year ago
JSON representation
Corruption Perceptions Index - CPI
- Host: GitHub
- URL: https://github.com/datasets/corruption-perceptions-index
- Owner: datasets
- Created: 2015-02-21T02:05:07.000Z (over 11 years ago)
- Default Branch: cpi-dataflows
- Last Pushed: 2024-10-25T14:23:41.000Z (over 1 year ago)
- Last Synced: 2025-04-12T02:37:09.672Z (about 1 year ago)
- Language: Python
- Homepage: https://datahub.io/core/corruption-perceptions-index
- Size: 412 KB
- Stars: 18
- Watchers: 7
- Forks: 19
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Corruption perceptions index (cpi) ranks countries/territories in terms of the degree to which corruption is perceived to exist among public officials and politicians.
## Data
the data is sourced from [transparency international](http://www.transparency.org/research/cpi/overview).
> 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.
more info [here](http://www.transparency.org/cpi2014/in_detail).
## Preparation
requires:
1. r - rvest, xlsx
2. java 8
3. julia - gadfly, dataframes
note: 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.
data in `data/` generated by:
```
$ ./acquire_data.r
```
or, for the paranoid:
```
$ torify ./acquire_data.r
```
`acquire_data.r` downloads files from transparency international, converts them to csv format, and mergesthem in `cpi.csv` file.
**warning:** the files are not at all curated well.
many countries are spelled different ways in each annual report, so the scripts will count them as different countries.
## License
This 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/