Codes and Frequencies
Explore how IPUMS created this variable
class Emplno : public Editor {
public:
Emplno(VarPointer varInfo) : Editor(varInfo) {}
void edit() {
long a = getRecoded();
if (dataSet == dataset_id::fr1990a) {
if (FR1990A_0442() == 9 && FR1990A_0439() == 21)
a = 0;
}
if (dataSet == dataset_id::de1970a) {
if (DE1970A_0448() == 1)
a = 0;
if (DE1970A_0448() >= 2 && DE1970A_0448() <= 3)
a = 1;
if (DE1970A_0448() >= 4 && DE1970A_0448() <= 6)
a = 2;
if (DE1970A_0448() >= 7 && DE1970A_0448() <= 10)
a = 4;
if (DE1970A_0448() >= 11 && DE1970A_0448() < 998)
a = 6;
}
switch (dataSet) {
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: {
long emplyno = valueFromFirstAvailable(
{MX2007I_0623_ref, MX2007J_0623_ref, MX2007K_0623_ref,
MX2008H_0623_ref, MX2008I_0623_ref, MX2008J_0623_ref,
MX2008K_0623_ref, MX2009H_0623_ref, MX2009I_0623_ref,
MX2009J_0623_ref, MX2009K_0623_ref, MX2010H_0623_ref,
MX2010I_0623_ref, MX2010J_0623_ref, MX2010K_0623_ref,
MX2011H_0623_ref, MX2011I_0623_ref, MX2011J_0623_ref,
MX2011K_0623_ref, MX2012H_0623_ref, MX2012I_0623_ref,
MX2012J_0623_ref, MX2012K_0623_ref, MX2013H_0623_ref,
MX2013I_0623_ref, MX2013J_0623_ref, MX2013K_0623_ref,
MX2014H_0623_ref, MX2014I_0623_ref, MX2014J_0623_ref,
MX2014K_0623_ref, MX2015H_0623_ref, MX2015I_0623_ref,
MX2015J_0623_ref, MX2015K_0623_ref, MX2016H_0623_ref,
MX2016I_0623_ref, MX2016J_0623_ref, MX2016K_0623_ref,
MX2017H_0623_ref, MX2017I_0623_ref, MX2017J_0623_ref,
MX2017K_0623_ref, MX2018H_0623_ref, MX2018I_0623_ref,
MX2018J_0623_ref, MX2018K_0623_ref, MX2019H_0623_ref,
MX2019I_0623_ref, MX2019J_0623_ref, MX2019K_0623_ref,
MX2020H_0623_ref, MX2020J_0623_ref});
long hasemply = valueFromFirstAvailable(
{MX2007I_0619_ref, MX2007J_0619_ref, MX2007K_0619_ref,
MX2008H_0619_ref, MX2008I_0619_ref, MX2008J_0619_ref,
MX2008K_0619_ref, MX2009H_0619_ref, MX2009I_0619_ref,
MX2009J_0619_ref, MX2009K_0619_ref, MX2010H_0619_ref,
MX2010I_0619_ref, MX2010J_0619_ref, MX2010K_0619_ref,
MX2011H_0619_ref, MX2011I_0619_ref, MX2011J_0619_ref,
MX2011K_0619_ref, MX2012H_0619_ref, MX2012I_0619_ref,
MX2012J_0619_ref, MX2012K_0619_ref, MX2013H_0619_ref,
MX2013I_0619_ref, MX2013J_0619_ref, MX2013K_0619_ref,
MX2014H_0619_ref, MX2014I_0619_ref, MX2014J_0619_ref,
MX2014K_0619_ref, MX2015H_0619_ref, MX2015I_0619_ref,
MX2015J_0619_ref, MX2015K_0619_ref, MX2016H_0619_ref,
MX2016I_0619_ref, MX2016J_0619_ref, MX2016K_0619_ref,
MX2017H_0619_ref, MX2017I_0619_ref, MX2017J_0619_ref,
MX2017K_0619_ref, MX2018H_0619_ref, MX2018I_0619_ref,
MX2018J_0619_ref, MX2018K_0619_ref, MX2019H_0619_ref,
MX2019I_0619_ref, MX2019J_0619_ref, MX2019K_0619_ref,
MX2020H_0619_ref, MX2020J_0619_ref});
if (emplyno >= 10 && emplyno < 9999) {
a = 6;
}
if (hasemply == 2) {
a = 0;
}
} break;
}
setData(a);
}
};
Description
EMPLNO reports the number of persons employed by the respondent.
Comparability — Index
GENERAL |
France |
Germany |
Comparability — General
The intervals differ between samples.
Comparability — France [top]
The data for the five France samples are not coded compatibly because of inconsistencies in the groupings in underlying variables.
Comparability — Germany [top]
The original responses are continuous from 1 to 30 and categorical thereafter (see the unharmonized variable for the full detail).
Universe
- France 1968: Persons age 14+ who were self-employed
- France 1975: Persons age 16+ who were self-employed
- France 1982: Persons age 14+ who were self-employed
- France 1990: Persons age 14+ who were self-employed
- France 1999: Persons age 15+ who were self-employed
- Germany 1970: Persons age 15+ who were self-employed
Availability
- France: 1968, 1975, 1982, 1990, 1999
- Germany: 1970
- Mexico: 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