Codes and Frequencies
Explore how IPUMS created this variable
class Bplkh:public Editor {
public:
Bplkh(VarPointer varInfo) : Editor(varInfo) {}
void edit() {
long a = getRecoded();
switch (dataSet) {
case dataset_id::kh1998a:
{
if (KH1998A_0407() == 1 && KH1998A_0020(0) != 908)
a = KH1998A_0020(0);
}
break;
case dataset_id::kh2008a:
{
if (KH2008A_0408() == 0 && KH2008A_0020(0) != 110 && KH2008A_0020(0) != 214 && KH2008A_0020(0) != 3170 && KH2008A_0020(0) != 1208 && KH2008A_0020(0) != 1308 && KH2008A_0020(0) != 1804 && KH2008A_0020(0) != 2008)
a = KH2008A_0020(0);
}
break;
}
setData(a);
}
};
Description
BPLKH indicates the district in Cambodia in which the person was born.
Universe
- Cambodia 1998: All persons
- Cambodia 2004: All persons
- Cambodia 2008: All persons
- Cambodia 2013: Present persons
Availability
- Cambodia: 1998, 2004, 2008, 2013