| HHRoster {PSLM2015} | R Documentation |
HouseHold roster data from Pakistan Social and Living Standards Measurement 2015-16
Description
HHRoster data from Pakistan Social and Living Standards Measurement 2015-16.
Usage
data(HHRoster)
Format
A data.table and data.frame with 157775 observations of 18 variables.
hhcodeHousehold 10 digits code.
ProvinceProvince of Pakistan
RegionRegion of Pakistan (Rural/Urban)
PSUprimary sampling unit 8 digits code
idcIdentity code of household member
s1aq02Relationship with the head of household
s1aq03Reason of considering household head
s1aq04Gender of a person
s1aq05Residential status
ageAge in complete years
s1aq61Day of birth
s1aq62Month of birth
s1aq63Year of birth
s1aq07Marital status of a person
s1aq08Identity code of his/her spouse
s1aq09Identity code of person's father
s1aq10Identity code of person's mother
s1aq11Member of household (Yes/No)
Author(s)
Muhammad Yaseen (myaseen208@gmail.com)
Muhammad Arfan Dilber (pbsfsd041@gmail.com)
References
Pakistan Bureau of Statistics, Micro data (http://www.pbs.gov.pk/content/microdata).
See Also
Agriculture
, Education
, Expenditure
, Employment
, Housing
, ICT
, LiveStock
Examples
# library(PSLM2015)
# data("HHRoster")
# library(dplyr)
# SumHH <- HHRoster %>%
# group_by(Province, Region, s1aq04) %>%
# summarise(Count = n())
#
# library(ggplot2)
# ggplot(data = SumHH , mapping = aes(x = s1aq04, y = Count)) +
# geom_col() +
# facet_grid(. ~ Region)