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

Population and Housing Census 1385 (2006)

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

Year
1385 / 2006
Original source
Statistical Centre of Iran
Terms of use
Non-commercial use with credit
Retrieved from source
2024-07-31
Total size
646 MB

Data files 1385 (2006)

File nameFormatSizeDownload
census-1385-2pct-csv.zipCSV ZIP640 MBDownload

Documents (codebook and questionnaire)

File nameFormatSizeDownload
Codebook (variable guide)
census-1385-codebook-fa.pdf
PDF2 MBDownload
Questionnaire
census-1385-questionnaire-fa.pdf
PDF3.6 MBDownload

Cleaned versions

No cleaned version for this dataset yet.

Send your own cleaned version

Data preview: first 5 rows 1385 (2006)

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 1385 CSV file
hhidprovinceurbansexageeducactivityweight
13858563821226461276.0
138577170725126732451.5
13852755923227843679.8
138543376629125561673.9
138511506511227461155.8

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

Variables 1385 (2006)

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 1385 (2006)

  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-1385-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-1385-2pct.csv")
print(df.head())
# weighted mean of age
(df["age"] * df["weight"]).sum() / df["weight"].sum()

Stata

import delimited "census-1385-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-1385-2pct-csv.zip SHA256
# Mac and Linux
shasum -a 256 census-1385-2pct-csv.zip

census-1385-2pct-csv.zip
83c519638e62ddb3434eb8687b0cc0c790dfe3257fc7299f517fd19bd752ea28

Methodology 1385 (2006)

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 1385 (2006)

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