This function allows you to calculate the housing tenure

housing_tenure(data = ech::toy_ech_2018, d8_1 = "d8_1")

Arguments

data

data.frame

d8_1

Variable name of housing_tenure (owner, renter, rent-free occupancy, etc.)

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 <- housing_tenure(data = ech::toy_ech_2018)
#> A variable has been created: 
#>  	 housing_tenure (tenencia de la vivienda)