Closed sophiewenzelhorsted closed 8 years ago
Hi Sophie and co,
Good assignment. I like your use of ggmap
!
You could perhaps discuss the low number of bribes in the large cities a bit more. Also, you're loading a lot of packages that you don't really use. These are small things though, generally the assignment is well done.
APPROVED
title: "Assignment 2 - Bribes in India" author: "Group 10" date: "9. nov. 2015" output: html_document: fig_caption: yes fig_height: 6 fig_width: 7
word_document: no
//:(#ASSIGNMENT 2) //:(#Data rename)
//:(#Generating correct variables)
//:(#Frequency by sector)
//:(#Very few observations in some of the sectors, so combine them to other_sector)
//:(#Frequency by issue)
//:(#Very few observations in some of the issues, so combine them to other_issue)
//:(#Delete outlier)
//:(#Group by sector and calculate avg. paid amount)
//:(#Group by issue and calculate acg. paid amount )
//:(#Group by sector+issue and calculate avg. paid amount)
In the following we will present four data visualizations in order to outline the most important information about reported bribery in India. The data is collected November 5th, 2015, from the 1000 most recent reports on www.ipaidabribe.com. In figure 1 and figure 2 we have choosen to make the categories "Other issue" and "Other sector" in which we have aggregated the groups with less than twenty cases of bribery. This is done to give a better overview of the data. Code for Scraping is included at the end of the .Rmd file code.
//:(#Cross between issue and paid amount)
Figure 1 shows that most of the bribes have been regarding New PAN Cards followed by Registration of Property and Traffic Violations.
//:(#Cross between sector and paid amount )
Figure 2 shows that Income tax is the sector where most of the bribery takes place. This is very much in line with the fact that new PAN cards were the issue for most bribes according to figure 1. The Permanent Account Number (PAN) card proofs that an individual is an income tax assessee, but according to data tax payers resort to paying bribes to get the PAN card faster.
//:(#Remove whitespace - see http://stackoverflow.com/questions/2261079/how-to-trim-leading-and-trailing-whitespace-in-r)
Figure 3 shows that the largest average amount are paid in Vidisha, Gonda and Baran. Note that the mean bribe amount is relativly small in the two large cities Mumbai and Delhi. One explanation for this could be, that the size of the city increases the 'competition' in bribes. The 'supply' of people to bribe is larger. The large amount of people could also increase the pool of honest people, so that there are more oppurtunities for avoiding the need to pay bribes.
Figure 4 shows that most bribery cases are taking place in Bangalore, which is the capital of the Indian state of Karnataka. Bangalore is the third most populous city in India and is the leading IT exporter. The reason why Bangalore tops the list of bribery cases is not necessarily because it is more corrupt, but could be because of better awareness about the website, www.ipaidabribe.com.
It is also worth noticing, that the number of bribes is relativly small in Mumbai and Delhi which goes aginst the notion that the supply of people to bribe is large. On the other hand, this could be explained a larger pool of honest people. It should be noted, that this goes aginst the numbers from Bangalore.