Codes and Frequencies
Explore how IPUMS created this variable
class Hrsusual1 : public Editor {
public:
Hrsusual1(VarPointer varInfo) : Editor(varInfo) {}
void edit() {
long a = getRecoded();
switch (dataSet) {
case dataset_id::br1991a: {
a = BR1991A_0458() + BR1991A_0459();
if (BR1991A_0458() == 99)
a = 999;
if (a > 140 && BR1991A_0458() != 99)
a = 140;
} break;
case dataset_id::ch2000a: {
a = CH2000A_0451() + CH2000A_0452();
if (CH2000A_0451() == 999)
a = 999;
if (CH2000A_0451() == 998 || CH2000A_0452() == 98)
a = 998;
if (a > 140 && CH2000A_0451() < 998 && CH2000A_0452() < 98)
a = 140;
if (a == 0)
a = 999;
} 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: {
long wkhours = valueFromFirstAvailable(
{ES2005H_0446_ref, ES2005I_0446_ref, ES2005J_0446_ref,
ES2005K_0446_ref, ES2006H_0446_ref, ES2006I_0446_ref,
ES2006J_0446_ref, ES2006K_0446_ref, ES2007H_0446_ref,
ES2007I_0446_ref, ES2007J_0446_ref, ES2007K_0446_ref,
ES2008H_0446_ref, ES2008I_0446_ref, ES2008J_0446_ref,
ES2008K_0446_ref, ES2009H_0446_ref, ES2009I_0446_ref,
ES2009J_0446_ref, ES2009K_0446_ref, ES2010H_0446_ref,
ES2010I_0446_ref, ES2010J_0446_ref, ES2010K_0446_ref,
ES2011H_0446_ref, ES2011I_0446_ref, ES2011J_0446_ref,
ES2011K_0446_ref, ES2012H_0446_ref, ES2012I_0446_ref,
ES2012J_0446_ref, ES2012K_0446_ref, ES2013H_0446_ref,
ES2013I_0446_ref, ES2013J_0446_ref, ES2013K_0446_ref,
ES2014H_0446_ref, ES2014I_0446_ref, ES2014J_0446_ref,
ES2014K_0446_ref, ES2015H_0446_ref, ES2015I_0446_ref,
ES2015J_0446_ref, ES2015K_0446_ref, ES2016H_0446_ref,
ES2016I_0446_ref, ES2016J_0446_ref, ES2016K_0446_ref,
ES2017H_0446_ref, ES2017I_0446_ref, ES2017J_0446_ref,
ES2017K_0446_ref, ES2018H_0446_ref, ES2018I_0446_ref,
ES2018J_0446_ref, ES2018K_0446_ref, ES2019H_0446_ref,
ES2019I_0446_ref, ES2019J_0446_ref, ES2019K_0446_ref,
ES2020H_0446_ref, ES2020I_0446_ref, ES2020J_0446_ref,
ES2020K_0446_ref});
if ((wkhours - ((wkhours / 100) * 100)) < 30) {
a = (wkhours / 100);
}
if ((wkhours - ((wkhours / 100) * 100)) >= 30) {
a = (wkhours / 100) + 1;
}
if (a > 140 && wkhours < 9998) {
a = 140;
}
if (wkhours == 9998) {
a = 998;
}
if (wkhours == 9999) {
a = 999;
}
} break;
case dataset_id::ng2006a: {
a = NG2006A_0422() + NG2006A_0428();
if (NG2006A_0428() == 99)
a = NG2006A_0422();
if (NG2006A_0422() == 999)
a = 999;
if (NG2006A_0422() == 998)
a = 998;
if (a > 140 & a < 998)
a = 140;
} break;
case dataset_id::ng2009a: {
a = NG2009A_0419() + NG2009A_0425();
if (NG2009A_0425() == 99)
a = NG2009A_0419();
if (NG2009A_0419() == 999)
a = 999;
if (NG2009A_0419() == 998)
a = 998;
if (a > 140 & a < 998)
a = 140;
} break;
case dataset_id::mx2006j:
case dataset_id::mx2006k:
case dataset_id::mx2007h:
case dataset_id::mx2007j:
case dataset_id::mx2007k:
case dataset_id::mx2008h:
case dataset_id::mx2008j:
case dataset_id::mx2008k:
case dataset_id::mx2009i:
case dataset_id::mx2009j:
case dataset_id::mx2009k:
case dataset_id::mx2010i:
case dataset_id::mx2010j:
case dataset_id::mx2010k:
case dataset_id::mx2011i:
case dataset_id::mx2011j:
case dataset_id::mx2011k:
case dataset_id::mx2012i:
case dataset_id::mx2012j:
case dataset_id::mx2012k:
case dataset_id::mx2013i:
case dataset_id::mx2013j:
case dataset_id::mx2013k:
case dataset_id::mx2014i:
case dataset_id::mx2014j:
case dataset_id::mx2014k:
case dataset_id::mx2015i:
case dataset_id::mx2015j:
case dataset_id::mx2015k:
case dataset_id::mx2016i:
case dataset_id::mx2016j:
case dataset_id::mx2016k:
case dataset_id::mx2017i:
case dataset_id::mx2017j:
case dataset_id::mx2017k:
case dataset_id::mx2018i:
case dataset_id::mx2018j:
case dataset_id::mx2018k:
case dataset_id::mx2019i:
case dataset_id::mx2019j:
case dataset_id::mx2019k:
case dataset_id::mx2020j: {
long hrswrk = valueFromFirstAvailable(
{MX2006J_0712_ref, MX2006K_0712_ref, MX2007H_0712_ref,
MX2007J_0712_ref, MX2007K_0712_ref, MX2008H_0712_ref,
MX2008J_0712_ref, MX2008K_0712_ref, MX2009I_0712_ref,
MX2009J_0712_ref, MX2009K_0712_ref, MX2010I_0712_ref,
MX2010J_0712_ref, MX2010K_0712_ref, MX2011I_0712_ref,
MX2011J_0712_ref, MX2011K_0712_ref, MX2012I_0712_ref,
MX2012J_0712_ref, MX2012K_0712_ref, MX2013I_0712_ref,
MX2013J_0712_ref, MX2013K_0712_ref, MX2014I_0712_ref,
MX2014J_0712_ref, MX2014K_0712_ref, MX2015I_0712_ref,
MX2015J_0712_ref, MX2015K_0712_ref, MX2016I_0712_ref,
MX2016J_0712_ref, MX2016K_0712_ref, MX2017I_0712_ref,
MX2017J_0712_ref, MX2017K_0712_ref, MX2018I_0712_ref,
MX2018J_0712_ref, MX2018K_0712_ref, MX2019I_0712_ref,
MX2019J_0712_ref, MX2019K_0712_ref, MX2020J_0712_ref});
long areusual = valueFromFirstAvailable(
{MX2006J_0713_ref, MX2006K_0713_ref, MX2007H_0713_ref,
MX2007J_0713_ref, MX2007K_0713_ref, MX2008H_0713_ref,
MX2008J_0713_ref, MX2008K_0713_ref, MX2009I_0713_ref,
MX2009J_0713_ref, MX2009K_0713_ref, MX2010I_0713_ref,
MX2010J_0713_ref, MX2010K_0713_ref, MX2011I_0713_ref,
MX2011J_0713_ref, MX2011K_0713_ref, MX2012I_0713_ref,
MX2012J_0713_ref, MX2012K_0713_ref, MX2013I_0713_ref,
MX2013J_0713_ref, MX2013K_0713_ref, MX2014I_0713_ref,
MX2014J_0713_ref, MX2014K_0713_ref, MX2015I_0713_ref,
MX2015J_0713_ref, MX2015K_0713_ref, MX2016I_0713_ref,
MX2016J_0713_ref, MX2016K_0713_ref, MX2017I_0713_ref,
MX2017J_0713_ref, MX2017K_0713_ref, MX2018I_0713_ref,
MX2018J_0713_ref, MX2018K_0713_ref, MX2019I_0713_ref,
MX2019J_0713_ref, MX2019K_0713_ref, MX2020J_0713_ref});
long regsch = valueFromFirstAvailable(
{MX2006J_0747_ref, MX2006K_0747_ref, MX2007H_0747_ref,
MX2007J_0747_ref, MX2007K_0747_ref, MX2008H_0747_ref,
MX2008J_0747_ref, MX2008K_0747_ref, MX2009I_0747_ref,
MX2009J_0747_ref, MX2009K_0747_ref, MX2010I_0747_ref,
MX2010J_0747_ref, MX2010K_0747_ref, MX2011I_0747_ref,
MX2011J_0747_ref, MX2011K_0747_ref, MX2012I_0747_ref,
MX2012J_0747_ref, MX2012K_0747_ref, MX2013I_0747_ref,
MX2013J_0747_ref, MX2013K_0747_ref, MX2014I_0747_ref,
MX2014J_0747_ref, MX2014K_0747_ref, MX2015I_0747_ref,
MX2015J_0747_ref, MX2015K_0747_ref, MX2016I_0747_ref,
MX2016J_0747_ref, MX2016K_0747_ref, MX2017I_0747_ref,
MX2017J_0747_ref, MX2017K_0747_ref, MX2018I_0747_ref,
MX2018J_0747_ref, MX2018K_0747_ref, MX2019I_0747_ref,
MX2019J_0747_ref, MX2019K_0747_ref, MX2020J_0747_ref});
if (areusual == 1 && hrswrk <= 140) {
a = hrswrk;
}
if (areusual == 1 && hrswrk > 140 && hrswrk <= 168) {
a = 140;
}
if (areusual == 2 && regsch == 2) {
a = 997;
}
} 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::mx2007i:
case dataset_id::mx2008i:
case dataset_id::mx2009h:
case dataset_id::mx2010h:
case dataset_id::mx2011h:
case dataset_id::mx2012h:
case dataset_id::mx2013h:
case dataset_id::mx2014h:
case dataset_id::mx2015h:
case dataset_id::mx2016h:
case dataset_id::mx2017h:
case dataset_id::mx2018h:
case dataset_id::mx2019h:
case dataset_id::mx2020h: {
long hrswrk = valueFromFirstAvailable(
{MX2005H_0729_ref, MX2005I_0729_ref, MX2005J_0729_ref,
MX2005K_0729_ref, MX2006H_0729_ref, MX2006I_0729_ref,
MX2007I_0729_ref, MX2008I_0729_ref, MX2009H_0729_ref,
MX2010H_0729_ref, MX2011H_0729_ref, MX2012H_0729_ref,
MX2013H_0729_ref, MX2014H_0729_ref, MX2015H_0729_ref,
MX2016H_0729_ref, MX2017H_0729_ref, MX2018H_0729_ref,
MX2019H_0729_ref, MX2020H_0729_ref});
long areusual = valueFromFirstAvailable(
{MX2005H_0730_ref, MX2005I_0730_ref, MX2005J_0730_ref,
MX2005K_0730_ref, MX2006H_0730_ref, MX2006I_0730_ref,
MX2007I_0730_ref, MX2008I_0730_ref, MX2009H_0730_ref,
MX2010H_0730_ref, MX2011H_0730_ref, MX2012H_0730_ref,
MX2013H_0730_ref, MX2014H_0730_ref, MX2015H_0730_ref,
MX2016H_0730_ref, MX2017H_0730_ref, MX2018H_0730_ref,
MX2019H_0730_ref, MX2020H_0730_ref});
long regsch = valueFromFirstAvailable(
{MX2005H_0765_ref, MX2005I_0765_ref, MX2005J_0765_ref,
MX2005K_0765_ref, MX2006H_0765_ref, MX2006I_0765_ref,
MX2007I_0765_ref, MX2008I_0765_ref, MX2009H_0765_ref,
MX2010H_0765_ref, MX2011H_0765_ref, MX2012H_0765_ref,
MX2013H_0765_ref, MX2014H_0765_ref, MX2015H_0765_ref,
MX2016H_0765_ref, MX2017H_0765_ref, MX2018H_0765_ref,
MX2019H_0765_ref, MX2020H_0765_ref});
if (areusual == 1 && hrswrk <= 140) {
a = hrswrk;
}
if (areusual == 1 && hrswrk > 140 && hrswrk <= 168) {
a = 140;
}
if (areusual == 2 && regsch == 2) {
a = 997;
}
} break;
}
setData(a);
}
};
Description
HRSUSUAL1 indicates the usual number of hours the respondent works in a typical week across all jobs or in their main job.
Comparability — Index
GENERAL Brazil Costa Rica Greece |
Hungary Italy Puerto Rico Spain |
Switzerland United Kingdom United States Uruguay |
Comparability — General
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, 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 worked 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.
Most samples top-code the number of hours somewhere between 80 and 99; others allow responses well over 100 hours. The variable is top-coded at 140 hours.
The variable HRSUSUAL2 groups the usual hours worked into categories. Similar information to HRSUSUAL1 is included in HRSWORK1, which combines data available on actual and usual hours of work per week.
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.
Additional information on the usual number of hours worked in intervals is available for the 1980 sample in HRSUSUAL2.
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 — 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.
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 — 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 — Puerto Rico [top]
The data record usual hours worked per week during the previous year. The 2015 and 2020 samples are top-coded at 99 or more hours.
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 and 2011, usual hours of work include those in full-time and part-time employment. For the 2000 sample, see the unharmonized source variables to identify these values separately.
Other Switzerland samples have information available about usual hours of work in the unharmonized source variables that could not be integrated into HRSUSUAL1.
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 1991 sample is top-coded at 81 hours; 2001 is top-coded at 80 hours. The 1991 sample combines 71 to 80 hours into a single category, coded in HRSUSUAL1 to 75 hours per week. The 2001 sample excluded persons older than 74 years from the question.
Comparability — United States [top]
The data record usual hours worked per week during the previous year. The samples are top-coded at 99 or more hours.
Comparability — Uruguay [top]
The 2006 sample reports usual hours worked in the primary job.
Universe
- 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
- Costa Rica 1984: Persons age 12+ who worked or were seeking work and had worked in the past
- Greece 2001: Persons age 10+ who worked in the previous year
- Greece 2011: Persons who worked last week
- Hungary 2001: Persons who were employed
- Italy 2011: Persons age 15+ who ever worked
- 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 who worked 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: 1991, 2000, 2010
- Costa Rica: 1984
- Greece: 2001, 2011
- Hungary: 2001
- Italy: 2011, 2011Q1, 2012Q1, 2013Q1, 2014Q1, 2015Q1, 2016Q1, 2017Q1, 2018Q1, 2019Q1, 2020Q1
- 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
- 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