https://github.com/tpoisot/kijiji_mtl_rent
Get information about rent prices in Montréal
https://github.com/tpoisot/kijiji_mtl_rent
data-mining dataset machine-learning rent-house
Last synced: 3 months ago
JSON representation
Get information about rent prices in Montréal
- Host: GitHub
- URL: https://github.com/tpoisot/kijiji_mtl_rent
- Owner: tpoisot
- License: mit
- Created: 2017-03-13T15:27:42.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-15T16:24:28.000Z (over 7 years ago)
- Last Synced: 2025-01-29T08:42:30.042Z (5 months ago)
- Topics: data-mining, dataset, machine-learning, rent-house
- Language: JavaScript
- Size: 77.1 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rent prices in the greater Montréal area
This project will download a bunch of kijiji ads for flats in the greater
Montréal area. It is a nodejs app, to run with `node kijiji.js`. The listings
are returned as a `json` file (`kijiji.json`). The full-text address is removed,
and only the postal code is listed.It is moderately useful to teach decision trees and other classifiers.
## How to install
~~~
npm install
~~~## How to run
~~~
node kijiji.js
~~~## The output
Running the code will crawl through the first 15 pages of ads, and return a
giant `json` file. Every ad is identified by a unique id (which is the URL
blurb), and contains three fields: `title`, `href` (the URL minus the root),
and `attributes`. Most of the action happens in `attributes`, with:| Field | Meaning | Format |
|:--------------------|:------------------------------------|----------------------------------:|
| `postedOn` | date the add was put online | `dd-month-yy` |
| `numberOfBathrooms` | number of bathrooms if known | `N salle/s de bain` |
| `rentedBy` | who listed the ad | `Propriétaire` or `Professionnel` |
| `isFurnished` | whether the appartment is furnished | `Oui` or `Non` |
| `petsAreAllowed` | :cat:? :dog:? | `Oui` or `Non` |
| `monthlyRent` | :dollar: :maple_leaf: | floating point |
| `unitSize` | size of the appartment | ∈ [1,6] |
| `areaMajor` | area code (first three characters) | |
| `areaMinor` | area code (last three characters) | |