Data Cart

Your data extract

0 variables
0 samples
View Cart

Codes and Frequencies



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

100Institutional··X······XX··X·100Institutional···XX··········100Institutional···········X···100Institutional···X··········X100Institutional·X·····XXX····X100Institutional···············100Institutional····X·XXX······100Institutional····X··XXXXXXXX100InstitutionalX··········
110Prisons, reformatories, or correctional institutionsXX··XXX·X··X···110Prisons, reformatories, or correctional institutionsXX···XX·XX··XXX110Prisons, reformatories, or correctional institutionsXXX··X····X·XXX110Prisons, reformatories, or correctional institutions····X·XX···XX··110Prisons, reformatories, or correctional institutions··X··XX······X·110Prisons, reformatories, or correctional institutionsXXX·XX···XXXX·X110Prisons, reformatories, or correctional institutions·XXX·····XXXXX·110Prisons, reformatories, or correctional institutionsXXXX·XX········110Prisons, reformatories, or correctional institutions·X···XXX·XX
120Hospital, nursing home, hospice, or instutions for persons with disabilitiesXX··XXX····XX··120Hospital, nursing home, hospice, or instutions for persons with disabilitiesX····XX··XXXXXX120Hospital, nursing home, hospice, or instutions for persons with disabilitiesXX········X·XXX120Hospital, nursing home, hospice, or instutions for persons with disabilitiesXXX·XXXX···XX··120Hospital, nursing home, hospice, or instutions for persons with disabilities··X·XXX·····XX·120Hospital, nursing home, hospice, or instutions for persons with disabilities··X·XX·XXXXXXXX120Hospital, nursing home, hospice, or instutions for persons with disabilitiesXXX······XXXXX·120Hospital, nursing home, hospice, or instutions for persons with disabilitiesXXXX··X········120Hospital, nursing home, hospice, or instutions for persons with disabilities·X·XXXXXXXX
121Institutions for persons with disabilities···············121Institutions for persons with disabilities···············121Institutions for persons with disabilities···············121Institutions for persons with disabilities···········X···121Institutions for persons with disabilities···············121Institutions for persons with disabilities···············121Institutions for persons with disabilities··X··········X·121Institutions for persons with disabilitiesX··············121Institutions for persons with disabilities······XX···
122Sanatorium or mental institutions···············122Sanatorium or mental institutions···············122Sanatorium or mental institutions···············122Sanatorium or mental institutions············X··122Sanatorium or mental institutions···············122Sanatorium or mental institutions···············122Sanatorium or mental institutionsX·XX···········122Sanatorium or mental institutionsX··············122Sanatorium or mental institutions······X····
130Homes for the elderly or orphanage······X·X··X···130Homes for the elderly or orphanage··············X130Homes for the elderly or orphanage···············130Homes for the elderly or orphanage····X·XX···XX··130Homes for the elderly or orphanageX··············130Homes for the elderly or orphanageX·············X130Homes for the elderly or orphanage·X·············130Homes for the elderly or orphanage···············130Homes for the elderly or orphanage·······X···
131Retirement homeXX·············131Retirement home··X············131Retirement homeXXX·······X····131Retirement home···········X···131Retirement home···············131Retirement home·X···X···XXXX··131Retirement homeX·XX···········131Retirement homeX··············131Retirement home···XXX·····
132Orphanage, children's homeXX·············132Orphanage, children's home··X············132Orphanage, children's homeX·X··X·······XX132Orphanage, children's home···········X···132Orphanage, children's home··X············132Orphanage, children's home·X········XXXX·132Orphanage, children's homeX········XX·XX·132Orphanage, children's homeX·····X········132Orphanage, children's home···········
140Shelter for homeless, youth, or others···············140Shelter for homeless, youth, or others·······XX··X··X140Shelter for homeless, youth, or others···············140Shelter for homeless, youth, or others···············140Shelter for homeless, youth, or others··X············140Shelter for homeless, youth, or others··X·X··········140Shelter for homeless, youth, or othersX·X·······X··X·140Shelter for homeless, youth, or othersX··············140Shelter for homeless, youth, or others·····X·····
150Military or police institutionXX··XXX····X···150Military or police institution·····XXXXXXXXXX150Military or police institution·X········X·XXX150Military or police institution··X·X·X····XX··150Military or police institution··X·········XX·150Military or police institution··X····XXXX··XX150Military or police institution··XX·X···XX·XX·150Military or police institutionXXXX··X········150Military or police institution·X···XXX··X
160Boarding school or student housingXX··X·X····X···160Boarding school or student housingX·········X····160Boarding school or student housingX····X····X··XX160Boarding school or student housingXXX·X··X···X·X·160Boarding school or student housing··X··XX···XXXX·160Boarding school or student housing··X·XXXXXXX····160Boarding school or student housingXXXX·X···XXX·X·160Boarding school or student housingXXXX·XX········160Boarding school or student housing·X·XXXXX··X
170Religious institution, monastery, seminary, or conventXX··X·X····X···170Religious institution, monastery, seminary, or conventX····XX··XXXXXX170Religious institution, monastery, seminary, or convent·XX·······X····170Religious institution, monastery, seminary, or convent··X····X···XX··170Religious institution, monastery, seminary, or convent··X·········X··170Religious institution, monastery, seminary, or conventXXX·XX···XX··XX170Religious institution, monastery, seminary, or conventXX·······XXX·X·170Religious institution, monastery, seminary, or conventXXXX·XX········170Religious institution, monastery, seminary, or convent·X···XX····
199Other institutional n.e.c.·····X·····X···199Other institutional n.e.c.·····XXXX······199Other institutional n.e.c.············X··199Other institutional n.e.c.XX···X·········199Other institutional n.e.c.····XXX···XX···199Other institutional n.e.c.·X····X········199Other institutional n.e.c.···X·X·····X···199Other institutional n.e.c.·XXX···········199Other institutional n.e.c.········X··
200Non-institutional···············200Non-institutional···············200Non-institutional···············200Non-institutional···············200Non-institutional···············200Non-institutional···············200Non-institutional····XXXXX······200Non-institutional········XXXXXXX200Non-institutionalX··········
210Camps (refugees, workers, or others)XX······X······210Camps (refugees, workers, or others)X·XXX····X·····210Camps (refugees, workers, or others)··········X··XX210Camps (refugees, workers, or others)·XX·····XXXX··X210Camps (refugees, workers, or others)····XXX·XX·····210Camps (refugees, workers, or others)····XX········X210Camps (refugees, workers, or others)XX···········XX210Camps (refugees, workers, or others)X·····X········210Camps (refugees, workers, or others)···XXXXX···
220Hotel, pension, lodging, or boarding houseXX·XXXX·X··XXX·220Hotel, pension, lodging, or boarding houseX······XXXXXXXX220Hotel, pension, lodging, or boarding houseX··XXXXXX·X·XXX220Hotel, pension, lodging, or boarding houseXXXXXX·X······X220Hotel, pension, lodging, or boarding houseXXXXXXXXXX··XXX220Hotel, pension, lodging, or boarding house·XX·XXXXXXXXXXX220Hotel, pension, lodging, or boarding house·XXX·····X·X·X·220Hotel, pension, lodging, or boarding houseXXXX··XX·······220Hotel, pension, lodging, or boarding house·XXXXXXXXXX
230Floating population···X·XXX·XXXXXX230Floating population··············X230Floating population··X·XX····XXXXX230Floating population············X·X230Floating population··XX········XX·230Floating population·XXXXXX···XXXXX230Floating population··········XX···230Floating population······XX·······230Floating population···········
299Other non-institutional n.e.c.···············299Other non-institutional n.e.c.···············299Other non-institutional n.e.c.···············299Other non-institutional n.e.c.·X·············299Other non-institutional n.e.c.···············299Other non-institutional n.e.c.·····X·········299Other non-institutional n.e.c.··XX···········299Other non-institutional n.e.c.···············299Other non-institutional n.e.c.········X··
300Other group quarters·XX·XXXXX···XXX300Other group quartersXXX··XXXXXXXXXX300Other group quartersXXXXXX···XX··X·300Other group quartersXX··XXXXXXXXXXX300Other group quarters···XXXX·····XX·300Other group quartersX·XXXX·XXXXXXX·300Other group quartersXX·······XXX··X300Other group quartersX···XX·X······X300Other group quarters·XXXXXXX·XX
3991-person unit created by splitting large householdX···XX··XXXXXXX3991-person unit created by splitting large household·XXXXXXXX·XXXXX3991-person unit created by splitting large householdXXXXXXXXXX·XXXX3991-person unit created by splitting large household·XXX·XXX····X··3991-person unit created by splitting large householdX·XXXXXXXX·XXX·3991-person unit created by splitting large householdXX·XXX·XXXXXX·X3991-person unit created by splitting large household·········XX··X·3991-person unit created by splitting large household·X··XXXX·······3991-person unit created by splitting large household·XX·XXXXXX·
998UnknownX·XX···········998UnknownX·····X··XXX···998Unknown···X··XXXX·····998Unknown··XX···X·······998Unknown·X·······X··X·X998UnknownX······XXXX···X998Unknown·········XX····998Unknown···············998Unknown·X·X·X··XX·
999NIU (not in universe)XXXXXXXXXXXXXXX999NIU (not in universe)XXXXXXXXXXXXXXX999NIU (not in universe)XXXXXXXXXXXXXXX999NIU (not in universe)XXXXXXXXXXXXXXX999NIU (not in universe)XXXXXXXXXXXXXXX999NIU (not in universe)XXXXXXXXXXXXXXX999NIU (not in universe)XXXXXXXXXXXXXXX999NIU (not in universe)XXXXXXXXXXXXXXX999NIU (not in universe)XXXXXXXXXXX

Explore how IPUMS created this variable

Download


      class Gqtype : public Editor {

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

    long a = getRecoded();
    if (countPeople() < 1) {
      a = 999;
    } else {
      switch (dataSet) {
      case dataset_id::ar1991a: {
        if (AR1991A_0046(0) == 99 && AR1991A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::bo1976a: {
        if (BO1976A_0029(0) <= 17 && BO1976A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::bo1992a: {
        if (BO1992A_0035(0) <= 6 && BO1992A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::bo2001a: {
        if (BO2001A_0045(0) <= 15 && BO2001A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::br2010a: {
        if (BR2010A_0034(0) <= 53 && BR2010A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::cm2005a: {
        if (CM2005A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::cl1982a: {
        if (CL1982A_0057(0) <= 8 && CL1982A_0067(0) == 1)
          a = 399;
      } break;
      case dataset_id::cl1992a: {
        if (CL1992A_0034(0) <= 7 && CL1992A_0072(0) == 2)
          a = 399;
      } break;
      case dataset_id::cl2002a: {
        if (CL2002A_0026(0) <= 8 && CL2002A_0081(0) == 2)
          a = 399;
      } break;
      case dataset_id::cr2000a: {
        if (CR2000A_0025(0) <= 4 && CR2000A_0076(0) == 1)
          a = 399;
      } break;
      case dataset_id::cr2011a: {
        if (CR2011A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::cu2002a: {
        if (CU2002A_0024(0) == 1 && CU2002A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::do2002a: {
        if (DO2002A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::do2010a: {
        if (DO2010A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::ec1974a: {
        if (EC1974A_0017(0) <= 8 && EC1974A_0043(0) == 2)
          a = 399;
      } break;
      case dataset_id::ec1982a: {
        if (EC1982A_0016(0) <= 9 && EC1982A_0043(0) == 1)
          a = 399;
      } break;
      case dataset_id::ec1990a: {
        if (EC1990A_0040(0) <= 8 && EC1990A_0059(0) == 2)
          a = 399;
      } break;
      case dataset_id::ec2001a: {
        if (EC2001A_0044(0) <= 8 && EC2001A_0017(0) == 2)
          a = 399;
      } break;
      case dataset_id::ec2010a: {
        if (EC2010A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::eg2006a: {
        if (EG2006A_0032(0) == 99 && EG2006A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::es2001a: {
        if (ES2001A_0028(0) == 99 && ES2001A_0017(0) == 2)
          a = 399;
      } break;
      case dataset_id::et1984a: {
        if (ET1984A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::et1994a: {
        if (ET1994A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::et2007a: {
        if (ET2007A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::fj1986a: {
        if (FJ1986A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::fj1996a: {
        if (FJ1996A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::fj2007a: {
        if (FJ2007A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::fj2014a: {
        if (FJ2014A_0030() >= 1 && FJ2014A_0030() <= 6 && FJ2014A_0016() == 2)
          a = 399;
      } break;
      case dataset_id::fr2006a: {
        if (FR2006A_0029(0) == 0 && FR2006A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::gh1984a: {
        if (GH1984A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::gh2000a: {
        if (GH2000A_0036(0) == 1 && GH2000A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::gh2010a: {
        if (GH2010A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::gn1983a: {
        if (GN1983A_0047(0) == 1 &&
            (GN1983A_0016(0) == 2 || GN1983A_0021(0) > 0))
          a = 399;
      } break;
      case dataset_id::gt1994a: {
        if (GT1994A_0030() >= 1 && GT1994A_0030() <= 6 && GT1994A_0016() == 2)
          a = 399;
      } break;
      case dataset_id::hn1988a: {
        if (HN1988A_0016(0) == 2 && HN1988A_0031(0) <= 5)
          a = 399;
      } break;
      case dataset_id::hn2001a: {
        if (HN2001A_0016(0) == 2 && HN2001A_0028(0) <= 7)
          a = 399;
      } break;
      case dataset_id::ht1971a: {
        if (HT1971A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::il1972a: {
        if ((IL1972A_0034(0) == 1 || IL1972A_0034(0) == 4) &&
            IL1972A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::il1995a: {
        if (IL1995A_0401(1) == 1)
          a = 999;
        if (IL1995A_0401(1) == 2)
          a = 210;
        if (IL1995A_0401(1) == 3)
          a = 300;
      } break;
      case dataset_id::iq1997a: {
        if (IQ1997A_0058(0) == 0 && IQ1997A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::it2011a: {
        if (IT2011A_0403(1) == 9)
          a = 110;
        if (IT2011A_0403(1) == 7 || IT2011A_0403(1) == 8)
          a = 120;
        if (IT2011A_0403(1) == 3)
          a = 121;
        if (IT2011A_0403(1) == 6)
          a = 130;
        if (IT2011A_0403(1) == 4)
          a = 131;
        if (IT2011A_0403(1) == 2)
          a = 132;
        if (IT2011A_0403(1) == 11)
          a = 150;
        if (IT2011A_0403(1) == 1)
          a = 160;
        if (IT2011A_0403(1) == 10)
          a = 170;
        if (IT2011A_0403(1) == 5)
          a = 210;
        if (IT2011A_0403(1) == 12)
          a = 300;
        if (IT2011A_0016(0) == 2 && IT2011A_0403(1) == 99)
          a = 399;
        if (IT2011A_0403(1) == 99)
          a = 999;
      } break;
      case dataset_id::jm1982a: {
        if (JM1982A_0073(0) == 0 && JM1982A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::jm2001a: {
        if (JM2001A_0101(0) == 0 && JM2001A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::kg1999a: {
        if (KG1999A_0045(0) <= 4 && KG1999A_0016(0) == 1)
          a = 399;
      } break;
      case dataset_id::kh1998a: {
        if (KH1998A_0027(0) == 1 && KH1998A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::kh2008a: {
        if (KH2008A_0027(0) == 1 && KH2008A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::lr2008a: {
        if (LR2008A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::mn2000a: {
        if ((MN2000A_0032(0) <= 2 || MN2000A_0032(0) >= 5) &&
            MN2000A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::my1970a: {
        if (MY1970A_0051(0) <= 12 && MY1970A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::my1980a: {
        if (MY1980A_0072(0) <= 13 && MY1980A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::my1991a: {
        if (MY1991A_0033(0) <= 9 && MY1991A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::mw2008a: {
        if (MW2008A_0027(0) == 1 && MW2008A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::mz1997a: {
        if (MZ1997A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::mz2007a: {
        if (MZ2007A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::ni1995a: {
        if (NI1995A_0027(0) <= 7 && NI1995A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::ni2005a: {
        if (NI2005A_0029(0) <= 7 && NI2005A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::pa1960a: {
        if (PA1960A_0038(0) == 99 && PA1960A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::pa1990a: {
        if (PA1990A_0080(0) <= 5 && PA1990A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::pa2000a: {
        if (PA2000A_0040(0) <= 31 && PA2000A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::pa2010a: {
        if (PA2010A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::pe1993a: {
        if ((PE1993A_0047(0) <= 8 || PE1993A_0047(0) == 16) &&
            PE1993A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::pe2007a: {
        if (PE2007A_0036(0) <= 8 && PE2007A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::ph1995a: {
        if (PH1995A_0035(0) == 10 && PH1995A_0018(0) == 2)
          a = 399;
      } break;
      case dataset_id::py1972a: {
        if (PY1972A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::py1982a: {
        if (PY1982A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::py1992a: {
        if (PY1992A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::py2002a: {
        if (PY2002A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::rw1991a: {
        if (RW1991A_0039(0) != 0 && RW1991A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::rw2002a: {
        if (RW2002A_0037(0) == 100 && RW2002A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::sv1992a: {
        if (SV1992A_0036(0) <= 8 && SV1992A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::sv2007a: {
        if (SV2007A_0038(0) <= 9 && SV2007A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::tg2010a: {
        if (TG2010A_0044() == 1 && TG2010A_0016() == 2)
          a = 399;
      } break;
      case dataset_id::th1970a: {
        if (TH1970A_0040(0) == 1 && TH1970A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::th1980a: {
        if (TH1980A_0038(0) == 1 && TH1980A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::th1990a: {
        if (TH1990A_0042(0) <= 11 && TH1990A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::th2000a: {
        if (TH2000A_0027(0) == 1 && TH2000A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::ua2001a: {
        if (UA2001A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::ug2002a: {
        if (UG2002A_0124(0) == 1 && UG2002A_0017(0) == 2)
          a = 399;
      } break;
      case dataset_id::uy1963a: {
        if (UY1963A_0042(0) <= 19 && UY1963A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::uy1975a: {
        if (UY1975A_0043(0) <= 25 && UY1975A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::uy1985a: {
        if (UY1985A_0038(0) == 0 && UY1985A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::uy1996a: {
        if (UY1996A_0027(0) <= 6 && UY1996A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::uy2011a: {
        if (UY2011A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::uy1963x: {
        if (UY1963X_0042(0) <= 19 && UY1963X_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::uy1975x: {
        if (UY1975X_0043(0) <= 25 && UY1975X_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::uy1985x: {
        if (UY1985X_0038(0) == 0 && UY1985X_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::uy1996x: {
        if (UY1996X_0027(0) <= 6 && UY1996X_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::uy2011x: {
        if (UY2011X_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::ve1990a: {
        if (VE1990A_0039(0) <= 8 && VE1990A_0065(0) == 2)
          a = 399;
      } break;
      case dataset_id::ve2001a: {
        if (VE2001A_0038(0) <= 9 && VE2001A_0038(0) != 8 &&
            VE2001A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::za2001a: {
        if (ZA2001A_0020(0) <= 10 && ZA2001A_0073(0) == 2)
          a = 399;
      } break;
      case dataset_id::zm1990a: {
        if (ZM1990A_0052(0) == 6 && ZM1990A_0033(0) >= 4)
          a = 299;
        if (ZM1990A_0052(0) == 7 && ZM1990A_0033(0) >= 4)
          a = 199;
        if (ZM1990A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::zm2000a: {
        if (ZM2000A_0039(0) == 8 && ZM2000A_0032(0) == 9)
          a = 300;
        if (ZM2000A_0016(0) == 2)
          a = 399;
      } break;
      case dataset_id::bo2012a: {
        if (BO2012A_0034(0) >= 1 && BO2012A_0034(0) <= 5 &&
            BO2012A_0020(0) == 2)
          a = 399;
      } break;
      case dataset_id::cu2012a: {
        if (CU2012A_0030(0) == 1 && CU2012A_0018(0) == 2)
          a = 399;
      } break;
      case dataset_id::mu1990a: {
        if (MU1990A_0032(0) >= 1 && MU1990A_0032(0) <= 2 &&
            MU1990A_0017(0) == 2)
          a = 399;
      } break;
      case dataset_id::mu2000a: {
        if (MU2000A_0034(0) >= 1 && MU2000A_0034(0) <= 2 &&
            MU2000A_0020(0) == 2)
          a = 399;
      } break;
      case dataset_id::mu2011a: {
        if (MU2011A_0029(0) >= 1 && MU2011A_0029(0) <= 2 &&
            MU2011A_0020(0) == 2)
          a = 399;
      } break;
        if (GQ() >= 0 && GQ() <= 10)
          a = 999;
      }
    }

    setData(a);
  }
};