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

Household Income and Expenditure Survey (HEIS) 1399 (2020)

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

Year
1399 / 2020
Original source
Statistical Centre of Iran
Terms of use
Non-commercial use with credit
Retrieved from source
2024-07-31
Total size
164 MB

Notes for 1399

  • Warning Because of COVID-19, some interviews were by phone. The sample is about 15% smaller than other years.Added 2024-10-02

Data files 1399 (2020)

File nameFormatSizeDownload
heis-1399-all-csv.zipCSV ZIP158 MBDownload

Documents (codebook and questionnaire)

File nameFormatSizeDownload
Codebook (variable guide)
heis-1399-codebook-fa.pdf
PDF2.3 MBDownload
Questionnaire
heis-1399-questionnaire-fa.pdf
PDF3.5 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 1399 (2020)

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 1399 CSV file
hhidprovinceurbanmembersincomeexp_foodexp_totalweight
139997622521223360000008790000002714000000330.5
1399776239131519840000007460000001220000000187.2
139973585481325460000004940000001018000000559.8
139932571641526500000005830000001065000000412.9
1399263135142223460000004700000002501000000660.3

Full file: About 38,000 households per year

Variables 1399 (2020)

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 1399 (2020)

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

Stata

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

heis-1399-all-csv.zip
e08b60e4a097c6eabd3912f9df77a7ab364fbc7ed238c27be6c5480a8eb7da58

Methodology 1399 (2020)

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 1399 (2020)

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