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

Population and Housing Census 1390 (2011)

A full count of Iran's people and homes, every ten or five years. Files are a 2% household sample.

Year
1390 / 2011
Original source
Statistical Centre of Iran
Terms of use
Non-commercial use with credit
Retrieved from source
2024-07-31
Total size
785 MB

Data files 1390 (2011)

File nameFormatSizeDownload
census-1390-2pct-csv.zipCSV ZIP780 MBDownload

Documents (codebook and questionnaire)

File nameFormatSizeDownload
Codebook (variable guide)
census-1390-codebook-fa.pdf
PDF3.1 MBDownload
Questionnaire
census-1390-questionnaire-fa.pdf
PDF2.2 MBDownload

Cleaned versions

No cleaned version for this dataset yet.

Send your own cleaned version

Data preview: first 5 rows 1390 (2011)

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

First rows of the 1390 CSV file
hhidprovinceurbansexageeducactivityweight
139084381612214021628.9
13908860079216841162.3
139012969618122553445.8
13907812076211922523.7
13905131471012953447.9

Full file: About 480,000 households (2% sample)

Variables 1390 (2011)

ColumnMeaningTypeNote
hhidHousehold IDID
provinceProvince (code)Code
urbanUrban=1, Rural=2Code
sexSex: male=1, female=2Code
ageAge (years)Number
educHighest education (code)Code
activityActivity status (code)Code
weightSample weightNumber

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

How to use 1390 (2011)

  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("census-1390-2pct.csv")
head(df)
# weighted mean of age
weighted.mean(df$age, df$weight, na.rm = TRUE)

Python

import pandas as pd
df = pd.read_csv("census-1390-2pct.csv")
print(df.head())
# weighted mean of age
(df["age"] * df["weight"]).sum() / df["weight"].sum()

Stata

import delimited "census-1390-2pct.csv", clear encoding(utf-8)
describe
summarize age [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 census-1390-2pct-csv.zip SHA256
# Mac and Linux
shasum -a 256 census-1390-2pct-csv.zip

census-1390-2pct-csv.zip
bcf42cfbfc6490fd5d0af8a8d6ef6c8300d1586716298e1ffc95da8484f9e22f

Methodology 1390 (2011)

Unit
Household and person
Sample size
About 480,000 households (2% sample)
Coverage
All provinces, urban and rural
Weight column
weight

The full methodology report is at the original source. Important changes from the previous year are written in the year notes.

Citation 1390 (2011)

Statistical Centre of Iran (2011). Population and Housing Census, 1390 [data]. Retrieved via Repository of Iranian Statistical Data, 2024-07-31.