Codes and Frequencies
Explore how IPUMS created this variable
class Mig2_p_kh : public Editor {
public:
Mig2_p_kh(VarPointer varInfo) : Editor(varInfo) {}
void edit() {
long a = getRecoded();
switch (dataSet) {
case dataset_id::kh1998a: {
if (KH1998A_0408() == 999)
a = GEO2_KH(0);
} break;
case dataset_id::kh2004a: {
if (KH2004A_0411() == 0)
a = GEO2_KH(0);
} break;
case dataset_id::kh2008a: {
if (KH2008A_0410() == 1)
a = GEO2_KH(0);
} break;
case dataset_id::kh2013a: {
if (KH2013A_0413() == 0)
a = GEO2_KH(0);
} break;
}
setData(a);
}
};
Description
MIG2_P_KH indicates the person's district of previous residence within Cambodia. Migration district codes for MIG2_P_KH are compatible with codes for GEO2_KH.
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 MIG2_P_KH are too numerous to list here, but users should be aware that there were changes over time.
Universe
- Cambodia 1998: All persons
- Cambodia 2004: All persons
- Cambodia 2008: All persons
- Cambodia 2013: All present persons
- Cambodia 2019: All persons
Availability
- Cambodia: 1998, 2004, 2008, 2013, 2019