Cross SINCO 2011 (Mexico) to ISCO 08
sinco2011_to_isco08(base, sinco, summary = FALSE, code_titles = FALSE)
Dataframe from mexican survey including a variable with "Sistema Nacional de Clasificacion de Ocupaciones 2011" (SINCO 2011) codes
character vector containing SINCO 2011 codes
If TRUE provides other dataframe counting how many cases where asigned for each Census 08 code to each ISCO88 code.
If TRUE adds classification titles besides from codes.
The function returns the provided dataframe, adding a new variable with the crosswalk to ISCO 08 codes
base_crossed <- sinco2011_to_isco08(
base = toy_base_mexico,
sinco = p3,
summary = FALSE,
code_titles = TRUE)
#> Warning: The following codes from the provided database were not found in 'crosstable_sinco2011_isco08' and it was not possible to crosswalk them: NA
#> Joining with `by = join_by(ISCO.08)`