These R codes are for automated occupation coding in R. For implementing the codes, the following conditions must be met.
(1) Both training and test data are in either data.frame or matrix forms.
(2) The first column of a data set must contain numerical occupation codes.
For more detail about each method, please see
H. Gweon, M. Schonlau, L. Kaczmirek, M. Blohm, S. Steiner. Three Methods for Occupation Coding Based on Statistical Learning. Journal of Official Statistics. Volume 33, Issue 1, Pages 101–122, 2017.