PakPop2017
data of Pakistan population census 2017.
Usage
data(PakPop2017)
Format
A data.table
and data.frame
with 543 observations of 06 variables.
Province
Provinces of Pakistan
Division
Divisions of Pakistan
District
Districts of Pakistan
Tehsil
Tehsils of Pakistan
QanungoHalqa
Qanungo Halqa of Pakistan
PatwarCircle
Patwar Circle of Pakistan
Village
Village Name
BlockCode
Block Code
Pop2017
Population of census 2017
HH2017
Total House Holds
References
Pakistan Bureau of Statistics, Pakistan Population Census 2017 (http://www.pbscensus.gov.pk/).
Author
Muhammad Yaseen (myaseen208@gmail.com)
Examples
library(PakPC2017)
library(dplyr)
library(magrittr)
data("PakPop2017")
PakPop2017 %>%
group_by(Province, Division, District) %>%
summarise(Pop2017 = sum(Pop2017, na.rm = TRUE))
#> `summarise()` has grouped output by 'Province', 'Division'. You can override
#> using the `.groups` argument.
#> # A tibble: 156 × 4
#> # Groups: Province, Division [36]
#> Province Division District Pop2017
#> <chr> <chr> <chr> <int>
#> 1 AZAD JAMMU AND KASHMIR MIRPUR DIVISION BHIMBER DISTRICT 420624
#> 2 AZAD JAMMU AND KASHMIR MIRPUR DIVISION KOTLI DISTRICT 774194
#> 3 AZAD JAMMU AND KASHMIR MIRPUR DIVISION MIRPUR DISTRICT 456200
#> 4 AZAD JAMMU AND KASHMIR MUZAFARABAD DIVISION HATTIAN BALA DISTRICT 230529
#> 5 AZAD JAMMU AND KASHMIR MUZAFARABAD DIVISION MUZAFFARABAD DISTRICT 650371
#> 6 AZAD JAMMU AND KASHMIR MUZAFARABAD DIVISION NEELUM DISTRICT 191251
#> 7 AZAD JAMMU AND KASHMIR RAWALAKOT DIVISION BAGH DISTRICT 371919
#> 8 AZAD JAMMU AND KASHMIR RAWALAKOT DIVISION HAVELI DISTRICT 152124
#> 9 AZAD JAMMU AND KASHMIR RAWALAKOT DIVISION POONCH DISTRICT 500571
#> 10 AZAD JAMMU AND KASHMIR RAWALAKOT DIVISION SUDHNOTI DISTRICT 297584
#> # ℹ 146 more rows
PakPop2017 %>%
filter(District == "FAISALABAD DISTRICT")
#> # A tibble: 5,949 × 10
#> Province Division District Tehsil QanungoHalqa PatwarCircle Village BlockCode
#> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr>
#> 1 PUNJAB FAISALA… FAISALA… FAISA… FAISALABAD … 217/R.B. PC CHAK 2… 149010301
#> 2 PUNJAB FAISALA… FAISALA… FAISA… FAISALABAD … 217/R.B. PC CHAK 2… 149010302
#> 3 PUNJAB FAISALA… FAISALA… FAISA… FAISALABAD … 217/R.B. PC CHAK 2… 149010303
#> 4 PUNJAB FAISALA… FAISALA… FAISA… FAISALABAD … 217/R.B. PC CHAK 2… 149010304
#> 5 PUNJAB FAISALA… FAISALA… FAISA… FAISALABAD … 217/R.B. PC CHAK 2… 149010305
#> 6 PUNJAB FAISALA… FAISALA… FAISA… FAISALABAD … 217/R.B. PC CHAK 2… 149010306
#> 7 PUNJAB FAISALA… FAISALA… FAISA… FAISALABAD … 217/R.B. PC CHAK 2… 149010307
#> 8 PUNJAB FAISALA… FAISALA… FAISA… FAISALABAD … 217/R.B. PC CHAK 2… 149010308
#> 9 PUNJAB FAISALA… FAISALA… FAISA… FAISALABAD … 217/R.B. PC CHAK 2… 149010309
#> 10 PUNJAB FAISALA… FAISALA… FAISA… FAISALABAD … 217/R.B. PC CHAK 2… 149010310
#> # ℹ 5,939 more rows
#> # ℹ 2 more variables: Pop2017 <int>, HH2017 <int>