Codes and Frequencies
Explore how IPUMS created this variable
class Hrsusual2 : public Editor {
public:
Hrsusual2(VarPointer varInfo) : Editor(varInfo) {}
void edit() {
long a = getRecoded();
switch (dataSet) {
case dataset_id::br1991a: {
int hw = BR1991A_0458() + BR1991A_0459();
if (hw == 0)
a = 0;
if (hw > 0 && hw < 15)
a = 1;
if (hw >= 15 && hw <= 29)
a = 2;
if (hw >= 30 && hw <= 39)
a = 3;
if (hw >= 40 && hw <= 48)
a = 4;
if (hw >= 49 && hw <= 168)
a = 5;
if (BR1991A_0458() == 99 || BR1991A_0459() == 99)
a = 8;
if (BR1991A_0458() == 99 && BR1991A_0459() == 99)
a = 9;
} break;
case dataset_id::ch2000a: {
a = CH2000A_0451() + CH2000A_0452();
if (a == 0)
a = 9;
if (a >= 1 && a <= 14)
a = 1;
if (a >= 15 && a <= 29)
a = 2;
if (a >= 30 && a <= 39)
a = 3;
if (a >= 40 && a <= 48)
a = 4;
if (a >= 49 && a <= 200)
a = 5;
if (CH2000A_0451() == 999)
a = 9;
if (CH2000A_0451() == 998 || CH2000A_0452() == 98)
a = 8;
} break;
case dataset_id::ng2006a: {
int hw = NG2006A_0422() + NG2006A_0428();
if (NG2006A_0428() == 99)
hw = NG2006A_0422();
if (hw == 0)
a = 0;
if (hw > 0 && hw < 15)
a = 1;
if (hw >= 15 && hw <= 29)
a = 2;
if (hw >= 30 && hw <= 39)
a = 3;
if (hw >= 40 && hw <= 48)
a = 4;
if (hw >= 49 && hw <= 168)
a = 5;
if (NG2006A_0422() == 998)
a = 8;
if (NG2006A_0422() == 999)
a = 9;
} break;
case dataset_id::ng2009a: {
int hw = NG2009A_0419() + NG2009A_0425();
if (NG2009A_0425() == 99)
hw = NG2009A_0419();
if (hw == 0)
a = 0;
if (hw > 0 && hw < 15)
a = 1;
if (hw >= 15 && hw <= 29)
a = 2;
if (hw >= 30 && hw <= 39)
a = 3;
if (hw >= 40 && hw <= 48)
a = 4;
if (hw >= 49 && hw <= 168)
a = 5;
if (NG2009A_0419() == 998)
a = 8;
if (NG2009A_0419() == 999)
a = 9;
} break;
case dataset_id::es2005h:
case dataset_id::es2005i:
case dataset_id::es2005j:
case dataset_id::es2005k:
case dataset_id::es2006h:
case dataset_id::es2006i:
case dataset_id::es2006j:
case dataset_id::es2006k:
case dataset_id::es2007h:
case dataset_id::es2007i:
case dataset_id::es2007j:
case dataset_id::es2007k:
case dataset_id::es2008h:
case dataset_id::es2008i:
case dataset_id::es2008j:
case dataset_id::es2008k:
case dataset_id::es2009h:
case dataset_id::es2009i:
case dataset_id::es2009j:
case dataset_id::es2009k:
case dataset_id::es2010h:
case dataset_id::es2010i:
case dataset_id::es2010j:
case dataset_id::es2010k:
case dataset_id::es2011h:
case dataset_id::es2011i:
case dataset_id::es2011j:
case dataset_id::es2011k:
case dataset_id::es2012h:
case dataset_id::es2012i:
case dataset_id::es2012j:
case dataset_id::es2012k:
case dataset_id::es2013h:
case dataset_id::es2013i:
case dataset_id::es2013j:
case dataset_id::es2013k:
case dataset_id::es2014h:
case dataset_id::es2014i:
case dataset_id::es2014j:
case dataset_id::es2014k:
case dataset_id::es2015h:
case dataset_id::es2015i:
case dataset_id::es2015j:
case dataset_id::es2015k:
case dataset_id::es2016h:
case dataset_id::es2016i:
case dataset_id::es2016j:
case dataset_id::es2016k:
case dataset_id::es2017h:
case dataset_id::es2017i:
case dataset_id::es2017j:
case dataset_id::es2017k:
case dataset_id::es2018h:
case dataset_id::es2018i:
case dataset_id::es2018j:
case dataset_id::es2018k:
case dataset_id::es2019h:
case dataset_id::es2019i:
case dataset_id::es2019j:
case dataset_id::es2019k:
case dataset_id::es2020h:
case dataset_id::es2020i:
case dataset_id::es2020j:
case dataset_id::es2020k: {
a = getRecodedFromEditedSource();
} break;
case dataset_id::mx2005h:
case dataset_id::mx2005i:
case dataset_id::mx2005j:
case dataset_id::mx2005k:
case dataset_id::mx2006h:
case dataset_id::mx2006i:
case dataset_id::mx2006j:
case dataset_id::mx2006k:
case dataset_id::mx2007h:
case dataset_id::mx2007i:
case dataset_id::mx2007j:
case dataset_id::mx2007k:
case dataset_id::mx2008h:
case dataset_id::mx2008i:
case dataset_id::mx2008j:
case dataset_id::mx2008k:
case dataset_id::mx2009h:
case dataset_id::mx2009i:
case dataset_id::mx2009j:
case dataset_id::mx2009k:
case dataset_id::mx2010h:
case dataset_id::mx2010i:
case dataset_id::mx2010j:
case dataset_id::mx2010k:
case dataset_id::mx2011h:
case dataset_id::mx2011i:
case dataset_id::mx2011j:
case dataset_id::mx2011k:
case dataset_id::mx2012h:
case dataset_id::mx2012i:
case dataset_id::mx2012j:
case dataset_id::mx2012k:
case dataset_id::mx2013h:
case dataset_id::mx2013i:
case dataset_id::mx2013j:
case dataset_id::mx2013k:
case dataset_id::mx2014h:
case dataset_id::mx2014i:
case dataset_id::mx2014j:
case dataset_id::mx2014k:
case dataset_id::mx2015h:
case dataset_id::mx2015i:
case dataset_id::mx2015j:
case dataset_id::mx2015k:
case dataset_id::mx2016h:
case dataset_id::mx2016i:
case dataset_id::mx2016j:
case dataset_id::mx2016k:
case dataset_id::mx2017h:
case dataset_id::mx2017i:
case dataset_id::mx2017j:
case dataset_id::mx2017k:
case dataset_id::mx2018h:
case dataset_id::mx2018i:
case dataset_id::mx2018j:
case dataset_id::mx2018k:
case dataset_id::mx2019h:
case dataset_id::mx2019i:
case dataset_id::mx2019j:
case dataset_id::mx2019k:
case dataset_id::mx2020h:
case dataset_id::mx2020j: {
a = getRecodedFromEditedSource();
} break;
}
setData(a);
}
};
Description
HRSUSUAL2 indicates the usual number of hours the respondent worked per week at all jobs or in their main job, categorized into intervals.
Comparability — Index
GENERAL Brazil Canada Costa Rica Germany Greece |
Hungary Israel Italy Kenya Portugal Puerto Rico |
Spain Switzerland United Kingdom United States Uruguay |
Comparability — General
HRSUSUAL2 reports the usual number of hours worked in a typical week expressed into intervals. In contrast, HRSACTUAL2 indicates the actual number of hours worked during the reference week. HRSWORK2 combines information available from HRSACTUAL2 and HRSUSUAL2 into a single harmonized variable.
The primary comparability issue is whether usual hours of work include only the main or also secondary jobs; some questionnaires refer broadly to "hours usually worked" without specifying if secondary jobs were to be counted. The following samples deal only with the respondent's main job: Brazil 2010, Costa Rica 1984, the Spain Labor Force Surveys, Greece 2001, Italy 2011, Portugal 1991-2011, United Kingdom 1991-2001, and Uruguay 2006.
The universe of persons to whom the question applies varies across the samples in age as well as employment status. Not all samples required that the person was currently working at the time of the census, thus respondents may provide information about their last job or their usual job over the previous year.
Persons with an irregular work schedule generally report the average number of working hours per week over certain reference period, but some samples provide a special response category to identify these cases.
HRSUSUAL2 largely replicates the information in HRSUSUAL1. The key difference between the two variables is that HRSUSUAL2 has categorized the response into intervals (less than 15 hours, 15-29 hours, and so forth). HRSUSUAL2 also contains some additional samples.
Some samples have slightly different categorizations noted in the country comparability discussions, and some samples are top-coded at the 40 to 48 hour category (see the codes page). For samples top-coded beneath the "49 or more" interval, refer to the category availability tab to identify them or review the frequencies.
Where the underlying data were already categorized, the intervals do not always exactly match those documented in the labels for HRSUSUAL2. These are the exceptions:
20 to 29: Canada 1971
40 or more: Israel 1983-1995
45 or more: Portugal 1991-2011
Some samples record implausible numbers of hours. All responses above 140 hours are coded to "unknown." The original information is retained in the source variables.
Similar information to HRSUSUAL2 (not categorized) is available in HRSMAIN, which reports hours worked in the person's principal occupation. For most people this equals their total hours worked.
Comparability — Brazil [top]
The 1991 and 2000 samples combine the number of hours usually worked across all jobs, while in 2010 they refer to the main job only. The hours of usual work include time spent outside of the workplace in work-related tasks, but they exclude time set aside for meals.
In 1991 and 2000, enumerators were instructed to round up periods of 30 minutes or more, while they should round down periods less than 30 minutes. In 2010, the variable counts only full hours, thus all responses are rounded down.
Comparability — Canada [top]
The 1971 sample includes information on the usual number of hours worked at a main job even if the person was temporarily absent. If the person did not work last week, they were to report the usual number of hours in the job of longest duration in the previous year.
The 1971 sample reports intervals of 1-19 hours, 20-29 hours, 40-49 hours, and 50+ hours that are not fully compatible with the other integrated samples.
Comparability — Costa Rica [top]
The question asked for the number of hours the person usually worked per week in his or her main job; respondents were to state the hours usually worked in their last job if they were unemployed. The 1984 sample has a top-code at 80 hours per week.
Comparability — Germany [top]
The variable is available only for the 1970 sample. The categorization for the Germany 1970 sample is slightly different at the 30 hour per week break point. The Germany sample includes 30 hours per week in the "15-29" hours grouping, whereas the integrated variable for other samples codes 30 hours per week to the "30-39 hours" category. In addition, the highest category available for the Germany sample is "More than 30 hours" which is entered here in the "30 to 39 hours" category.
Comparability — Greece [top]
The 2001 sample asks about the usual hours of work in a typical week in the main job, while the 2011 sample does not specify whether it refers to the main or all jobs.
In 2011, enumerators included in the usual hours of work the time that the individual is present at their work, time spent with clients, and also time spent outside the workplace in work-related tasks (for example, time correcting and preparing lessons for teachers.)
The data for the Greece 2001 sample is top-coded at 98+ and the 2011 at 70+ hours per week.
The 1971, 1981, 1991, 2001 and 2011 samples have a different variable that indicates actual number of hours worked in the previous week which is integrated into HRSWORK2 and HRSACTUAL2.
Comparability — Hungary [top]
The question asked for the number of hours the person usually worked per week; employees report the hours defined in their contract, while self-employed (entrepreneurs) report those required by their job (including preparation for the productive or service activity.) The data for the Hungary 2001 sample are top-coded at 96+ hours per week.
Comparability — Israel [top]
The Israel samples ask about the usual number of hours worked at all jobs.
The 1972 sample uses slightly different categories: 40 to 49 and 50 or more hours. The 1983, 1995, and 2008 samples are top-coded at 40 to 48 hours. The 2008 sample includes an additional category for persons who did not work at all.
Comparability — Italy [top]
The 2011 census inquires about the usual number of hours worked in their primary job, including overtime and related activities (for example, preparing lessons for teachers), but excluding commuting and meal times. Persons not working at present needed to refer to their last job. Responses were top-coded at 71+ hours.
Comparability — Kenya [top]
The sample records the usual number of hours of work in the week prior to the census. If a person did not work in that week but held a job, he or she was to report the usual number of hours worked.
Comparability — Portugal [top]
The samples refer to usual hours of work per week. For samples 1991 - 2011, the top integrated category is 40+ hours as the original data has a top code at 45+ hours.
Hours of work data for 1981 are not included because they were not compatibly categorized.
Comparability — Puerto Rico [top]
The data record usual hours worked per week the previous year.
Data on actual hours worked last week, grouped into categories, is available for 1970 in HRSWORK2.
Comparability — Spain [top]
In 2001, the question asked for the number of hours the person usually worked per week. The data are top-coded at 99 hours per week. The questionnaire does not clarify whether the question refers to all jobs or only the main one.
Comparability — Switzerland [top]
In 2000, usual hours of work include those in full-time and part-time employment but not hours spent doing volunteer work, housework, or caring for the family. See the unharmonized source variables to identify these values separately. The 2011 sample includes both full-time and part-time employment. The distribution of usual hours in 2000 shows relatively more persons working 1 to 14 hours with respect to the 2011 sample.
Other Switzerland samples have information available about usual hours of work in the unharmonized source variables that could not be integrated into HRSUSUAL2.
Comparability — United Kingdom [top]
The 1991 and 2001 samples both refer to usual number of hours worked at a main occupation. In 1991, instructions for enumerators indicate to exclude overtime or meal breaks; in 2001, the number provided should be the average of the last four weeks.
The 2001 sample excluded persons older than 74 years from the question.
Comparability — United States [top]
The data for all samples in 1980 to 2020 record usual hours worked per week the previous year.
Data on actual hours worked per week, grouped into categories, is available for 1960 and 1970 in HRSWORK2.
Comparability — Uruguay [top]
The 2006 sample reports usual hours worked in the primary job.
Universe
- Brazil 1980: Persons age 10+ who worked in the previous year
- Brazil 1991: Persons age 10+ who worked in the previous year
- Brazil 2000: Persons age 10+ who worked last week
- Brazil 2010: Persons age 10+ who worked last week, excluding those working for household subsistence
- Canada 1971: Persons age 15+ who worked in the previous year
- Costa Rica 1984: Persons age 12+ who worked or were seeking work and had worked in the past
- Germany 1970: Persons age 15+ who were employed
- Greece 2001: Persons age 10+ who worked in the previous year
- Greece 2011: Persons who worked last week
- Hungary 2001: Persons who were employed
- Israel 1972: Persons age 14+ in the labor force
- Israel 1983: Persons age 15+ in annual labor force
- Israel 1995: Persons age 15+ in annual labor force
- Israel 2008: Persons age 15+ in annual labor force
- Italy 2011: Persons age 15+ who ever worked
- Kenya 2009: Persons age 5+ who worked or were on leave
- Portugal 1991: Persons employed or seeking work
- Portugal 2001: Persons employed or seeking work
- Portugal 2011: Persons age 15+ who were economically active
- Puerto Rico 1980: Persons age 16+ who worked last year
- Puerto Rico 1990: Persons age 16+ who worked last year
- Puerto Rico 2000: Persons age 16+ who worked last year
- Puerto Rico 2005: Persons age 16+ who worked last year
- Puerto Rico 2010: Persons age 16+ who worked last year
- Puerto Rico 2015: Persons age 16+ who worked last year
- Puerto Rico 2020: Persons age 16+ who worked last year
- Spain 2001: Persons age 16+ who worked last week
- Switzerland 2000: Persons age 15+ who were employed
- Switzerland 2011: Economically active persons
- United Kingdom 1991: Persons age 16+ who worked within last 10 years
- United Kingdom 2001: Persons age 16-74 employed in England, Wales and Ireland, or ever worked in Scotland
- United States 1980: Persons age 16+ who worked last year
- United States 1990: Persons age 16+ who worked last year
- United States 2000: Persons age 16+ who worked last year
- United States 2005: Persons age 16+ who worked last year
- United States 2010: Persons age 16+ who worked last year
- United States 2015: Persons age 16+ who worked last year
- United States 2020: Persons age 16+ who worked last year
- Uruguay 2006: Persons age 14+ who worked last week
Availability
- Brazil: 1980, 1991, 2000, 2010
- Canada: 1971
- Costa Rica: 1984
- Germany: 1970
- Greece: 2001, 2011
- Hungary: 2001
- Israel: 1972, 1983, 1995, 2008
- Italy: 2011, 2011Q1, 2012Q1, 2013Q1, 2014Q1, 2015Q1, 2016Q1, 2017Q1, 2018Q1, 2019Q1, 2020Q1
- Kenya: 2009
- Mexico: 2005Q1, 2005Q2, 2005Q3, 2005Q4, 2006Q1, 2006Q2, 2006Q3, 2006Q4, 2007Q1, 2007Q2, 2007Q3, 2007Q4, 2008Q1, 2008Q2, 2008Q3, 2008Q4, 2009Q1, 2009Q2, 2009Q3, 2009Q4, 2010Q1, 2010Q2, 2010Q3, 2010Q4, 2011Q1, 2011Q2, 2011Q3, 2011Q4, 2012Q1, 2012Q2, 2012Q3, 2012Q4, 2013Q1, 2013Q2, 2013Q3, 2013Q4, 2014Q1, 2014Q2, 2014Q3, 2014Q4, 2015Q1, 2015Q2, 2015Q3, 2015Q4, 2016Q1, 2016Q2, 2016Q3, 2016Q4, 2017Q1, 2017Q2, 2017Q3, 2017Q4, 2018Q1, 2018Q2, 2018Q3, 2018Q4, 2019Q1, 2019Q2, 2019Q3, 2019Q4, 2020Q1, 2020Q3
- Nigeria: 2006, 2007, 2008, 2009
- Portugal: 1991, 2001, 2011
- Puerto Rico: 1980, 1990, 2000, 2005, 2010, 2015, 2020
- Spain: 2001, 2005Q1, 2005Q2, 2005Q3, 2005Q4, 2006Q1, 2006Q2, 2006Q3, 2006Q4, 2007Q1, 2007Q2, 2007Q3, 2007Q4, 2008Q1, 2008Q2, 2008Q3, 2008Q4, 2009Q1, 2009Q2, 2009Q3, 2009Q4, 2010Q1, 2010Q2, 2010Q3, 2010Q4, 2011Q1, 2011Q2, 2011Q3, 2011Q4, 2012Q1, 2012Q2, 2012Q3, 2012Q4, 2013Q1, 2013Q2, 2013Q3, 2013Q4, 2014Q1, 2014Q2, 2014Q3, 2014Q4, 2015Q1, 2015Q2, 2015Q3, 2015Q4, 2016Q1, 2016Q2, 2016Q3, 2016Q4, 2017Q1, 2017Q2, 2017Q3, 2017Q4, 2018Q1, 2018Q2, 2018Q3, 2018Q4, 2019Q1, 2019Q2, 2019Q3, 2019Q4, 2020Q1, 2020Q2, 2020Q3, 2020Q4
- Switzerland: 2000, 2011
- United Kingdom: 1991, 2001
- United States: 1980, 1990, 2000, 2005, 2010, 2015, 2020
- Uruguay: 2006