This Jupyter Notebook was born out of awe about people who base their apartment buying decisions on endless clicking and, eventually, on a feeling. I decided to take a slightly different approach by creating a Python web scraping tool that goes through all one bedroom apartments in Helsinki in 30 seconds and show all essential information accordingly.
I have used the wonderful Selenium library for scraping and Beautiful Soup for parsing data. Additional data manipulation is done by the essential Pandas and Numpy libraries. Part of the purpose of this exercise was to refamiliarize myself with Matplotlib plotting after spending some time with Plotly.
This is how the data looked straight from Oikotie.
In here, I've plotted the average sqm prices for each district with eight major districts color coded in bars.
The amount of apartment postings per district are shown here.
This graph shows the average sqm prices with average sqm prices calculated from realized sales prices in red.
Here, I've plotted the sqm price distribution of the apartment postings for the Kallio region.
This graph shows the sqm prices of all apartment listings in Kallio by address.