Data Cart

Your data extract

0 variables
0 samples
View Cart
ONEROOM
Number of households sharing one room

Codes and Frequencies



Loading Frequency Data...

Can't find the category you are looking for? Try the Detailed codes

Explore how IPUMS created this variable

Download


      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);
  }
};