Expenditure data from Pakistan Social and Living Standards Measurement 2015-16.
data.frame with 24238 observation of 14 variables.
Household 10 digits code.
Food and non-alcoholic beverages
Restaurants and hotels
Furnishing, Household equipment and routine maintenance of the house
Miscellaneous goods and services
Alcoholic beverages and tobacco
Housing, Water, Electricity, Gas and other fuels
Clothing and Foot wear
Communication, Postal services
Recreation and Culture
Total expenditure on non-durable goods
Pakistan Bureau of Statistics, Micro data (http://www.pbs.gov.pk/content/microdata).
1 2 3 4 5 6 7 8 9 10 11 12
# library(PSLM2015) # data("Expenditure") # data("Employment") # library(dplyr) # income<- Employment %>% rowwise() %>% # mutate(TotalIncome = sum((s1bq08*s1bq09), # s1bq10, s1bq15, s1bq17, s1bq19, s1bq21 # , na.rm = TRUE)) # exp<-Expenditure %>% select(c("hhcode","NonDurable")) # HHIncome<-income %>% group_by(hhcode) %>% # summarise(HHAvgIncome = sum(TotalIncome)) # IncomeExp<-HHIncome %>% left_join(exp, by = "hhcode")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.