Codes and Frequencies
Explore how IPUMS created this variable
class Hrswork1 : public Editor {
public:
Hrswork1(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;
} break;
case dataset_id::ch2000a: {
a = CH2000A_0451() + CH2000A_0452();
if (a == 0)
a = 999;
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;
} 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;
}
setData(a);
}
};
Description
HRSWORK1 indicates the number of hours the respondent worked per week at all jobs.
Comparability — Index
Comparability — General
The primary comparability issue is the difference between samples that report actual hours worked during the reference week versus those that give hours worked during a typical week. Users should review the relevant discussion in the corresponding country comparability sections for further details.
The age of the person to whom the question applies varies across the samples, as does the reference week. Not all samples required that the person was currently working at the time of the census. Many samples include persons who did not work during the reference week but are usually employed. Some samples report these cases as zero hours worked but others request the typical hours worked for this subset of the universe.
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 HRSWORK2 groups the number of hours worked into categories. Similar information to HRSWORK1 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 Brazilian censuses inquired about the number of hours worked during a typical week. Time spent outside of the workplace in work-related tasks was to be included; time set aside for meals was to be excluded.
Additional information on number of hours worked is available for 1980 Brazil in HRSWORK2.
Comparability — Canada [top]
The samples report hours worked last week, including in unpaid productive labor. The 1991 sample only includes employed persons in the universe; the other samples have persons who worked zero hours.
The Canada samples 1981-2001 are top coded at 100+ hours and Canada 2011 is top coded at 80+.
Comparability — Dominican Republic [top]
If the person did not work due to illness or other reason, but still held a job, the usual number of hours worked per week was recorded.
Comparability — Ecuador [top]
For all the 1990, 2001 and 2010 samples, the question asked for the number of hours the person actually worked the week before the census. If they were absent from work they were to report the number of hours for the last week that they worked.
Comparability — El Salvador [top]
Both samples record the number of hours the person worked last week at all jobs. If the person was temporarily absent (worked no hours) during the week prior, the number of usual hours worked per week was recorded. For 2007, the experienced unemployed population is included with responses indicating usual hours worked per week in the previous job.
Comparability — Ghana [top]
The sample reports hours worked for pay, profit, or family gain last week.
Comparability — Greece [top]
All censuses asked for the actual number of hours worked the previous week at any job. There are a large number of cases with zero hours worked in 1971 and especially 1991, relative to the other two years. The data for Greece 2011 is top-coded at 70+ hours.
Comparability — Honduras [top]
In 1988, the question asked for the number of hours the person worked during the week before the census. The data for Honduras 1988 is top-coded at 69+ hours.
Comparability — Hungary [top]
The question asked for the number of hours the person usually worked per week.
Comparability — Indonesia [top]
The samples report actual hours during the past week. Persons who had a job but were temporarily absent the week preceding the census are coded as "0" hours worked. All four samples included here, in addition to the 1976 sample, contain data on hours worked in the primary occupation, found in HRSMAIN.
Comparability — Jamaica [top]
All samples record the hours of employment completed in the week prior to the census. The universes vary slightly across samples with respect to whether or not group quarter residents were asked to provide work-related information.
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, they were to report the usual number of hours worked.
Comparability — Mauritius [top]
The 1990-2011 samples record the actual number of hours worked by persons age 12+ at all jobs during the week before the census. The 1990 and 2011 samples are top-coded at 90+ hours, while the 2000 sample includes responses up to 98 hours. In the 1990 and 2000 samples, responses indicating less than 1 hour of work are coded as "none".
The 1990 sample includes an interval for responses between 1 and 5 hours worked rather than hour-by-hour values. This interval is coded at its midpoint (3 hours) in HRSWORK1, but nonetheless introduces a minor comparability issue across the Mauritius samples.
Comparability — Mexico [top]
All samples report hours worked in the previous week. The 1990, 2000 and 2010 Mexican samples all have numerous cases with implausibly high numbers of work hours. They are included in the top-code of 140 or more hours.
The 1990, 2000 and 2010 samples code persons that had a job but were temporarily away as "0" hours worked. The 1995 sample asks for the usual number of hours worked for these persons. The 2020 census question was asked to persons age 12+ who are working.
Comparability — Nicaragua [top]
The samples report actual hours worked in the last week that the person worked. For persons temporarily absent from work or the experienced unemployed population, the reference week will therefore not be the week prior to the census.
Comparability — Pakistan [top]
The variable reports hours worked in the week before the census.
Comparability — Panama [top]
The 1970 sample excludes self-employed persons from the universe. The sample reports hours worked last week.
Comparability — Puerto Rico [top]
The data record usual hours worked per week the previous year. The data are top-coded at 99 hours for the 2015 and 2020 samples.
Data on actual hours worked last week, grouped into categories, is available for 1970 in HRSWORK2.
Comparability — Saint Lucia [top]
Both samples report hours worked in the week preceding the census.
Comparability — South Africa [top]
The question asked for the number of hours the person actually worked the week before the census. If they were absent from work they were to report the usual number of hours they worked.
Comparability — Spain [top]
The question asked for the number of hours the person usually worked per week.
Comparability — Switzerland [top]
The variable considers hours worked in full-time and part-time employment. See the unharmonized source variables to identify these values separately. Additionally, all Swiss samples provide more roughly categorized hours of work in the source variables. The 2011 census question was asked to economically active persons.
Comparability — Trinidad and Tobago [top]
In 1970, the census question refers to the number of hours worked during the week preceding enumeration. Responses indicating less than one hour were coded to "0 hours" of work per week. The data for this sample are top-coded at 91 or more hours.
Comparability — United States [top]
The data record usual hours worked per week during the previous year. The data is top-coded at 99 or more hours for the 2015 and 2020 samples.
Data on actual hours worked per week, grouped into categories, is available for 1960 and 1970 in HRSWORK2.
Comparability — Venezuela [top]
Both samples asked for the number of hours the person worked last week at all of his or her jobs.
Universe
- Brazil 1991: Persons age 10+ who were employed
- Brazil 2000: Persons age 10+ who were employed
- Canada 1981: Persons age 15+, excluding inmates
- Canada 1991: Persons age 15+ currently employed
- Canada 2001: Persons age 15+
- Canada 2011: Persons age 15+
- Dominican Republic 1981: Persons age 10+ who worked or received pay or performed unpaid work last week
- Ecuador 1990: Persons age 8+ who were employed, unemployed, or an unpaid worker
- Ecuador 2001: Persons that ever worked
- Ecuador 2010: Persons age 5+ who were employed
- El Salvador 1992: Persons age 10+ who were economically active
- El Salvador 2007: Persons age 10+ who were economically active or experienced unemployed
- Ghana 2000: Persons age 7+ who worked last week
- Greece 1971: Persons age 10+ who were working or seeking work
- Greece 1981: Persons age 10+ who were working
- Greece 1991: Persons age 10+ who were working
- Greece 2001: Persons age 10+ who were working
- Greece 2011: Persons who worked last week
- Honduras 1988: Persons age 10+ who were employed or experienced unemployed
- Hungary 2001: Employed persons
- Indonesia 1980: Persons age 10+ who worked or were employed
- Indonesia 1985: Persons age 10+ who worked or were employed
- Indonesia 1990: Persons age 10+ who worked or were employed
- Indonesia 1995: Persons age 10+ who worked or were employed
- Jamaica 1982: Persons age 14+ in private households and some group quarters who worked last week
- Jamaica 1991: Persons age 14+ in private households and some group quarters who worked last week
- Jamaica 2001: Persons age 14+ who worked during the previous week
- Jordan 2004: Persons age 15+ who worked last week
- Kenya 2009: Persons age 5+ who worked or were on leave
- Malaysia 1991: Persons age 10+ who worked last week
- Mauritius 1990: Persons age 12+
- Mauritius 2000: Persons age 12+
- Mauritius 2011: Persons age 12+
- Mexico 1990: Persons age 12+ who were employed last week
- Mexico 1995: Persons age 12+ who were employed last week
- Mexico 2000: Persons age 12+ who were employed last week
- Mexico 2010: Persons age 12+ who were employed last week
- Mexico 2020: Persons age 12+ who are working
- Nicaragua 1995: Persons age 10+ who were employed or experienced unemployed
- Nicaragua 2005: Persons age 10+ who were employed or experienced unemployed
- Pakistan 1973: Persons age 10+ who worked last week
- Panama 1970: Persons age 10+ who worked last week; not self-employed
- 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
- Saint Lucia 1980: Persons age 15+ who worked last week
- Saint Lucia 1991: Persons age 15+ who worked last week
- South Africa 2001: Employed or economically active persons age 10+
- Spain 2001: Persons age 16+ who were working or studying last week
- Switzerland 2000: Persons age 15+ who were employed
- Switzerland 2011: Economically active persons
- Trinidad and Tobago 1970: Persons age 10+ who worked last week
- 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
- Venezuela 1981: Persons age 12+ who had a job at the time of the census, or during the year prior, or worked the previous week
- Venezuela 2001: Persons age 10+ in the labor force
Availability
- Brazil: 1991, 2000
- Canada: 1981, 1991, 2001, 2011
- Dominican Republic: 1981
- Ecuador: 1990, 2001, 2010
- El Salvador: 1992, 2007
- Ghana: 2000
- Greece: 1971, 1981, 1991, 2001, 2011
- Honduras: 1988
- Hungary: 2001
- Indonesia: 1980, 1985, 1990, 1995
- Italy: 2011Q1, 2012Q1, 2013Q1, 2014Q1, 2015Q1, 2016Q1, 2017Q1, 2018Q1, 2019Q1, 2020Q1
- Jamaica: 1982, 1991, 2001
- Jordan: 2004
- Kenya: 2009
- Malaysia: 1991
- Mauritius: 1990, 2000, 2011
- Mexico: 1990, 1995, 2000, 2005Q1, 2005Q2, 2005Q3, 2005Q4, 2006Q1, 2006Q2, 2006Q3, 2006Q4, 2007Q1, 2007Q2, 2007Q3, 2007Q4, 2008Q1, 2008Q2, 2008Q3, 2008Q4, 2009Q1, 2009Q2, 2009Q3, 2009Q4, 2010, 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, 2020, 2020Q1, 2020Q3
- Nicaragua: 1995, 2005
- Nigeria: 2007, 2008
- Pakistan: 1973
- Panama: 1970
- Puerto Rico: 1980, 1990, 2000, 2005, 2010, 2015, 2020
- Saint Lucia: 1980, 1991
- South Africa: 2001
- 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
- Trinidad and Tobago: 1970
- United States: 1980, 1990, 2000, 2005, 2010, 2015, 2020
- Venezuela: 1981, 2001