Description

This project focuses on ranking the best college towns for remote workers. By leveraging AWS services(S3, EC2,RDS and Quicksight), utilising ETL (Extract, Transform, Load) using Mage-AI data pipeline, we integrate and analyze data from various sources to provide valuable insights. The goal is to empower remote workers in selecting the most suitable college towns based on criteria such as internet speed, median income, coworking spaces, cost of living, and active mobility.

Architecture:

architecure

Data sources

Data Source Data obtained (for college towns)
Wikipedia US College Towns Names
Speedtest Internet Speed
Bestplaces Demographic Data (Population, Median Age, Median Income, etc.)
Walkscore Walkscore and Bikescore
CityFeet Number of Coworking Spaces

Data stack/Tools used

  • Python

  • BeautifulSoup & Selenium framework for webscraping

  • Mage-ai for data pipeline

  • Aws services: EC2 for VM,S3 buckets for storing raw data, Postgresql on RDS for storing transformed data, Quicksight for visualization.

Data Integration and Workflow:

Data was collected from various sources, such as Wikipedia, Speedtest, Bestplaces, Walkscore, and CityFeet, using Python with BeautifulSoup and Selenium frameworks for web scraping. The collected data is stored in AWS S3 buckets. Mage-AI data pipeline was used for ETL, the data was cleaned and prepared during transformation phase before loading,ensuring data integrity and consistency. The transformed data is then loaded into a PostgreSQL database on AWS RDS, enabling efficient storage and retrieval.

Mage pipeline

image

Key Insights From Analysis

After loading the data to postgresql database, the following insights were obtained from the analysis done in the database:

  • The college town with the highest number of coworking spaces is Austin, Texas, with 31 coworking spaces.
  • There are 73 college towns with a median income above the national average of $70,785.
  • Some college towns with high median incomes include Claremont, California ($89,648), Wellesley, Massachusetts ($159,615), Princeton, New Jersey ($116,875), and Aurora, New York ($72,787).
  • The average cost of living index for college towns with populations between 50,000 and 100,000 is 101.66.
  • Montreat, North Carolina has the highest number of eateries per capita among college towns, with a ratio of 0.87 eateries per person. Other towns with high ratios include Misenheimer, North Carolina (0.42), and Due West, South Carolina (0.38).
  • The average download speed in college towns is approximately 202.84 Mbps, while the average upload speed is around 29.73 Mbps.
  • There is a moderate positive correlation (correlation coefficient of 0.60) between the median income and the cost of living index in college towns. This suggests that as the median income increases, the cost of living tends to increase as well.
  • Here's a table for the top 5 most affordable college towns based on the cost of living index:
College Towns Cost of Living Index Rank
Itta Bena, Mississippi 65.3 1
Marion, Indiana 66.1 2
Youngstown, Ohio 66.1 2
Pittsburg, Kansas 66.5 4
Portales, New Mexico 68.0 5

Data Model

ER diagram

Ranking Method

Ranking Methodology: To rank the best college towns for remote workers, we employ a weighted sum model. We assign appropriate weights to each criterion , based on the perceived importance of these criteria to remote workers.The weights used for each attributes:- Unemployment rate: 10%, Cost of living index: 20%, Number of eateries per capita: 10%, Number of coworking spaces per capita: 10%, Median income per capita: 15%, Speed score: 20%, Active Mobility Score: 15% .These Factors are carefully evaluated and assigned weights accordingly.This approach ensures that the model reflects the relative significance of each criterion, allowing for a more accurate and informed decision-making process when selecting a college town for remote work. The top 5 college towns according to the ranking model is shown below:

Rank College Town Unemployment Rate Cost of Living Index Eateries per Capita Coworking Spaces per Capita Median Income per Capita Internet Speed Score Active Mobility Score Ranking Score
1 Montreat, North Carolina 4.3 121.7 0.865889 0.005831 178.571429 123.5050 31.05 0.018865
2 Lower Merion Township, PA 7.9 77.8 0.253401 0.003401 72.988095 104.9530 57.80 0.008128
3 Misenheimer, North Carolina 4.1 76.7 0.423077 0.002849 49.857550 123.5050 31.05 0.008089
4 St. Leo, Florida 5.0 116.7 0.285826 0.001566 72.435395 120.6205 39.15 0.007175
5 Due West, South Carolina 5.4 75.2 0.384972 0.001855 44.179035 112.6820 32.15 0.006906

Tableau Dashboard

The interactive dashboard below can be accessed

Dashboard 1