R/Agriculture.R
Agriculture.RdAgriculture data from Pakistan Social and Living Standard Measures 2015.
data(Agriculture)
A data.table and data.frame with 3324 observations of 97 variables.
hhcodeHousehold 10 digits code.
ProvinceProvince of Pakistan
RegionRegion of Pakistan (Rural/Urban)
PSUprimary sampling unit 8 digits code
a101Own Land Status (Yes/No)
a102Owned Land (Acres)
a103Rent Out Land Status (Yes/No)
a104Rented Out Land (Acres)
a105Rent Received (Rs)
a106Rented Land Status(Yes/No)
a107Rent Paid (Rs)
a108aAmount Received by Sold Agriculture Land (Rs.)
a108bValue of land Received by Gift/Inheritence (Rs.)
a108cAmount Paid for Purchasing Agriculture Land (Rs.)
a108dValue of land Given-away/Lost (Rs.)
a109aOwned operational land (Acres)
a109bRented operational land (Acres)
a109cShare crops basis operational land (Acres)
a109dAny other basis operational land (Acres)
a110Total operational land (Acres)
a111aIrrigated operational cultivated land (Acres)
a111bNon-irrigated operational cultivated land (Acres)
a111cUncultivated land (Acres)
a112Total cultivated land (Acres)
a113Cost of owned land improvements (Rs.)
a114Cost of improvements of other than land (Rs.)
a121aWheat harvested per kg
a121bWheat harvested per 40 kg
a121cValue of total Wheat production (Rs.)
a121dValue of wheat given to landlord (Rs.)
a121eValue of wheat kept by the household (Rs.)
a122aCotton harvested per kg
a122bCotton harvested per 40 kg
a122cValue of total Cotton production (Rs.)
a122dValue of cotton given to landlord (Rs.)
a122eValue of cotton kept by the household (Rs.)
a123aSugarcane harvested per kg
a123bSugarcane harvested per 40 kg
a123cValue of total sugarcane production (Rs.)
a123dValue of sugarcane given to landlord (Rs.)
a123eValue of sugarcane kept by the household (Rs.)
a124aRice harvested per kg
a124bRice harvested per 40 kg
a124cValue of total rice production (Rs.)
a124dValue of rice given to landlord (Rs.)
a124eValue of rice kept by the household (Rs.)
a125aMaize harvested per kg
a125bMaize harvested per 40 kg
a125cValue of total maize production (Rs.)
a125dValue of maize given to landlord (Rs.)
a125eValue of maize kept by the household (Rs.)
a126aPulses harvested per kg
a126bPulses harvested per 40 kg
a126cValue of total pulses production (Rs.)
a126dValue of pulses given to landlord (Rs.)
a126eValue of pulses kept by the household (Rs.)
a127aFruit harvested per kg
a127bFruit harvested per 40 kg
a127cValue of total fruit production (Rs.)
a127dValue of fruit given to landlord (Rs.)
a127eValue of fruit kept by the household (Rs.)
a128aVegetables harvested per kg
a128bVegetables harvested per 40 kg
a128cValue of total vegetables production (Rs.)
a128dValue of vegetables given to landlord (Rs.)
a128eValue of vegetables kept by the household (Rs.)
a129aFodder harvested per kg
a129bFodder harvested per 40 kg
a129cValue of total fodder production (Rs.)
a129dValue of fodder given to landlord (Rs.)
a129eValue of fodder kept by the household (Rs.)
a130aOther crop harvested per kg
a130bOther crop harvested per 40 kg
a130cValue of total other crop production (Rs.)
a130dValue of other crop given to landlord (Rs.)
a130eValue of other crop kept by the household (Rs.)
a131aBi-products crops harvested per kg
a131bBi-products crops harvested per 40 kg
a131cValue of total bi-product crop production (Rs.)
a131dValue of bi-product crop given to landlord (Rs.)
a131eValue of bi-product crop kept by the household (Rs.)
a135cTotal crops harvested per kg
a135dTotal crops harvested per 40 kg
a135eValue of total crops production (Rs.)
a135fValue of total crops given to landlord (Rs.)
a135gValue of total crops kept by the household (Rs.)
a136Cost on seeds/plants (Rs.)
a137Cost on fertilizer (Rs.)
a138Cost on persticides (Rs.)
a139Cost on water/electricity/fuel (Rs.)
a140All types of taxes paid (Rs.)
a141Freight/transportation/commission/insurance/storage charges (Rs.)
a142Permanent labour charges (Rs.)
a143Casual labour charges (Rs.)
a144Rent of equipment/animal charges (Rs.)
a145Other expenses (Rs.)
a150Total expenses (Rs.)
Pakistan Bureau of Statistics, Micro data (http://www.pbs.gov.pk/content/microdata).
Employment
, Education
, Expenditure
, HHRoster
, Housing
, ICT
, LiveStock
# library(PSLM2015) # data("Agriculture") # library(dplyr) # Agriculture %>% # group_by(Province, Region) %>% # summarise(TotalOperationalLand = sum(a110, na.rm = TRUE)) # library(ggplot2) # ggplot(data = Agriculture, mapping = aes(x = Province, y = a110)) + # geom_col() + # labs(y = "Total Operational Land") + # facet_grid(. ~ Region) # # # Merging two data files # data("Employment") # data("Agriculture") # ab <- Employment %>% # filter(s1bq06 %in% # c("Own cultivator","Share cropper", "Contract cultivator") # |s1bq14 %in% c("Own cultivator","Share cropper", "Contract cultivator")) # # EmpAgri <- ab %>% left_join(Agriculture, by = c("hhcode", "Province", "Region", "PSU")) # str(EmpAgri)