MIG1_5_PE
Department of residence 5 years ago, Peru; consistent boundaries, GIS
Codes and Frequencies
Explore how IPUMS created this variable
class Mig1_5_pe : public Editor {
public:
Mig1_5_pe(VarPointer varInfo) : Editor(varInfo) {}
void edit() {
long a = getRecoded();
switch (dataSet) {
case dataset_id::pe2007a: {
if (PE2007A_0415() == 9999 && PE2007A_0403() > 4)
a = GEO1_PE(0);
if (PE2007A_0414() < 9999)
a = 604097;
} break;
case dataset_id::pe2017a: {
if (PE2017A_0414() < 9999)
a = 604097;
} break;
}
setData(a);
}
};
Description
MIG1_5_PE indicates the person's department of residence 5 years ago within Peru. Migration department codes from MIG1_5_PE are compatible with codes from GEO1_PE.
Click on the Source Variables tab for information on place of residence for each sample year. Source variables may contain more geographic unit detail but are not suitable for cross-temporal comparison.
Universe
- Peru 2007: Persons age 5+
- Peru 2017: Persons age 5+
Availability
- Peru: 2007, 2017