This function allows you to calculate the labor income per hour

labor_income_per_hour(
  data = ech::toy_ech_2018,
  numero = "numero",
  f85 = "f85",
  pobpcoac = "pobpcoac",
  pt4 = "pt4",
  base_month = 6,
  base_year = 2018,
  mes = "mes"
)

Arguments

data

data frame

numero

Variable name of household id

f85

Variable name of hours worked per week

pobpcoac

Variable name of definition of population by activity status

pt4

Variable name of total employment income

base_month

baseline month

base_year

baseline year

mes

month

Value

data.frame

Details

Disclaimer: This script is not an official INE product. Aviso: El script no es un producto oficial de INE.

Examples

# \donttest{
toy_ech_2018 <- ech::toy_ech_2018
toy_ech_2018 <- labor_income_per_hour(data = toy_ech_2018, base_month = "06", base_year = "2018")
#> Variables have been created: 
#>  	 hours_per_month (Cantidad de horas trabajadas al mes en ocupacion principal) &
#>             total_income_per_hour (Total de ingresos por trabajo por hora)
# }