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.
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)
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)