Data Cart

Your data extract

0 variables
0 samples
View Cart
INCSELF
Self-employment income

INCSELF is a 6-digit numeric variable.

Codes

999998 = Unknown/missing.
999999 = NIU (not in universe).

Country-specific codes
Israel 1995

Top codes:

Canada 1971: 50,000+ females in Atlantic region; 75,000+ for others
Canada 1981: 75,000+ all females, males in Atlantic region; 100,000+ males other regions
Canada 1991-2001: 200,000+
Israel 1995: 40,000+
Israel 2008: 279,950+
Panama 2000: 9,997+
Panama 2010: 5,000+
Puerto Rico 1980: 50,000
Puerto Rico 1990: 64,146
Puerto Rico 2000: 367,000 (median of values over 126,000)
Puerto Rico 2005 - 2020: 99.5th percentile in each state
Trinidad and Tobago 2000: 11,000+
U.S.A. 1970: 50,000
U.S.A. 1980: 75,000
U.S.A. 1990: 171,250
U.S.A. 2000: 126,000 (State median of values over 126,000)
U.S.A. 2005 - 2020: 99.5th percentile in each state

Bottom codes:

Canada 1981-2001: -50,000
Puerto Rico 1970: 0.
Puerto Rico 1980: -9,995
Puerto Rico 1990: -4,999
Puerto Rico 2000: -10,000
Puerto Rico 2005 - 2020: -9,999
U.S.A. 1970: -9,900
U.S.A. 1980: -9,995
U.S.A. 1990: -9,999
U.S.A. 2000: -10,000
U.S.A. 2005 - 2020: -9,999

Explore how IPUMS created this variable

Download


      class Incself : public Editor {

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

    long a = getRecoded();
    switch (dataSet) {
    case dataset_id::pa1990a: {
      a = PA1990A_0406() + PA1990A_0433();
      if (PA1990A_0406() == 99998 || PA1990A_0433() == 99998)
        a = 999998;
      if (PA1990A_0406() == 99999 || PA1990A_0433() == 99999)
        a = 999999;
    } break;
    case dataset_id::pr1970a: {
      a = PR1970A_0443() + PR1970A_0444();
      if (PR1970A_0443() == 99999)
        a = 999999;
    } break;
    case dataset_id::pr1980a: {
      a = PR1980A_0453() + PR1980A_0454();
      if (a > 50000)
        a = 50000;
      if (PR1980A_0453() == 999999)
        a = 999999;
    } break;
    case dataset_id::pr1990a: {
      a = PR1990A_0450() + PR1990A_0451();
      if (a > 64146)
        a = 64146;
      if (PR1990A_0450() == 999999)
        a = 999999;
    } break;
    case dataset_id::us1970a: {
      a = US1970A_0465() + US1970A_0466();
      if (a < -9900)
        a = -9900;
      if (a > 50000)
        a = 50000;
      if (US1970A_0465() == 999999)
        a = 999999;
    } break;
    case dataset_id::us1980a: {
      a = US1980A_0473() + US1980A_0474();
      if (a < -9995)
        a = -9995;
      if (a > 75000)
        a = 75000;
      if (US1980A_0473() == 999999)
        a = 999999;
    } break;
    case dataset_id::us1990a: {
      a = US1990A_0471() + US1990A_0472();
      if (a < -9999)
        a = -9999;
      if (a > 171250)
        a = 171250;
      if (US1990A_0471() == 999999)
        a = 999999;
    } break;
    case dataset_id::mx2005h:
    case dataset_id::mx2005i:
    case dataset_id::mx2005j:
    case dataset_id::mx2005k:
    case dataset_id::mx2006h:
    case dataset_id::mx2006i:
    case dataset_id::mx2006j:
    case dataset_id::mx2006k:
    case dataset_id::mx2007h:
    case dataset_id::mx2007i:
    case dataset_id::mx2007j:
    case dataset_id::mx2007k:
    case dataset_id::mx2008h:
    case dataset_id::mx2008i:
    case dataset_id::mx2008j:
    case dataset_id::mx2008k:
    case dataset_id::mx2009h:
    case dataset_id::mx2009i:
    case dataset_id::mx2009j:
    case dataset_id::mx2009k:
    case dataset_id::mx2010h:
    case dataset_id::mx2010i:
    case dataset_id::mx2010j:
    case dataset_id::mx2010k:
    case dataset_id::mx2011h:
    case dataset_id::mx2011i:
    case dataset_id::mx2011j:
    case dataset_id::mx2011k:
    case dataset_id::mx2012h:
    case dataset_id::mx2012i:
    case dataset_id::mx2012j:
    case dataset_id::mx2012k:
    case dataset_id::mx2013h:
    case dataset_id::mx2013i:
    case dataset_id::mx2013j:
    case dataset_id::mx2013k:
    case dataset_id::mx2014h:
    case dataset_id::mx2014i:
    case dataset_id::mx2014j:
    case dataset_id::mx2014k:
    case dataset_id::mx2015h:
    case dataset_id::mx2015i:
    case dataset_id::mx2015j:
    case dataset_id::mx2015k:
    case dataset_id::mx2016h:
    case dataset_id::mx2016i:
    case dataset_id::mx2016j:
    case dataset_id::mx2016k:
    case dataset_id::mx2017h:
    case dataset_id::mx2017i:
    case dataset_id::mx2017j:
    case dataset_id::mx2017k:
    case dataset_id::mx2018h:
    case dataset_id::mx2018i:
    case dataset_id::mx2018j:
    case dataset_id::mx2018k:
    case dataset_id::mx2019h:
    case dataset_id::mx2019i:
    case dataset_id::mx2019j:
    case dataset_id::mx2019k:
    case dataset_id::mx2020h:
    case dataset_id::mx2020j: {
      if (CLASSWK() < 100 || CLASSWK() >= 200)
        a = 999999;
    } break;
    }

    setData(a);
  }
};