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

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

    long a = getRecoded();
    switch (dataSet) {
    case dataset_id::fr1962a: {
      if (FR1962A_0006() == 6 || FR1962A_0006() == 7)
        a = 0;
    } break;
    case dataset_id::vn2009a: {
      if (VN2009A_0041() == 99 && VN2009A_0040() == 1)
        a = 1974;
      if (VN2009A_0041() == 99 && VN2009A_0040() == 2)
        a = 1999;
    } break;
    }

    setData(a);
  }
};