This function allows you to calculate de Unsatisfied Basic Needs

unsatisfied_basic_needs(
  data = ech::toy_ech_2018,
  c2 = "c2",
  c3 = "c3",
  c4 = "c4",
  d9 = "d9",
  d11 = "d11",
  d12 = "d12",
  d13 = "d13",
  d14 = "d14",
  d15 = "d15",
  d16 = "d16",
  d18 = "d18",
  d19 = "d19",
  d21_1 = "d21_1",
  d21_2 = "d21_2",
  d21_3 = "d21_3",
  d260 = "d260",
  ht19 = "ht19",
  pobre06 = "pobre06",
  e27 = "e27",
  school_enrollment = "school_enrollment",
  years_schooling = "years_schooling",
  e238 = "e238",
  anio = "anio"
)

Arguments

data

data.frame

c2

Variable name of predominant material on external walls

c3

Variable name of predominant roofing material

c4

Variable name of predominant flooring material

d9

Variable name of number of rooms

d11

Variable name of principal source of potable water

d12

Variable name of water supply network / water access

d13

Variable name of sanitary facilities

d14

Variable name of bathroom presence

d15

Variable name of private bathroom use

d16

Variable name of sewerage facilities

d18

Variable name of energy source for lighting

d19

Variable name of cooking space

d21_1

Variable name of heater or termophon presence

d21_2

Variable name of instantaneous water heater presence

d21_3

Variable name of fridge presence

d260

Variable name of energy source for heating

ht19

Variable name of number of individuals in the household

pobre06

Variable name of poverty

e27

Variable name of age

school_enrollment

Variable name of school_enrollment

years_schooling

Variable name of years_schooling

e238

Variable name of attendance to initial education

anio

Variable name of survey year

Value

data.frame

Details

Based on [Fascículo I: Las Necesidades Básicas Insatisfechas a partir de los Censos 2011](https://www5.ine.gub.uy/documents/Demograf Disclaimer: This script is not an official INE product. Aviso: El script no es un producto oficial de INE.

See also

Examples

# \donttest{
toy_ech_18 <- enrolled_school(data = ech::toy_ech_2018)
#> A variable has been created: 
#>  	  school_enrollment (matriculacion escolar)
toy_ech_18 <- years_of_schooling(toy_ech_18)
#> A variable has been created: 
#>  	  years_schooling (anios de escolaridad)
toy_ech_18 <- unsatisfied_basic_needs(toy_ech_18)
#> Variables have been created: 
#>  	 UBN_housing (NBI vivienda);
#>             UBN_water (NBI acceso al agua);
#>             UBN_sewerage (NBI saneamiento);
#>             UBN_electricity (NBI electricidad);
#>             UBN_confort (NBI confort);
#>             UBN_education (NBI educacion);
#>             UBN_q (suma de NBIs) &
#>             UBN (Categoria NBI)
# }