| Employment {PSLM2015} | R Documentation |
Employment and income data from Pakistan Social and Living Standards Measurement 2015-16
Description
Employment and income data from Pakistan Social and Living Standards Measurement 2015-16.
Usage
data(Employment)
Format
A data.table and data.frame with 115910 observations of 27 variables.
hhcodeHousehold 10 digits code.
ProvinceProvince of Pakistan
RegionRegion of Pakistan (Rural/Urban)
PSUprimary sampling unit 8 digits code
idcIdentity code of household member
s1bq01Last month working status
s1bq02Number of worked days in last month
s1bq03Employment/business/economic activity status
s1bq04Occupation
s1bq05Industry
s1bq06Type of economic activity
s1bq07Income reporting (Monthly/Anually)
s1bq08Last month cash income (Rs.)
s1bq09Number of months worked in last year
s1bq10Last year cash income (Rs.)
s1bq11Part time working status
s1bq12Part time occupation
s1bq13Part time working industry
s1bq14Part time economic activity type
s1bq15Last year part time cash income (Rs.)
s1bq16Any other work done for pay/profit in last year (Yes/No)
s1bq17Last year cash income from other work (Rs.)
s1bq18Sold status of in kind wages (Yes/No)
s1bq19Last year income by selling in-kind wages (Rs.)
s1bq20Pension or other financial benefits in last year (Yes/No)
s1bq21Last year income from pension/other financial benefits (Rs.)
s1bq22Income used to pay expences of household (Rs.)
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
, HHRoster
, Housing
, ICT
, LiveStock
Examples
# library(PSLM2015)
# data("Employment")
# library(dplyr)
# x2<- distinct(Employment, hhcode, .keep_all = TRUE)
# TotalHH<- x2 %>% group_by(Province, Region) %>%
# summarise(TotalHH = n())
# income<- Employment %>% rowwise() %>%
# mutate(TotalIncome = sum((s1bq08*s1bq09),s1bq10,s1bq15,s1bq17,s1bq19,s1bq21, na.rm = TRUE))
# IncomeR <- income %>%
# group_by(Province, Region) %>%
# summarise(TotalIncome = sum(as.numeric(TotalIncome)))
# IncomeR2 <- TotalHH %>% left_join(IncomeR, by = c("Province", "Region"))
# IncomeRate <- IncomeR2 %>% mutate(AverageHHIncome = TotalIncome/TotalHH)
#
# library(ggplot2)
# ggplot(data = IncomeRate, mapping = aes(x = Province, y = AverageHHIncome)) +
# geom_col() +
# facet_grid(. ~ Region)
#
# # Merging two data files
#
# data("Employment")
# data("Education")
# income <- Employment %>% rowwise() %>%
# mutate(TotalIncome = sum((s1bq08*s1bq09),s1bq10,s1bq15,s1bq17,s1bq19,s1bq21, na.rm = TRUE))
# ab <- select(income, hhcode, idc, TotalIncome)
# EduEmp<-Education %>% left_join(ab, by = c("hhcode", "idc"))
# str(EduEmp)