This function allows you to calculate overcrowding in the household

overcrowding(data = ech::toy_ech_2018, ht19 = "ht19", d10 = "d10")

Arguments

data

data.frame

ht19

Variable name of umber of individuals in the household

d10

Variable name of number of rooms to sleep

Value

data.frame

Details

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

Examples

toy_ech_2018 <- overcrowding(data = ech::toy_ech_2018)
#> A variable has been created: 
#>  	 overcrowding (hacinamiento)