CoolFace
Datasetpublic

mhdm317/real_estate_ads

๐Ÿ  Divar Real Estate Ads Dataset ๐Ÿ“‹ Overview The real_estate_ads dataset contains one million anonymized real estate advertisements collected from the Divar platform, one of the largest classified ads platforms in the Middle East. This comprehensive dataset provides researchers, data scientists, and entrepreneurs with authentic real estate market data to build innovative solutions such as price evaluation models, market analysis tools, and forecasting systems.โ€ฆ See the full description on the dataset page: https://huggingface.co/datasets/mhdm317/real_estate_ads.

sourceHugging Faceodblupdated 10mo agoView on Hugging Face
0likes6downloads
Dataset Card

๐Ÿ  Divar Real Estate Ads Dataset

![Dataset Size](https://huggingface.co/datasets/divar/real-estate-ads) ![Rows](https://huggingface.co/datasets/divar/real-estate-ads)

๐Ÿ“‹ Overview

The real_estate_ads dataset contains one million anonymized real estate advertisements collected from the Divar platform, one of the largest classified ads platforms in the Middle East. This comprehensive dataset provides researchers, data scientists, and entrepreneurs with authentic real estate market data to build innovative solutions such as price evaluation models, market analysis tools, and forecasting systems.

๐Ÿ” Dataset Details

PropertyValue
Size1,000,000 rows, approximately 750 MB
Time PeriodSix-month period (2024)
SourceAnonymized real estate listings from Divar
FormatTabular data (CSV/Parquet) with 57 columns
LanguagesMixed (primarily Persian)
DomainsReal Estate, Property Market

๐Ÿš€ Quick Start

python
# Load the dataset using the Hugging Face datasets library
from datasets import load_dataset

# Load the full dataset
dataset = load_dataset("divarofficial/real-estate-ads")

# Print the first few examples
print(dataset['train'][:5])

# Get dataset statistics
print(f"Dataset size: {len(dataset['train'])} rows")
print(f"Features: {dataset['train'].features}")

๐Ÿ“Š Schema

The dataset includes comprehensive property information organized in the following categories:

๐Ÿท๏ธ Categorization

  • โ€”cat2_slug, cat3_slug: Property categorization slugs
  • โ€”property_type: Type of property (apartment, villa, land, etc.)

๐Ÿ“ Location

  • โ€”city_slug, neighborhood_slug: Location identifiers
  • โ€”location_latitude, location_longitude: Geographic coordinates
  • โ€”location_radius: Location accuracy radius

๐Ÿ“ Listing Details

  • โ€”created_at_month: Timestamp of when the ad was created
  • โ€”user_type: Type of user who posted the listing (individual, agency, etc.)
  • โ€”description, title: Textual information about the property

๐Ÿ’ฐ Financial Information

  • โ€”Rent-related: rent_mode, rent_value, rent_to_single, rent_type
  • โ€”Price-related: price_mode, price_value
  • โ€”Credit-related: credit_mode, credit_value
  • โ€”Transformed values: Various transformed financial metrics for analysis

๐Ÿข Property Specifications

  • โ€”land_size, building_size: Property dimensions (in square meters)
  • โ€”deed_type, has_business_deed: Legal property information
  • โ€”floor, rooms_count, total_floors_count, unit_per_floor: Building structure details
  • โ€”construction_year, is_rebuilt: Age and renovation status

๐Ÿ›‹๏ธ Amenities and Features

  • โ€”Utilities: has_water, has_electricity, has_gas
  • โ€”Climate control: has_heating_system, has_cooling_system
  • โ€”Facilities: has_balcony, has_elevator, has_warehouse, has_parking
  • โ€”Luxury features: has_pool, has_jacuzzi, has_sauna
  • โ€”Other features: has_security_guard, has_barbecue, building_direction, floor_material

๐Ÿจ Short-term Rental Information

  • โ€”regular_person_capacity, extra_person_capacity
  • โ€”cost_per_extra_person
  • โ€”Pricing variations: rent_price_on_regular_days, rent_price_on_special_days, rent_price_at_weekends

๐Ÿ“ˆ Example Analysis

python
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns

# Convert to pandas DataFrame for analysis
df = dataset['train'].to_pandas()

# Price distribution by property type
plt.figure(figsize=(12, 6))
sns.boxplot(x='property_type', y='price_value', data=df)
plt.title('Price Distribution by Property Type')
plt.xticks(rotation=45)
plt.tight_layout()
plt.show()

# Correlation between building size and price
plt.figure(figsize=(10, 6))
sns.scatterplot(x='building_size', y='price_value', data=df)
plt.title('Correlation between Building Size and Price')
plt.xlabel('Building Size (sq.m)')
plt.ylabel('Price')
plt.tight_layout()
plt.show()

๐Ÿ’ก Use Cases

This dataset is particularly valuable for:

  1. 1.Price Prediction Models: Train algorithms to estimate property values based on features
python
   # Example: Simple price prediction model
   from sklearn.ensemble import RandomForestRegressor
   from sklearn.model_selection import train_test_split

   features = ['building_size', 'rooms_count', 'construction_year', 'has_parking']
   X = df[features].fillna(0)
   y = df['price_value'].fillna(0)

   X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2)
   model = RandomForestRegressor(n_estimators=100)
   model.fit(X_train, y_train)
  1. 1.Market Analysis: Understand trends and patterns in the real estate market
  2. 2.Recommendation Systems: Build tools to suggest properties based on user preferences
  3. 3.Natural Language Processing: Analyze property descriptions and titles
  4. 4.Geospatial Analysis: Study location-based pricing and property distribution

๐Ÿ”ง Data Processing Information

The data has been:

  • โ€”Anonymized to protect privacy
  • โ€”Randomly sampled from the complete Divar platform dataset
  • โ€”Cleaned with select columns removed to ensure privacy and usability
  • โ€”Standardized to ensure consistency across entries

๐Ÿ“š Citation and Usage

When using this dataset in your research or applications, please consider acknowledging the source:

bibtex
@dataset{divar2025realestate,
  author = {Divar Corporation},
  title = {Real Estate Ads Dataset from Divar Platform},
  year = {2025},
  publisher = {Hugging Face},
  url = {https://huggingface.co/datasets/divar/real-estate-ads}
}

๐Ÿค Contributing

We welcome contributions to improve this dataset! If you find issues or have suggestions, please open an issue on the GitHub repository or contact us at kenar.support@divar.ir.