Codes and Frequencies
Explore how IPUMS created this variable
class Migrate0 : public Editor {
public:
Migrate0(VarPointer varInfo) : Editor(varInfo) {}
void edit() {
long a = getRecoded();
switch (dataSet) {
case dataset_id::es2001a: {
if (ES2001A_0419() >= 1 && ES2001A_0419() <= 52) {
if (ES2001A_0419() == ES2001A_0022(0))
a = 14;
if (ES2001A_0418() == ES2001A_0023(0))
a = 11;
}
} break;
case dataset_id::ph2000a: {
if (PH2000A_0428() >= 1 && PH2000A_0428() <= 83 &&
PH2000A_0428() == PH2000A_0023(0))
a = 14;
} break;
case dataset_id::tz1988a: {
if (TZ1988A_0411() <= 55 && TZ1988A_0411() == TZ1988A_0019(0))
a = 10;
} break;
case dataset_id::iq1997a: {
if (IQ1997A_0434() == 0 && IQ1997A_0448() >= 10 && IQ1997A_0448() < 999)
a = 10;
if (IQ1997A_0434() == 0 && IQ1997A_0448() == 999)
a = 99;
} break;
case dataset_id::es2011a: {
if (ES2011A_0422() >= 1 && ES2011A_0422() <= 52) {
if (ES2011A_0422() == ES2011A_0022(0))
a = 14;
if (ES2011A_0423() == ES2011A_0023(0))
a = 11;
}
if (ES2011A_0403() < 10)
a = 0;
} break;
case dataset_id::tt1990a: {
if (TT1990A_0453() == TT1990A_0450())
a = 10;
} break;
case dataset_id::tt2000a: {
if (TT2000A_0416() == 2 && TT2000A_0518() != TT2000A_0515())
a = 20;
} break;
case dataset_id::tt2011a: {
if (TT2011A_0417() == 2 && TT2011A_0505() != TT2011A_0504())
a = 20;
if (TT2011A_0417() == 8 && TT2011A_0407() < 10)
a = 0;
} break;
case dataset_id::ls1996a: {
if (LS1996A_0411() >= 1 && LS1996A_0411() <= 10 &&
LS1996A_0411() == LS1996A_0023(0))
a = 10;
} break;
case dataset_id::ls2006a: {
if (LS2006A_0416() >= 1 && LS2006A_0416() <= 10 &&
LS2006A_0416() == LS2006A_0024(0))
a = 10;
} break;
case dataset_id::zw2012a: {
if (ZW2012A_0456() >= 0 && ZW2012A_0456() <= 9 &&
ZW2012A_0456() == ZW2012A_0027(0))
a = 14;
if (ZW2012A_0456() >= 0 && ZW2012A_0456() <= 9 &&
ZW2012A_0411() == ZW2012A_0028(0))
a = 11;
if (ZW2012A_0411() == 229)
a = 99;
} break;
case dataset_id::la2005a: {
if (LA2005A_0407() >= 1 && LA2005A_0407() <= 18 &&
LA2005A_0407() == LA2005A_0022(0))
a = 10;
if (LA2005A_0403() >= 10 && LA2005A_0407() == 96)
a = 99;
} break;
case dataset_id::sn2013a: {
if (SN2013A_0416() >= 1 && SN2013A_0416() <= 14 &&
SN2013A_0416() == SN2013A_0022(0))
a = 10;
if (SN2013A_0416() >= 1 && SN2013A_0416() <= 14 &&
SN2013A_0416() == SN2013A_0022() &&
SN2013A_0417() == SN2013A_0023() &&
(SN2013A_0417() != 10 && SN2013A_0417() != 20 &&
SN2013A_0417() != 30 && SN2013A_0417() != 40 &&
SN2013A_0417() != 50 && SN2013A_0417() != 60 &&
SN2013A_0417() != 70 && SN2013A_0417() != 80 &&
SN2013A_0417() != 90 && SN2013A_0417() != 100 &&
SN2013A_0417() != 110 && SN2013A_0417() != 120 &&
SN2013A_0417() != 130 && SN2013A_0417() != 140 &&
SN2013A_0417() != 999))
a = 11;
if (SN2013A_0416() >= 1 && SN2013A_0416() <= 14 &&
SN2013A_0416() == SN2013A_0022() &&
SN2013A_0417() != SN2013A_0023() &&
(SN2013A_0417() != 10 && SN2013A_0417() != 20 &&
SN2013A_0417() != 30 && SN2013A_0417() != 40 &&
SN2013A_0417() != 50 && SN2013A_0417() != 60 &&
SN2013A_0417() != 70 && SN2013A_0417() != 80 &&
SN2013A_0417() != 90 && SN2013A_0417() != 100 &&
SN2013A_0417() != 110 && SN2013A_0417() != 120 &&
SN2013A_0417() != 130 && SN2013A_0417() != 140 &&
SN2013A_0417() != 999))
a = 14;
if (SN2013A_0416() >= 1 && SN2013A_0416() <= 14 &&
SN2013A_0416() != SN2013A_0022())
a = 20;
} break;
}
setData(a);
}
};
Description
MIGRATE0 indicates the person's place of residence 10 years ago. The first digit records movement across major administrative divisions and countries. The second digit reports movement across minor administrative divisions, for samples in which that detail is available.
Comparability — Index
GENERAL Iran Laos |
Lesotho Senegal Spain |
Tanzania Trinidad and Tobago Zimbabwe |
Comparability — General
This variable is conceptually similar across samples. The data are largely comparable at the first digit: movement between major administrative units or countries. Some samples provide further detail at the second digit, recording movement between minor administrative units.
The major administrative units are provinces in the Philippines, Laos, and Spain and governorates in Iraq. The minor administrative units are municipalities.
The coding for MIGRATE0 corresponds to migration status variables available in other samples: MIGRATE5, MIGRATE1, MIGRATEP, and MIGRATEC. Those variables are conceptually similar to MIGRATE0, but differ in terms of their reference periods.
Comparability — Iran [top]
The major administrative units in this country are province and the minor units are sub province.
Comparability — Laos [top]
The variable records movement between provinces within Laos.
Comparability — Lesotho [top]
The major and minor administrative levels for Lesotho are district and village. If district of residence 10 years ago is identical to district of enumeration, but the response is not "same village" or "same district, different village", then it is classified as "same major administrative unit."
Comparability — Senegal [top]
The major and minor administrative levels for Senegal are region and department.
Comparability — Spain [top]
The major and minor administrative levels for Spain are province and municipality.
The universe for 2001 differs from 1991. The 2001 sample excludes persons who did not reside in the household at the time of the census.
Comparability — Tanzania [top]
The variable records movement between regions within Tanzania.
Comparability — Trinidad and Tobago [top]
The variable records movement between regions in all years and between communities within regions in 2011. Persons who were abroad 10 years ago are likely coded to "unknown" in 1990 and 2000.
Comparability — Zimbabwe [top]
The major and minor administrative levels for Zimbabwe are province and district.
Universe
- Iran 2006: Persons age 10+ who are present or temporarily absent in the household
- Iraq 1997: Persons age 10+
- Laos 2005: Persons age 10+
- Lesotho 1996: Persons age 10+
- Lesotho 2006: Persons age 10+
- Philippines 2000: Persons age 10+
- Senegal 2013: Residents age 10+ in ordinary households
- Spain 1991: Persons age 10+
- Spain 2001: Persons age 10+ who reside in the household
- Spain 2011: Persons age 10+
- Tanzania 1988: Persons age 10+
- Trinidad and Tobago 1990: Persons age 10+
- Trinidad and Tobago 2000: Persons age 10+
- Trinidad and Tobago 2011: Persons age 10+ in private households
- Zimbabwe 2012: Persons age 10+
Availability
- Iran: 2006
- Iraq: 1997
- Laos: 2005
- Lesotho: 1996, 2006
- Philippines: 2000
- Senegal: 2013
- Spain: 1991, 2001, 2011
- Tanzania: 1988
- Trinidad and Tobago: 1990, 2000, 2011
- Zimbabwe: 2012