housing_deprivation: This function allows you to calculate the housing status

View source: R/dwelling.R

housing_deprivationR Documentation

This function allows you to calculate the housing status

Description

This function allows you to calculate the housing status

Usage

housing_deprivation(
  data = ech::toy_ech_2018,
  n = 1,
  ht19 = "ht19",
  d9 = "d9",
  d10 = "d10",
  d11 = "d11",
  d12 = "d12",
  d13 = "d13",
  d16 = "d16",
  d18 = "d18",
  d19 = "d19",
  c2 = "c2",
  c3 = "c3",
  c4 = "c4",
  quintil = "quintil",
  region_4 = "region_4"
)

Arguments

data

data.frame

n

number of deprivations to consider. Default 1

ht19

Variable name of number of individuals in the household

d9

Variable name of number of rooms

d10

Variable name of number of rooms to sleep

d11

Variable name of principal source of potable water

d12

Variable name of water supply network / water access

d13

Variable name of sanitary facilities

d16

Variable name of sewerage facilities

d18

Variable name of energy source for lighting

d19

Variable name of cooking space

c2

Variable name of predominant material on external walls

c3

Variable name of predominant roofing material

c4

Variable name of predominant flooring material

quintil

Variable name of income quintil

region_4

Variable name of region

Details

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

Value

data.frame

See Also

Other dwelling: housing_conditions(), housing_situation(), housing_tenure(), overcrowding()

Examples


toy_ech_2018 <- income_constant_prices(data = ech::toy_ech_2018)
toy_ech_2018 <- income_quantiles(data = toy_ech_2018)
toy_ech_2018 <- housing_deprivation(data = toy_ech_2018)


calcita/ech documentation built on March 2, 2024, 7:54 a.m.