OCCSTRNG is a 30-character string variable.
Explore how IPUMS created this variable
class Occstrng : public Editor {
public:
Occstrng(VarPointer varInfo) : Editor(varInfo) {}
void edit() {
// Some strings are shorter coming than going out. By default
// they get right justified which can result in :
//
// " MYNAME "
//
string orig = getRecodedString();
// fill out spaces on right:
auto final = leftJustify(orig, varInfo->getColumnWidth(), ' ');
setData(final);
}
};
Description
OCCSTRNG is an alphabetic variable that preserves the transcription of an individual's response to questions about their occupation. Although the various occupation and industry codes preserve significant detail on occupation and industry, much variation exists in the occupational strings.
OCCSTRNG will primarily be of interest to researchers who are linking census data to other sources, or are investigating occupations at a much more detailed level than offered by the various coding schemes.
The collection of occupation information was extensively covered in the instructions to enumerators. Researchers who are interested in OCCSTRNG should also read the enumerator instructions for assistance in interpreting occupational responses.
Because of the size of this variable (30 columns), users should not select this variable unless it is essential for their research. Users should be aware that some responses are truncated at this length.
Comparability — General
Information on the comparability of occupational responses is available in the documentation for the variable OCCHISCO.
Universe
Availability
- Canada: 1871, 1881, 1891, 1901
- Denmark: 1787, 1801
- Germany: 1819
- Iceland: 1901, 1910
- Norway: 1801
- Sweden: 1880, 1890, 1900, 1910
- United Kingdom: 1851a, 1851c, 1861a, 1861b, 1871b, 1881a, 1881b, 1891a, 1891b, 1901a, 1901b, 1911
- United States: 1850a, 1850b, 1860, 1870, 1880a, 1880b, 1900, 1910