Codes and Frequencies
Explore how IPUMS created this variable
class Oneroom : public Editor {
public:
Oneroom(VarPointer varInfo) : Editor(varInfo) {}
void edit() {
long a = getRecoded();
switch (dataSet) {
case dataset_id::gh2010a: {
if (GH2010A_0056(0) == 0 && GH2010A_0055(0) == 2)
a = 1;
if (GH2010A_0056(0) == 0 && GH2010A_0055(0) == 3)
a = 0;
} break;
}
setData(a);
}
};
Description
For households living in a single room, ONEROOM indicates the number of households sharing the room.
The variable is a constructed measure of overcrowding.
Comparability
No information available.Universe
- Ghana 2010: Private occupied households
- South Africa 1996: Private households living in a single room
Availability
- Ghana: 2010
- South Africa: 1996