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 1400 CSV file
hhid
province
urban
members
income
exp_food
exp_total
weight
1400403281
20
2
5
1770000000
753000000
2322000000
566.9
1400241330
8
1
4
2339000000
794000000
1489000000
504.4
1400406633
7
2
2
1590000000
663000000
2766000000
710.7
1400105217
13
2
6
2430000000
337000000
1175000000
242.8
1400442223
26
2
3
2100000000
677000000
2454000000
690.2
Full file: About 38,000 households per year
Variables 1400 (2021)
Column
Meaning
Type
Note
hhid
Household ID
ID
province
Province (code)
Code
urban
Urban=1, Rural=2
Code
members
Household size
Number
income
Yearly income (rial)
Number
exp_food
Yearly food spending (rial)
Number
exp_total
Yearly total spending (rial)
Number
weight
Sample weight
Number
The full list of codes (for example province codes) is in the guide (codebook) file.
How to use 1400 (2021)
Download the CSV file.
If it is a ZIP file, unzip it.
Check the file check code (below).
Open it in your program. Example code:
R
library(readr)
df <- read_csv("heis-1400-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-1400-all.csv")
print(df.head())
# weighted mean of members
(df["members"] * df["weight"]).sum() / df["weight"].sum()
Stata
import delimited "heis-1400-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-1400-all-csv.zip SHA256
# Mac and Linux
shasum -a 256 heis-1400-all-csv.zip
Three-stage cluster sampling. Each household is interviewed once a year. The full report is at the original source.
Citation 1400 (2021)
Statistical Centre of Iran (2021). Household Income and Expenditure Survey, 1400 [data]. Retrieved via Repository of Iranian Statistical Data, 2024-07-31.