GithubHelp home page GithubHelp logo

adogb / housing-market-dk Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 115 KB

Exploration and visualisation of the housing market in Denmark, using web scraping

Home Page: https://public.tableau.com/app/profile/audrey.dogbeh/viz/Apartmentsm2-priceinDenmarkaggregatedbypostalcode/HousingmarketinDenmarkapartments

Python 100.00%
housing-data housing-prices data-visualization jupyter-notebook python web-scraping denmark pandas

housing-market-dk's Introduction

Housing market in Denmark - dashboard

โ–ถ See live dashboard on Tableau Public. No account required.

What?

I created a Tableau dashboard showing the state of real estate property sales in Denmark since January 2020. The dashboard makes it possible to dig into data at postal code level.

Why?

The aim of this visualisation is to provide users with an overview of the market in a granular way that common listings websites don't provide (at the time I started the project at least).

I was looking to buy an apartment in 2020 and trying to get an overview of square meter prices by neighbourhood in Copenhagen. However, I could mostly find average prices at communal level. Copenhagen commune, as an example, is big (for Denmark) and prices vary a lot depending on neighbourhoods. Getting an average price per square meter for the Copenhagen commune is not useful for a prospective buyer - square meter prices can vary by 30-40.000 DKK for neighbourhoods barely 5 km from one another.

How?

The project has 3 main parts:

  • Web scraping of housing listings on boliga.dk, using Python, Pandas and the BeautifulSoup library
  • Automation using Windows Task Scheduler
  • Data visualisation and dashboard in Tableau

Caveats

  • As of February 2023, data is only related to apartments ("lejlighed" and "villalejlighed"). Boliga.dk does not use weighted area (defined by Finanstilsynet) when calculated the square meter price of a house, which makes it impossible to compare two houses together. I chose therefore not to include houses data in the dataset.
  • Data is not representative of the full housing sales picture in Denmark. Since data is scraped from a housing sales website, it only includes listings that are made public. A lot of properties are indeed sold without having been made public.
  • There can be small discrepancies in the date a property is put on sale or sold/removed from the website, which are dependant on how quickly the website publishes listings.
  • Automation via Windows Task Scheduler is practical but not ideal. I would like to avoid having to leave my computer on sleep mode for it to work. I am looking into ways to take the automation online.

housing-market-dk's People

Contributors

adogb avatar

Stargazers

 avatar

Watchers

 avatar

housing-market-dk's Issues

listings.csv file availability

Hi, thanks for a cool project. Could you provide your own "listings.csv" file since otherwise I could only keep a historical record as of the day I first ran the script?

Thanks.

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.