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

Household Income and Expenditure Survey (HEIS) 1401 (2022)

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

Year
1401 / 2022
Original source
Statistical Centre of Iran
Terms of use
Non-commercial use with credit
Retrieved from source
2024-07-31
Total size
187 MB

Data files 1401 (2022)

File nameFormatSizeDownload
heis-1401-all-csv.zipCSV ZIP180 MBDownload

Documents (codebook and questionnaire)

File nameFormatSizeDownload
Codebook (variable guide)
heis-1401-codebook-fa.pdf
PDF3.7 MBDownload
Questionnaire
heis-1401-questionnaire-fa.pdf
PDF3.6 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 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 1401 (2022)

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 1401 CSV file
hhidprovinceurbanmembersincomeexp_foodexp_totalweight
140123083062320830000006500000002064000000663.4
140196969111212670000004700000001476000000227.1
1401525388281325970000002500000002529000000603.2
1401715353121331230000003530000002234000000659.5
1401790122212625570000004570000002087000000732.2

Full file: About 38,000 households per year

Variables 1401 (2022)

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 1401 (2022)

  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-1401-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-1401-all.csv")
print(df.head())
# weighted mean of members
(df["members"] * df["weight"]).sum() / df["weight"].sum()

Stata

import delimited "heis-1401-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-1401-all-csv.zip SHA256
# Mac and Linux
shasum -a 256 heis-1401-all-csv.zip

heis-1401-all-csv.zip
120101eab4a0f3cccc64ea14e07ece93c16bbf453e3ce1f18612b869ccf4840b

Methodology 1401 (2022)

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 1401 (2022)

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