years_of_schooling {ech}R Documentation

This function allows you to calculate the years of schooling

Description

This function allows you to calculate the years of schooling

Usage

years_of_schooling(
  data = ech::toy_ech_2018,
  e193 = "e193",
  e51_2 = "e51_2",
  e51_3 = "e51_3",
  e51_4 = "e51_4",
  e51_5 = "e51_5",
  e51_6 = "e51_6",
  e51_7 = "e51_7",
  e51_7_1 = "e51_7_1",
  e51_8 = "e51_8",
  e51_9 = "e51_9",
  e51_10 = "e51_10",
  e51_11 = "e51_11",
  max_years = 22
)

Arguments

data

data.frame

e193

Variable name of attendance school

e51_2

Variable name of years passed in primary

e51_3

Variable name of years passed in special primary

e51_4

Variable name of years passed in lower secondary

e51_5

Variable name of years passed in upper secondary

e51_6

Variable name of years passed in bachillerato tecnologico

e51_7

Variable name of years passed in technical education

e51_7_1

Variable name of technical education requirements

e51_8

Variable name of years passed in magisterio/profesorado

e51_9

Variable name of years passed in university or similar

e51_10

Variable name of years passed in tertiary (non-university)

e51_11

Variable name of years passed in postgrade

max_years

Maximum years of schooling

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 education: enrolled_school(), level_completion(), level_education(), organize_educ()

Examples


toy_ech_2018 <- years_of_schooling(data = ech::toy_ech_2018)


[Package ech version 0.1.3 Index]