Codes and Frequencies
Explore how IPUMS created this variable
class Mig2_5_vn : public Editor {
public:
Mig2_5_vn(VarPointer varInfo) : Editor(varInfo) {}
void edit() {
long a = getRecoded();
switch (dataSet) {
case dataset_id::vn2009a: {
if (VN2009A_0439() == 999 && VN2009A_0403() >= 5 && VN2009A_0404() == 5)
a = 704097097;
if (VN2009A_0439() == 999 && VN2009A_0403() >= 5 && VN2009A_0404() != 5)
a = GEO2_VN(0);
} break;
}
setData(a);
}
};
Description
MIG2_5_VN indicates the person's district of residence, 5 years ago within Vietnam. Migration district codes for MIG2_5_VN are compatible with codes for GEO2_VN.
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
Districts with populations less than 20,000 (based on the most recent sample year) were regionalized (combined) with neighboring municipalities within the same province to create units with populations greater than 20,000.
In the 2009 sample, district-level migration was only asked of those who moved within the same province. MIG1_5_VN describes movement between provinces.
Universe
- Vietnam 2009: Persons age 5+
- Vietnam 2019: Persons age 5+
Availability
- Vietnam: 2009, 2019