Codes and Frequencies
Explore how IPUMS created this variable
class Ethnicsn : public Editor {
public:
Ethnicsn(VarPointer varInfo) : Editor(varInfo) {}
void edit() {
long a = getRecoded();
switch (dataSet) {
case dataset_id::sn2013a: {
if (SN2013A_0439() == 99 && SN2013A_0414() == 3)
a = 999;
} break;
}
setData(a);
}
};
Description
ETHNICSN indicates the person's ethnic group for native Senegalese, or whether the person is a foreigner in the Senegal samples.
Universe
- All persons
Availability
- Senegal: 1988, 2002, 2013