فارسی
This is a test version of the site. Data, file sizes and links are samples.
Income, spending & prices

Household Income and Expenditure Survey (HEIS) 1402 (2023)

Yearly survey of urban and rural household income, spending and assets.

Year
1402 / 2023
Original source
Statistical Centre of Iran
Terms of use
Non-commercial use with credit
Retrieved from source
2024-07-31
Total size
176 MB

Data files 1402 (2023)

File nameFormatSizeDownload
heis-1402-all-csv.zipCSV ZIP170 MBDownload

Documents (codebook and questionnaire)

File nameFormatSizeDownload
Codebook (variable guide)
heis-1402-codebook-fa.pdf
PDF3.3 MBDownload
Questionnaire
heis-1402-questionnaire-fa.pdf
PDF2.4 MBDownload

Cleaned versions

Other researchers made these versions. The original data is unchanged. If you use one, cite both this version and the original data.

HEIS 1402, merged and labelled

By Sample Author A · Sample Research Group · 2025

What was changed:

  • Urban and rural files merged into one
  • All columns have Persian and English labels
  • Income and spending also in constant 1400 rial
Format
CSV
Size
410 MB
License
CC BY 4.0

Cite this version:

Sample Author A (2025). HEIS 1402, merged and labelled [cleaned data]. Sample Research Group. https://doi.org/10.5281/zenodo.0000001.

Download (410 MB)

HEIS 1399 to 1402, panel file

By Sample Author B · Sample University · 2024

What was changed:

  • Repeat households linked across years
  • Variable names made the same in all years
Format
CSV
Size
1.2 GB
License
CC BY 4.0

Cite this version:

Sample Author B (2024). HEIS 1399 to 1402, panel file [cleaned data]. Sample University. https://doi.org/10.5281/zenodo.0000002.

Download (1.2 GB)

Send your own cleaned version

Data preview: first 5 rows 1402 (2023)

See what the file looks like before you download. Each row is one household. The meaning of each column is in Variables.

First rows of the 1402 CSV file
hhidprovinceurbanmembersincomeexp_foodexp_totalweight
1402516234301120430000005420000002428000000400.9
1402522379222610740000004260000002631000000290.9
140233952932128040000004730000001677000000542.0
140211322329111720000000576000000930000000563.2
1402347419142624700000004600000002364000000725.3

Full file: About 38,000 households per year

Variables 1402 (2023)

ColumnMeaningTypeNote
hhidHousehold IDID
provinceProvince (code)Code
urbanUrban=1, Rural=2Code
membersHousehold sizeNumber
incomeYearly income (rial)Number
exp_foodYearly food spending (rial)Number
exp_totalYearly total spending (rial)Number
weightSample weightNumber

The full list of codes (for example province codes) is in the guide (codebook) file.

How to use 1402 (2023)

  1. Download the CSV file.
  2. If it is a ZIP file, unzip it.
  3. Check the file check code (below).
  4. Open it in your program. Example code:

R

library(readr)
df <- read_csv("heis-1402-all.csv")
head(df)
# weighted mean of members
weighted.mean(df$members, df$weight, na.rm = TRUE)

Python

import pandas as pd
df = pd.read_csv("heis-1402-all.csv")
print(df.head())
# weighted mean of members
(df["members"] * df["weight"]).sum() / df["weight"].sum()

Stata

import delimited "heis-1402-all.csv", clear encoding(utf-8)
describe
summarize members [aweight=weight]

Important: This is a sample. To get correct numbers for the whole country, always use the weight column (weight).

File check code (SHA-256)

After download, compare this code with your file's code. If they match, the file is complete.

# Windows
certutil -hashfile heis-1402-all-csv.zip SHA256
# Mac and Linux
shasum -a 256 heis-1402-all-csv.zip

heis-1402-all-csv.zip
0898743c10e6e55e4764f9189a1211da0869f1bdd916faba45f9978b46c17ab9

Methodology 1402 (2023)

Unit
Household
Sample size
About 38,000 households per year
Coverage
All provinces, urban and rural
Weight column
weight

Three-stage cluster sampling. Each household is interviewed once a year. The full report is at the original source.

Citation 1402 (2023)

Statistical Centre of Iran (2023). Household Income and Expenditure Survey, 1402 [data]. Retrieved via Repository of Iranian Statistical Data, 2024-07-31.