Giter Club home page Giter Club logo

project-one's Introduction

Atlanta Crime and Home Values by Neighborhood (NPU) Analysis

Questions

  1. Which Atlanta neighborhoods have the highest median home values?
  2. Which Atlanta neighborhoods have the lowest median home values?
  3. Is there less crime in neighborhoods with highest median home values?
  4. Is there more crime in neighborhoods with lowest median home values?
  5. Is crime increasing or decreasing in neighborhoods with the highest and lowest median home values?

Datasets

Tasks

Webscraping Median Home Value by neighborhood - atl_home_values_by_neighborhood.ipynb

  1. Pull each unique neighborhood from Atlanta crime data.
  2. Webscrape Niche.com for median home value price (or Niche Price) for each Atlanta neighborhood.

Full Analysis - percapitacode.ipynb

  1. Read population data, niche data, and crime data using pandas.
  2. Use datetime library to create new column with year from each crime occurrence record.
  3. Use loc method to issolate crime incidents for each year from 2014-2018.
  4. Ues count to calculate number of crime incidents for each year by neighborhood.
  5. Merge crime count by year, niche home value data, and population by neighborhood data into once dataframe.
  6. Calculate crime incident per capita (per 100,000 people) for each neighborhood by dividing crime count by population and then multiplying by 100,000.
  7. Drop null values that were created since some neighborhoods (NPUs) were combined in census data.
  8. Create new column for change in crime per capita by subtracting 2014 counts from 2018 counts.
  9. Create function to change Niche Price to float for calculation.
  10. Create scatter plot using matplotlib to show crime incident count vs. median home values.
  11. Use matplotlib to create line graph of crime trend from 2014 to 2018 for neighborhoods with top 5 median home values.
  12. Use matplotlib to create line graph of crime trend from 2014 to 2018 for neighborhoods with lowest 5 median home values.

Observations, Trends, Conclusions

  1. The 5 Atlanta neighborhoods with highest median home value were: Kingswood, Argonne Forest, Margaret Mitchell, Mt. Paran/Northside, and West Paces Ferry/Northside
  2. The 5 Atlanta neighborhoods with lowest median home values were: Carey Park, Almond Park, Pittsburgh, Hunter Hills, and Ashview Heights.
  3. The top 5 neighborhoods saw signifigant less crime incidents per capita (all under 4,000 for each of the 5 years) than the average for all neighborhoods which ranged from 6,000-7,000 incidents per capita over the 5 year period.
  4. Crime incidents had no correlation to median home value in the lowest 5 neighborhoods as crime rates were found to be above and below the average for all neighborhoods.
  5. Neighborhoods with the 5 lowest median home values all had downward trends in crime over the five year period, while no consistent upward or downward trends were found among the top five neighborhoods.

Disclaimer

This project was published for educational purposes only. Copyright Trilogy Education Services © 2019. All Rights Reserved.

project-one's People

Contributors

dmilestone avatar projekt888 avatar rfpoulos avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.