This function allows you to calculate the variables: PEA, PET, PO, PD

employment(data = ech::toy_ech_2018, pobpcoac = "pobpcoac")

Arguments

data

data.frame with microdata

pobpcoac

Variable name of definition of population by activity status. Default: "pobpcoac"

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 <- employment(data = ech::toy_ech_2018, pobpcoac = "pobpcoac")
#> Variables have been created: #> pea (Poblacion economicamente activa); #> pet (Poblacion en edad de trabajar); #> po (Poblacion ocupada) & #> pd (Poblacion desocupada)
# }