Git Product home page Git Product logo

sg-bill-org-scraper's Introduction

sg-bill-org-scraper

This is a web scraper to get Singapore Billing Organisations. Scraping is performed with RPA Python and pandas.

Context

There are few places to find out Singapore Billing Organisations:

In this project, I have chosen to scrape the POSB website because its DOM structure is easier ๐Ÿ˜›

Side note on AXS website for curious peeps

I did attempt to scrape the AXS website initially, but you can check out the notebook to see how ugly the syntax has to be. The DOM structure is super strange (there's nested tables inside tables even though they look nothing like it ๐Ÿ˜†)

Results

9 Categories, 104 Billing organisations found.

An example:

Billing Organisation Bill Reference Number Field Length Example
StarHub Ltd Account No. with StarHub Ltd as displayed on your right hand corner of your bill Numeric with decimals, ending with a letter. Eg: 1.12345678A,Telecommunications and Utilities

You can refer to payees_with_category.xlsx or payees_with_category.csv, whichever file format you prefer.

Using the data in your project

To use it in your project, you can either download the file locally, or you can fetch it at the raw file on GitHub.

An upcoming example will be added soon to the README!

Setup instructions

If you want to try out the notebook, create your own venv and activate it. The activate command may differ depending if you're using Mac or other platforms.

python3 -m venv .venv
source .venv/bin/activate

Install the necessary packages

pip3 install -r requirements.txt

To start JupyterLab and see the notebook, run

jupyterlab

sg-bill-org-scraper's People

Contributors

lyqht avatar

Stargazers

 avatar  avatar

Watchers

 avatar

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.