Skip to content

LottieJaneDev/cfg_data2_group7_project

Repository files navigation

Code First Girls | Spring '23 Cohort | Data2 | Group 7 Final Project


‘Exploratory Analysis of the Social Impact of Airbnb in London Boroughs: Does Airbnb Have a Measurable Influence on Recorded Crime?’


Authors (alphabetically): Hannah Still, Honor McGrigor, Lottie Jane Pollard, Nasra Mohamed, Samantha Shanthakumar, Trupti Kolvekar


Giving Women The Fair Advantages


Table of Contents:


Project Description:

Welcome to our project repository for the Code First Girls NanoDegree Data Pathway! Here, you will find all the code related to our project titled

"Exploratory Analysis of the Social Impact of Airbnb in London Boroughs: Does Airbnb Have a Measurable Influence on Recorded Crime?"

The main goal of this study is to assess the influence of Airbnb's expansion on London communities. To achieve this, we have outlined specific objectives:

  1. Determine the prevalence of entire properties and individual rooms listed on Airbnb in different London boroughs.
  2. Identify any correlations between crime rates and the locations of Airbnb accommodations over a period of four months, specifically from 11th December 2022 to 14th March 2023.

Please explore this repository to access the code associated with our project.

Data Sources:

Raw data sources for this study:

Repository Inventory:

'homework_week2_specialisation_grouphomework/' contains our Homework submission & supporting files
'data/csv/' contains raw & cleansed data for the project
'data/img' contains .png files of our project visualisations
'notebooks/' contains Jupyter Notebook files for the project 

'notebooks/initial_stages_exploratory_analysis/' contains the groups initial stages of exploratory analysis with both these datasets & other potential projects we were considering
!! NB: do not run 'initial_stages_exploratory_analysis' files they are for info only - these are individual, local Notebooks that do not have supporting files uploades as it was initial EDA!! 

'archived_files/out_versioned_code/' contains archived documents including .ipynb, .xlsx, .py files detailing avenues of exploration within the project that were either out-versioned or came to a dead-end
'Code_first_girls_project_documents/' - contains Code First Girls required documentation of the project process & result findings, project brief & supporting documents

Installation & Configuration:

System Requirements -

Required to run the project locally:

  • Python 3.7 minimum, or later versions
  • Jupyter Notebooks
Jupyter Notebooks -m pip install
python3 -m pip install

Python Libraries required:

import requests
import folium
import pandas as pd
import numpy as np
import matplotlib as plt
import seaborn as sns
import random
import re
import scipy

To use the Geoapify API you need a provided API_KEY from which you can construct a CURL command such as below:

curl --request GET \
  --url 'https://api.geoapify.com/v1/ipinfo?apiKey=YOUR_API_KEY'

Code Execution -

!! NB: large .csv.gz & .csv files have been zipped, this may cause an issue with the file path, please unzip locally before running the notebooks 

Run Jupyter Notebook Script airbnb_dataset_cleansing_general.ipynb to load & cleanse the AirBnB Dataset
Run Jupyter Notebook Script police_street_dataset_cleansing_general.ipynb to load & cleanse the Metropolitan & City of London Police Crime Dataset
Run Jupyter Notebook Scrpt api_call_boroughs_visualisation_map.ipynb to make an API request to www.geoapify.com & plot London Boroughs on an interacitve map via www.nominatim.openstreetmap.org
Run Jupyter Notebook Script data_analysis_airbnb_dataset.ipynb to analyse AirBnB dataset
Run Jupyter Notebook Script police_street_data_analysis.ipynb to analyse Metropolitan Police & City of London Police dataset
Run Jupyter Notebook Script final_combined_police_airbnb_data_analysis.ipynb for comparrison analysis & visualisations

Code Base Documentation:

Python - https://www.python.org/doc/ https://docs.python.org/3/using/index.html

Requests - https://pypi.org/project/requests/

Folium - https://python-visualization.github.io/folium/

Pandas - https://pandas.pydata.org/docs/

Numpy - https://numpy.org/doc/stable/reference/

Matplotlib - https://matplotlib.org/stable/index.html

Seaborn - https://seaborn.pydata.org/

Random - https://docs.python.org/3/library/random.html

Regex (re) - https://docs.python.org/3/library/re.html

Scipy - https://docs.scipy.org/doc//scipy/index.html

Roadmap:

There are no further plans to extend this study to date (May 2023)

Contributing & Support:

If you're interested in contributing to this project, need to report issues or submit pull requests, please get in touch via GitHub @LottieJane1312 @samanthas30 @honormcgrigor

License:

  • Unlicensed - license pending

Credits:

  • Acknowledgement to Code First Girls! for mentoring us through the Data Stream Pathway over the last 14 weeks. It has been a privilege to take part in your Spring '23 Data Stream Cohort, go and check them out!

"Code First Girls has become one of the largest providers of free coding courses for women globally, having delivered over £75 million worth of free technology education and teaching three times as many women to code as the entire UK university undergraduate system! We are on a mission to close the gender gap in the tech industry by providing employment through free education. We've already helped more than 120,000 women learn to code and by working with companies globally, we’re boosting employability, diversity and social mobility, transforming local economies and communities. But we want to go further – our aim is to provide one million opportunities for women to learn to code and participate in the industry in the next five years, becoming the world’s first EdTech unicorn dedicated to women." www.codefirstgirls.com

  • Acknowledgement to Roll Royce Defence for sponsoring our placements on the Code First Girls Data Stream Spring '23'

Rolls Royce Defence


Project Authors:

  • Hannah Still
  • Honor McGrigor
  • Lottie Jane Pollard
  • Nasra Mohamed
  • Samantha Shanthakumar
  • Trupti Kolvekar

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages