Giter Site home page Giter Site logo

ekapope / baania-webscraping Goto Github PK

View Code? Open in Web Editor NEW
3.0 0.0 1.0 4.64 MB

Bangkok condo maket - webscraping using beautiful soup

Home Page: http://bannia.com/

Jupyter Notebook 100.00%
scraping-websites scraped-data baania beautifulsoup4 beautifulsoup python thailand bangkok scrape house

baania-webscraping's Introduction

Basic tool for scraping property listings from Thailand housing site, written in Python using Beautiful Soup.

This is the first episode of web scraping project which focused on condomenium listings in Bangkok, Thailand. You can find my second project here.

Baania is one of the biggest property listing website in Thailand. This project is focused on condomenium listings in Bangkok, both new and resale.

http://bannia.com/

Web scraping using bs4.

001_CondoScraping_gh.ipynb : To obtain all links for every condomenium listed in the website.

002_CondoScraping_gh.ipynb : To scrape the infos and store in excel file.

Condo_info_Combined - Cleaned.xlsx : Clean Data for first glance in MS Power BI

Please note:

  1. Scraping this website is only allowed for personal use.
  2. Given the "sleep" intervals embedded in the code, it gently scrapes the pages so it will take a while to complete the operation.
  3. From observation, each results page contains roughly 18 listings. This code extracts variables from each property listing, and saves to a excel file for further analysis.
  4. The data was then cleaned and added rental/resale price per sq.m., distance to the train station column. The distance from each property to the nearest metro station is obtained from this link.

Data Visualization using Microsoft Power BI.

The data is then imported and visualized via MS Power BI, follow this link for the dashboard.

Again, big thanks for http://bannia.com/ for the data.

Thanks to this author for Power BI project inspiration.

baania-webscraping's People

Contributors

ekapope avatar

Stargazers

 avatar  avatar  avatar

Forkers

thanawatp

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.