Codes and Frequencies
Explore how IPUMS created this variable
class Mig2alt_p_ma : public Editor {
public:
Mig2alt_p_ma(VarPointer varInfo) : Editor(varInfo) {}
void edit() {
long a = getRecoded();
switch (dataSet) {
case dataset_id::ma1982a: {
if (MA1982A_0409() == 0)
a = GEO2ALT_MA(0);
} break;
case dataset_id::ma1994a: {
if (MA1994A_0437() == 0 || MA1994A_0437() == 996)
a = GEO2ALT_MA(0);
} break;
case dataset_id::ma2004a: {
if (MA2004A_0446() == 990)
a = GEO2ALT_MA(0);
} break;
}
setData(a);
}
};
Description
MIG2ALT_P_MA indicates the person's province of previous residence within Morocco. Migration province codes from MIG2ALT_P_MA are compatible with codes from GEO2ALT_MA.
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. Boundary changes for MIG2ALT_P_MA are too numerous to list here, but users should be aware that there were changes over time.
Universe
- Morocco 1982: All persons
- Morocco 1994: All persons
- Morocco 2004: All persons
Availability
- Morocco: 1982, 1994, 2004