View source: R/soc_2010.R View source: R/codingsystem.R
to_level | R Documentation |
A utility function for converting occupational codes to higher levels in the hierarchy.
to_level(codingsystem, level)
codingsystem |
The coding system we are using |
level |
The level in the coding system we want. Should be a column name in the codingsystem table. |
a function that converts a vector of codes from a lower level to a the level input.
to_soc2010_2d <- to_level(soc2010_all, soc2d)
to_soc2010_2d(c("11-1011","15-1110"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.