Data Cart

Your data extract

0 variables
0 samples
View Cart

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 Bplro : public Editor {

public:
  Bplro(VarPointer varInfo) : Editor(varInfo) {}
  void edit() {

    long a = getRecoded();
    switch (dataSet) {
    case dataset_id::ro1977a: {
      if (RO1977A_0402() == 44)
        a = RO1977A_0018(0);
    } break;
    case dataset_id::ro1992a: {
      if (RO1992A_0416() == 0 && RO1992A_0017(0) <= 40)
        a = RO1992A_0017(0);
      if (RO1992A_0416() == 0 && RO1992A_0017(0) >= 41)
        a = 40;
    } break;
    case dataset_id::ro2002a: {
      if (RO2002A_0413() == 90)
        a = RO2002A_0018(0);
    } break;
    }

    setData(a);
  }
};