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 name | Format | Size | Download |
|---|---|---|---|
census-1390-2pct-csv.zip | CSV ZIP | 780 MB | Download |
Documents (codebook and questionnaire)
Cleaned versions
No cleaned version for this dataset yet.
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.
hhid | province | urban | sex | age | educ | activity | weight |
|---|---|---|---|---|---|---|---|
| 1390843816 | 12 | 2 | 1 | 40 | 2 | 1 | 628.9 |
| 1390886007 | 9 | 2 | 1 | 68 | 4 | 1 | 162.3 |
| 1390129696 | 18 | 1 | 2 | 25 | 5 | 3 | 445.8 |
| 1390781207 | 6 | 2 | 1 | 19 | 2 | 2 | 523.7 |
| 1390513147 | 10 | 1 | 2 | 9 | 5 | 3 | 447.9 |
Full file: About 480,000 households (2% sample)
Variables 1390 (2011)
| Column | Meaning | Type | Note |
|---|---|---|---|
hhid | Household ID | ID | |
province | Province (code) | Code | |
urban | Urban=1, Rural=2 | Code | |
sex | Sex: male=1, female=2 | Code | |
age | Age (years) | Number | |
educ | Highest education (code) | Code | |
activity | Activity status (code) | Code | |
weight | Sample weight | Number |
The full list of codes (for example province codes) is in the guide (codebook) file.
How to use 1390 (2011)
- 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("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.zipbcf42cfbfc6490fd5d0af8a8d6ef6c8300d1586716298e1ffc95da8484f9e22f
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.