
Get the code Level
level.Rd
Gets the levels for a vector of codes from a codingsystem The type returned depends on the data.
Examples
level(soc1980_all,"99-99") # "division"
#> 99-99
#> "division"
level(soc2010_all,c("11-1011","11-2010")) # c(6,5)
#> 11-1011 11-2010
#> 6 5