Codes and Frequencies
Explore how IPUMS created this variable
class Mig2_5_pe : public Editor {
public:
Mig2_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 = GEO2_PE(0);
if (PE2007A_0414() < 9999)
a = 604097097;
} break;
case dataset_id::pe2017a: {
if (PE2017A_0414() < 9999)
a = 604097097;
} break;
}
setData(a);
}
};
Description
MIG2_5_PE indicates the person's province of residence five years ago within Peru. Migration province codes from MIG2_5_PE are compatible with codes from GEO2_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.
Comparability — General
Where boundaries changed over time, units were harmonized to create units with boundaries that remain stable over time. Where officially-defined provinces have populations less than 20,000, they have been regionalized (combined) with neighboring provinces.
Boundary changes for MIG2_5_PE are too numerous to list here, but users should be aware that there were changes over time.
Universe
- Peru 2007: Persons age 5+
- Peru 2017: Persons age 5+
Availability
- Peru: 2007, 2017