isco88_to_isco08_ndigit: Cross ISCO 88 to ISCO 08 - n digit

View source: R/isco_88_to_isco_08_Ndigit.R

isco88_to_isco08_ndigitR Documentation

Cross ISCO 88 to ISCO 08 - n digit

Description

Cross ISCO 88 to ISCO 08 - n digit

Usage

isco88_to_isco08_ndigit(
  base,
  isco,
  digits,
  summary = FALSE,
  code_titles = FALSE
)

Arguments

base

Dataframe from any survey including a variable with ISCO 88 codes

isco

character vector containing ISCO 88 codes

digits

Digits number (ranging from 1 to 4) for ISCO codes in input data

summary

If TRUE provides other dataframe counting how many cases where asigned for each ISCO88 code to each ISCO08 code.

Value

The function returns the provided dataframe, adding a new variable with the crosswalk to ISCO 08 codes

Examples



toy_base_peru_isco08 <- isco88_to_isco08_ndigit(toy_base_peru,isco = p505,digits = 3)

Guidowe/occupationcross documentation built on Oct. 4, 2023, 12:09 p.m.