Codes and Frequencies
Explore how IPUMS created this variable
class Migctry0 : public Editor {
public:
Migctry0(VarPointer varInfo) : Editor(varInfo) {}
void edit() {
long a = getRecoded();
if (dataSet == dataset_id::es1981a) {
if (ES1981A_0410() == 0 && ES1981A_0430() < 10)
a = 0;
}
if (dataSet == dataset_id::es2001a) {
if (ES2001A_0418() == 99999 && ES2001A_0403() < 10)
a = 0;
}
if (dataSet == dataset_id::tz1988a) {
if (TZ1988A_0411() == 99 && TZ1988A_0404() < 10)
a = 0;
}
if (dataSet == dataset_id::iq1997a) {
if (IQ1997A_0434() == 0 && IQ1997A_0448() < 10)
a = 0;
}
if (dataSet == dataset_id::sn2013a) {
if (SN2013A_0415() == 999 && SN2013A_0416() >= 1 && SN2013A_0416() <= 14)
a = 90000;
}
setData(a);
}
};
Description
MIGCTRY0 indicates the person's country of residence 10 years ago.
Persons who did not live abroad ten years prior to the census are coded as non-migrants.
Universe
- Iraq 1997: Persons age 10+
- Laos 1995: Persons age 10+
- Laos 2005: Persons age 10+
- Laos 2015: Persons age 10+
- Lesotho 1996: Persons age 10+
- Lesotho 2006: Persons age 10+
- Senegal 2013: Residents age 10+ in ordinary households
- Spain 1981: Persons age 10+
- Spain 2001: Persons age 10+
- Spain 2011: Persons age 10+
- Tanzania 1988: Persons age 10+
Availability
- Iraq: 1997
- Laos: 1995, 2005, 2015
- Lesotho: 1996, 2006
- Senegal: 2013
- Spain: 1981, 2001, 2011
- Tanzania: 1988