"DC is divided into 8 geographic units called wards. These wards differ along many dimensions, including centrality to downtown, demographic composition, density, etc. " "The US Census Bureau regularly gathers information the US population using the American Community Survey. This information includes mean and median household income. DC summarizes this information by ward " This data was collected from a csv file open to the public. The 311 requests were gathered from the previous assignment which was cleaned and found at : https://opendata.dc.gov/datasets/311-city-service-requests-in-2014 (Links to an external site.)
Research Question:
Is there an association between average household income and service requests? What is the relationship between average household income and non-parking related service requests? What is the relationship between average household income and parking related service requests?
To complete this, I subsetted data into 2 datasets: parking requests and non parking requests. I then created an aggregation of requests per ward.
![](https://pro2-bar-s3-cdn-cf6.myportfolio.com/8bc00caa-0d6b-4e66-8fcb-73c32ccfd43e/75f09d5d-0a05-401a-abeb-495b85609cd9_rw_1200.png?h=918d8c5442419fd4f6f757d626597c3b)
I then merged the parking and non parking aggregation. As well as median and mean income
![](https://pro2-bar-s3-cdn-cf4.myportfolio.com/8bc00caa-0d6b-4e66-8fcb-73c32ccfd43e/544691c7-714c-499a-ba18-9cbf3250fec5_rw_1200.png?h=67e3decbcdf6ff9deca2da133efa76c6)
![](https://pro2-bar-s3-cdn-cf.myportfolio.com/8bc00caa-0d6b-4e66-8fcb-73c32ccfd43e/bbf4bff7-7314-4284-a6a9-e0ae5497ea75_rw_1200.png?h=22f22a8bf48ccadde53d99d391d88ad4)
After the datasets were complete, I started to create visualizations to help with the research question.
![](https://pro2-bar-s3-cdn-cf5.myportfolio.com/8bc00caa-0d6b-4e66-8fcb-73c32ccfd43e/69d762e0-e12e-4dee-85c8-3f2950e19f44_rw_1200.png?h=d5f438ba72a2f8a9a2785e501b58eb08)
![](https://pro2-bar-s3-cdn-cf1.myportfolio.com/8bc00caa-0d6b-4e66-8fcb-73c32ccfd43e/9b12c969-045c-4c7f-bc8b-d45a0e5c341b_rw_1200.png?h=d7b8b8f125f48235b2cd9813f668a898)
![](https://pro2-bar-s3-cdn-cf1.myportfolio.com/8bc00caa-0d6b-4e66-8fcb-73c32ccfd43e/c87618f1-ce10-49e1-9a4a-1937857536eb_rw_600.png?h=4e4b26ca3476156bb75d42722c8da69d)
![](https://pro2-bar-s3-cdn-cf3.myportfolio.com/8bc00caa-0d6b-4e66-8fcb-73c32ccfd43e/422f3370-1577-48b2-a433-0bb862d549c6_rw_600.png?h=8d2544e725ede1ba3ad59b5caf6fb8c7)
Research Question 1: Is there an association between average household income and service requests?
Answer: I took the average income by ward in the first graph (mean and median) and also made a separate graph to show the service requests by ward. By looking at both at once, we can see if there is a relationship between average household income and service requests. When looking at the median, the Average income graph follows a relatively close line with Ward 3 as the max. Comparing this to the non-parking scatterplot, we will see a similar trend but not a very strong relationship. When looking at the parking scatterplot, we see that the relationship is sparse if any. Now looking at the Mean scatterplot by ward, we can see that Ward 3 is an extreme outlier maximum, while the rest of the curve matches that of the Median, but just above. Therefore, all statements made about the median scatterplot in relation to the non-parking/parking can be applied to the mean.
![](https://pro2-bar-s3-cdn-cf2.myportfolio.com/8bc00caa-0d6b-4e66-8fcb-73c32ccfd43e/d24f0938-0243-432b-914b-d1cca590e1f4_rw_1200.png?h=5d548dc4c04bfcb0c24615f57d6f88b7)
Research Question 2: What is the relationship between average household income and non-parking related service requests?
Answer: The relationship between average household income and non-parking related service requests does not visually appear to have a strong correlation or relationship. The scatterplot resembles a random relationship.
![](https://pro2-bar-s3-cdn-cf3.myportfolio.com/8bc00caa-0d6b-4e66-8fcb-73c32ccfd43e/4a10d4b3-339b-447a-a5b9-11bf2422320e_rw_1200.png?h=c261996018ebd830ffa05445541f84c5)
Research Question 3: What is the relationship between average household income and parking related service requests?
Answer: The relationship between average household income and parking related service requests does not visually appear to have a strong correlation or relationship. However, the points on the graph do seem to slightly follow that of an exponential trend with the exception of a few outliers. (As average income increases, so does parking requests).
Limitations:
We know the average income for the ward, but since the request in made by individuals, it would be more helpful to know the actual income of the person making the request and graph that.
The data may have been inputted wrong / inaccurate data
Take away: What was found and why does it matter?:
When looking at the graphs in response to the research questions, there does not seem to be a relationship to any of the tested variables. And if there is, the correlation is weak. It is important to study these because if there is a correlation between the requests made and the income, there may be an underlying issue that needs to be resolved based upon ward income.