to_level
to_level.Rd
A utility function for converting occupational codes to higher levels in the hierarchy.
Examples
to_soc2010_2d <- to_level(soc2010_all, soc2d)
to_soc2010_2d(c("11-1011","15-1110"))
#> [1] "11-0000" "15-0000"
to_level.Rd
A utility function for converting occupational codes to higher levels in the hierarchy.
to_soc2010_2d <- to_level(soc2010_all, soc2d)
to_soc2010_2d(c("11-1011","15-1110"))
#> [1] "11-0000" "15-0000"