Data Cart

Your data extract

0 variables
0 samples
View Cart
WGVISION
Difficulty seeing (Washington group)

Codes and Frequencies



An 'X' indicates the category is available for that sample

1No difficultyXXXXXXXXXXXXXXX1No difficultyXXXXXX
2Some difficultyXXXXXXXXXXXXXXX2Some difficultyXXXXXX
3A lot of difficultyXXX·XXXXXXXXXXX3A lot of difficultyXXXX··
4Cannot do at allXXXXXXXXXXXXXXX4Cannot do at allXXXXXX
8UnknownXX··XXX···XXX·X8Unknown·XXX·X
9NIU (not in universe)··XX·····XXX··X9NIU (not in universe)X·XX··

Explore how IPUMS created this variable

Download


      class Wgvision : public Editor {

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

    long a = getRecoded();
    switch (dataSet) {
    case dataset_id::tt2011a: {
      if (TT2011A_0424() == 2 && TT2011A_0431() == 9)
        a = 1;
      if (TT2011A_0424() == 9 && TT2011A_0431() == 9)
        a = 8;
    } break;
    }

    setData(a);
  }
};