https://github.com/fourjr/address-to-area
https://github.com/fourjr/address-to-area
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/fourjr/address-to-area
- Owner: fourjr
- Created: 2021-08-02T14:49:43.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-04T08:10:00.000Z (almost 5 years ago)
- Last Synced: 2025-03-12T15:50:52.761Z (over 1 year ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Singapore Address to Area (NSEW)
Extracts postal codes from addresses and uses [district codes](https://www.ura.gov.sg/realEstateIIWeb/resources/misc/list_of_postal_districts.htm) to determine the approximate area of a postal code.
## Usage
- Call `python main.py` and follow prompts.
- Call `python main.py [address]`. The script will output an area.
- Call `python main.py [filepath.csv]` with a csv containing an `address` column. The script will parse the CSV and output a new CSV with a `area` column.
Addresses can have multiple postal codes. The script will then combine them with colons.