R/HHRoster.R
HHRoster.RdHHRoster data from Pakistan Social and Living Standards Measurement 2015-16.
data(HHRoster)
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)
Pakistan Bureau of Statistics, Micro data (http://www.pbs.gov.pk/content/microdata).
Agriculture
, Education
, Expenditure
, Employment
, Housing
, ICT
, LiveStock
# 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)