years_of_schooling.Rd
This function allows you to calculate the years of schooling
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
)
data.frame
Variable name of attendance school
Variable name of years passed in primary
Variable name of years passed in special primary
Variable name of years passed in lower secondary
Variable name of years passed in upper secondary
Variable name of years passed in bachillerato tecnologico
Variable name of years passed in technical education
Variable name of technical education requirements
Variable name of years passed in magisterio/profesorado
Variable name of years passed in university or similar
Variable name of years passed in tertiary (non-university)
Variable name of years passed in postgrade
Maximum years of schooling
data.frame
Disclaimer: This script is not an official INE product. Aviso: El script no es un producto oficial de INE.
Other education:
enrolled_school()
,
level_completion()
,
level_education()
,
organize_educ()
# \donttest{
toy_ech_2018 <- years_of_schooling(data = ech::toy_ech_2018)
#> A variable has been created:
#> years_schooling (anios de escolaridad)
# }