AlexisLacabane / Flag_illegal_rent_pricing_Paris

Recording links not respecting reference price set by Paris recent ALUR regulation (July 2019)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flag-illegal-rent-pricing-in-Paris

In July 2019, Paris CityHall released the ALUR Regulation setting reference rent pricing in the French capital. As my first project, I decided to web scrap https://seloger.com (1st website for renting an appartment 🏠) and compare each ad to the increased reference m2 price set by the ALUR Regulation.

The general principle of this framework was to define a maximum value of rent per m² applicable to new signed leases, called increased reference rent or “max limit”

Tools

Purpose

Create a pipeline in 📁 Code.py to optimise the following:

  • clean the data web scrap from SeLoger.com using Python, Pandas, and BeautifulSoup :file_folder: ted_main_dataset.csv
  • import and compare to documentation on max limit per size and district :file_folder: Regulation.xlsx
  • save links not respecting reference price set by Paris ALUR regulation :page_facing_up::heavy_exclamation_mark: Watch_list.txt

Conclusion

My work shows an important amount of links web scrap being overpriced. This conclusion is coherent with recent article published in LeParisien stating that 50% of available apartments in Paris are not respecting the ALUR Regulation.

⚠️ Initialise code ⚠️

  1. Modify headers with your own REQUEST HEADERS by doing the following:

  1. Modify in Code.py the number of pages you want to web scrap:

You Run It, You Get It !

From your terminal, run the file and get your Watch_list.txt send out to your file ! You can also choose to open your browser and open all links (:warning: do not use it if you web scrap 50 pages)

About

Recording links not respecting reference price set by Paris recent ALUR regulation (July 2019)


Languages

Language:Python 100.0%