Collecting and Using Industry and Occupation Data

Collecting and Using Industry and Occupation Data logo

Program Code for Census 2012 Industry and 2010 Occupation Codes

Use the following code if your source data uses Census 2012 industry and 2010 occupation codes. This is the coding scheme used by the autocoder included in Epi Info 7.2.4 and in the NIOSH Industry and Occupation Computerized Coding System (NIOCCS).

Using the text files below, copy and paste the program code directly into the Program Editor of Epi Info 7’s Classic Analysis module.

Notes:

  • For illustration purposes, the variables containing the industry and occupation codes referred to by the programs are named ICode and OCode respectively. These names match the default names of the industry and occupation code variables in the IOCode field template included in the Epi Info 7.2.4 Form Designer module.
  • If the variables containing the industry and occupation codes in your dataset have different names, be sure to replace the text strings ICode and OCode in the programs with the variable names used in your dataset.
  • Similarly, the programs are written to create new, recoded variables for broad industry and occupational groups called MjIndGrp and MjOccGrp and for detailed industry and occupational groups called DtIndGrp and DtOccGrp respectively.
  • If you want to use different names for your industry and occupational group variables, be sure to change those text strings to the variable names you want to use as well.
  • Also, the program code for the 2012 industry and 2010 occupation codes includes the industry code 9990 and the occupation code 9900, each corresponding to “Insufficient information.” These codes are not used by the Census Bureau and are not part of their categorization scheme for major and detailed industry and occupation groups. They are included here because they are codes used by the autocoder included in Epi Info when there is not enough information to assign a specific code. If you coded your industry and occupation variables using Epi Info or NIOCCS, these codes may appear in your data.