R/HHRoster.R
HHRoster.Rd
HHRoster
data from Pakistan Social and Living Standards Measurement 2015-16.
data(HHRoster)
A data.table
and data.frame
with 157775 observations of 18 variables.
hhcode
Household 10 digits code.
Province
Province of Pakistan
Region
Region of Pakistan (Rural/Urban)
PSU
primary sampling unit 8 digits code
idc
Identity code of household member
s1aq02
Relationship with the head of household
s1aq03
Reason of considering household head
s1aq04
Gender of a person
s1aq05
Residential status
age
Age in complete years
s1aq61
Day of birth
s1aq62
Month of birth
s1aq63
Year of birth
s1aq07
Marital status of a person
s1aq08
Identity code of his/her spouse
s1aq09
Identity code of person's father
s1aq10
Identity code of person's mother
s1aq11
Member 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)