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

Population and Housing Census 1395 (2016)

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

Year
1395 / 2016
Original source
Statistical Centre of Iran
Terms of use
Non-commercial use with credit
Retrieved from source
2024-07-31
Total size
918 MB

Notes for 1395

  • Definition change educ The education definition changed. From this year, seminary education has its own code and pre-university is merged with high school. To compare with 1390, combine codes 4 and 5.Added 2024-08-23
  • Info This year part of the census was done online.Added 2024-08-23

Data files 1395 (2016)

File nameFormatSizeDownload
census-1395-2pct-csv.zipCSV ZIP912 MBDownload

Documents (codebook and questionnaire)

File nameFormatSizeDownload
Codebook (variable guide)
census-1395-codebook-fa.pdf
PDF2.4 MBDownload
Questionnaire
census-1395-questionnaire-fa.pdf
PDF3.1 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.

Census 1395, ready province tables

By Sample Author D · Sample Research Centre · 2023

What was changed:

  • Weighted totals by province and county
  • County borders matched to 1395 divisions
Format
CSV
Size
12 MB
License
CC BY 4.0
Cleaning code
Not published

Cite this version:

Sample Author D (2023). Census 1395, ready province tables [cleaned data]. Sample Research Centre. https://doi.org/10.5281/zenodo.0000004.

Download (12 MB)

Send your own cleaned version

Data preview: first 5 rows 1395 (2016)

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 1395 CSV file
hhidprovinceurbansexageeducactivityweight
139510007814116832430.5
13955250349121132646.0
13954443793124742290.9
139537705225114651380.5
139589828317127633161.2

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

Variables 1395 (2016)

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

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

How to use 1395 (2016)

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

Stata

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

census-1395-2pct-csv.zip
3f1c9a0d6b2e4f7a8c5d1e9b0a7f6c3d2e1b4a5c6d7e8f9a0b1c2d3e4f5a6b7c

Methodology 1395 (2016)

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 1395 (2016)

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