Codes and Frequencies
Explore how IPUMS created this variable
class Langec1 : public Editor {
public:
Langec1(VarPointer varInfo) : Editor(varInfo) {}
void edit() {
long a = getRecoded();
switch (dataSet) {
case dataset_id::ec2010a: {
if (EC2010A_0442() == 2 && EC2010A_0444() == 1 && EC2010A_0445() == 2)
a = 1;
if (EC2010A_0442() == 1 && EC2010A_0444() == 2 && EC2010A_0445() == 2)
a = 2;
if (EC2010A_0442() == 2 && EC2010A_0444() == 2 && EC2010A_0445() == 1)
a = 3;
if (EC2010A_0442() == 1 && EC2010A_0444() == 1)
a = 4;
if (EC2010A_0442() == 2 && EC2010A_0444() == 1 && EC2010A_0445() == 1)
a = 5;
if (EC2010A_0442() == 1 && EC2010A_0444() == 2 && EC2010A_0445() == 1)
a = 6;
if (EC2010A_0446() == 1)
a = 9;
} break;
}
setData(a);
}
};
Description
LANGEC1 indicates the major language, language group, or combination of languages spoken by the respondent.
Comparability — General
In 2001, the universe consists of people age 1+, while in 2010, the universe consists of people who speak a language, regardless of age, although most persons in the NIU category are age 0 or 1.
For the 2010 sample, people who spoke Spanish, a native language and a foreign language were explicitly categorized as speaking "Spanish and a native language." The 2001 census documentation is unclear as to how people who spoke all three language types were categorized, but it is likely that they were coded as "Spanish and a native language."
Universe
- Ecuador 2001: Persons age 1+
- Ecuador 2010: Persons who speak a language
Availability
- Ecuador: 2001, 2010