Codes and Frequencies
Explore how IPUMS created this variable
class Bplpa : public Editor {
public:
Bplpa(VarPointer varInfo) : Editor(varInfo) {}
void edit() {
long a = getRecoded();
switch (dataSet) {
case dataset_id::pa1980a: {
if (PA1980A_0443() == 0)
a = PA1980A_0035(0);
} break;
case dataset_id::pa2000a: {
if (PA2000A_0409() == 1 && PA2000A_0034(0) != 11)
a = PA2000A_0034(0);
if (PA2000A_0409() == 1 && PA2000A_0034(0) == 11)
a = 5;
} break;
case dataset_id::pa2010a: {
if (PA2010A_0420() == 1)
a = PA2010A_0127(0);
} break;
}
setData(a);
}
};
Description
BPLPA indicates the person's province of birth within Panama.
Universe
- All persons
Availability
- Panama: 1960, 1970, 1980, 2000, 2010