Datasets:
Download README.md from Phazel/tehran-rent-asks: direct link, hf CLI and curl.
- Browser
- Download file 5.86 kB
-
https://huggingface.co/datasets/Phazel/tehran-rent-asks/resolve/main/README.md
- Command line
-
hf download hf://datasets/Phazel/tehran-rent-asks/README.md
-
curl -L -o README.md https://huggingface.co/datasets/Phazel/tehran-rent-asks/resolve/main/README.md
license: cc-by-sa-4.0
language:
- fa
- en
pretty_name: Tehran & Karaj apartment rent asks (Divar)
size_categories:
- 10K<n<100K
task_categories:
- tabular-regression
tags:
- real-estate
- rent
- tehran
- iran
- tabular
configs:
- config_name: default
data_files:
- split: train
path: data/train.parquet
- split: test
path: data/test.parquet
Tehran & Karaj apartment rent asks (Divar)
Asking rents for whole flats on yearly leases, listed on Divar in 502 neighborhoods of Tehran and Karaj. The Tehran part covers all 22 municipal districts, split into five zones. The data comes from the weekly crawls behind rent.nlogn.ir, snapshots 2026-10-09, 2026-10-13, 2026-10-15, 2026-10-19, 2026-10-20, 2026-10-22, 2026-10-27, 2026-11-01, 2026-11-08.
These are asking prices from the ads. Signed leases usually close somewhat lower. All money is in million toman.
Task
The target is log_ppm, the natural log of the price per m² after converting the ad to a full deposit (رهن کامل):
ppm = (deposit_m + rent_m / 0.03) / area_m2. The 3% monthly rate is the median that Divar
posters set on the convertible-rent slider. equiv_m is the same price for the whole flat.
deposit_m, rent_m, equiv_m and ppm restate the target in other units, so leave them out of the inputs.
title and description may be used as inputs.
Splits
The split is forward in time by publish date. test holds the ads published in the last 7 days,
after 2026-11-01 up to 2026-11-08, and train holds everything published on or before 2026-11-01.
| Split | Rows |
|---|---|
| train | 50,208 |
| test | 8,776 |
Agencies often repost the same flat. For cross-validation on train, group folds by group (neighborhood, build year
and floor) so the copies stay in one fold.
Columns
| Column | Type | Meaning |
|---|---|---|
| token, url | str | Divar ad id and link |
| title, description | str | the ad's own text, as posted |
| city, zone | str | tehran/karaj; site zone (west, east, north, center, south, karaj) |
| hood, hood_name | str | Divar neighborhood slug and Persian name |
| hood_lat, hood_lon | float | Divar's public centroid of the neighborhood (not the ad's pin) |
| area_m2 | int | floor area |
| year_built | int | Jalali build year; Divar caps the oldest at 1370 ("1370 or before") |
| age | int | Jalali year at last_seen − year_built |
| floor, floors_total, rooms | int | floor (0 = ground; may be null), building floors (often null), bedrooms |
| elevator, parking, storage | bool | Divar's structured amenities |
| renovated, complex | bool | ad text mentions renovation / a complex (مجتمع، شهرک، برج …) |
| convertible | bool | the poster allows converting deposit ↔ rent |
| extra_features | list[str] | feature titles from the ad's «سایر ویژگیها و امکانات» list (e.g. «بالکن دارد», «آسانسور ندارد») |
| extra | list[{key, value}] | that list's key/value rows as posted (e.g. «تعداد واحد در طبقه», «جهت ساختمان», «بازسازی شده») |
| deposit_m, rent_m | float | deposit and monthly rent as asked |
| published_date | date | Divar's publish date |
| first_seen, last_seen | date | first and last crawl snapshot that listed the ad |
| days_listed | int | last_seen − published_date |
| group | str | hood, build year and floor joined by /, for grouped CV |
| equiv_m | float | full-deposit equivalent of the flat |
| ppm | float | equiv_m / area_m2 |
| log_ppm | float | target, ln(ppm) |
Collection and cleaning
Each weekly crawl reads the newest 150 rent ads in every neighborhood. An ad seen in several snapshots appears once, as its latest version. Within each zone, the cleaning drops ads with an area outside the zone's size range, ads missing the area, build year or price, and ads for shared housing, offices, furnished or short-term lets, or a single room. It also drops ads whose price converts to zero, repeats of another ad's area, build year, floor, deposit and rent (the newest copy stays), and ads more than 3 MADs from the zone's median log price per m².
| Zone | Name | Size m² | Ads | Rows | Dropped |
|---|---|---|---|---|---|
| west | غرب تهران | 40 to 110 | 25,008 | 19,848 | out_of_size 1,205, missing 36, not_whole_flat 1,234, zero 7, dup 2,335, outlier 343 |
| east | شرق تهران | 40 to 110 | 16,564 | 14,072 | out_of_size 291, missing 20, not_whole_flat 623, zero 10, dup 1,424, outlier 124 |
| north | شمال تهران | 40 to 110 | 5,508 | 3,911 | out_of_size 621, missing 10, not_whole_flat 497, zero 6, dup 410, outlier 53 |
| center | مرکز تهران | 40 to 110 | 12,502 | 9,893 | out_of_size 317, missing 35, not_whole_flat 934, zero 4, dup 1,186, outlier 133 |
| south | جنوب تهران | 40 to 110 | 5,819 | 4,904 | out_of_size 135, missing 2, not_whole_flat 260, zero 8, dup 450, outlier 60 |
| karaj | کرج | 40 to 110 | 8,177 | 6,356 | out_of_size 540, missing 7, not_whole_flat 451, zero 5, dup 763, outlier 55 |
Map pins are not exported; location is the hood and Divar's public hood centroid.
Baseline
The site's own model is an OLS with a neighborhood fixed effect. Its inputs are age (with hinges at 3, 8, 15 and 25 years), log size, parking, elevator, flights climbed without a lift, renovated, complex and days since publishing. On the forward week ending 2026-10-13 in west Tehran, its median absolute percentage error was about 9%. The method is described at rent.nlogn.ir.
License
Released under CC BY-SA 4.0. Each row is the structured fields of a
public Divar ad, linked in url. Attribute as "Tehran rent asks, rent.nlogn.ir, from Divar listings".