We are preparing a household survey using ODK. The survey has the
following structure:
RESPONDENT 1
1 - Intro material
2 - Roster of HH members and their characteristics
3 - General questions
RESPONDENT 2 (immediately after respondent 1 in the field, if available)
1 - Verify some key variables for each HH member listed in the roster
Our team is having difficulty with the following:
A - Pulling names and occupations from the roster provided by respondent 1,
to include them in respondent 2 questions. After exiting the roster they
can't figure out how to query it. (Switching the order of the modules
won't work because of the content.)
B - Total income check: we want to add up the personal incomes mentioned
for each individual and check that the household income mentioned is equal
or greater than the total of all personal incomes. Again the team can't
figure out how to query data from the roster after exiting it.
Can anyone provide insight about either of these, or examples?
You will likely find that you need to limit the number of HH members that
the form handles.
Search for threads on opendatakit@ that discuss the indexed-repeat(...)
function. That can be used to pick values out of an earlier repeat group.
···
On Mon, Sep 7, 2015 at 10:25 AM, Kate Vyborny wrote:
Hello,
We are preparing a household survey using ODK. The survey has the
following structure:
RESPONDENT 1
1 - Intro material
2 - Roster of HH members and their characteristics
3 - General questions
RESPONDENT 2 (immediately after respondent 1 in the field, if available)
1 - Verify some key variables for each HH member listed in the roster
Our team is having difficulty with the following:
A - Pulling names and occupations from the roster provided by respondent
1, to include them in respondent 2 questions. After exiting the roster
they can't figure out how to query it. (Switching the order of the modules
won't work because of the content.)
B - Total income check: we want to add up the personal incomes mentioned
for each individual and check that the household income mentioned is equal
or greater than the total of all personal incomes. Again the team can't
figure out how to query data from the roster after exiting it.
Can anyone provide insight about either of these, or examples?
We are preparing a household survey using ODK. The survey has the
following structure:
RESPONDENT 1
1 - Intro material
2 - Roster of HH members and their characteristics
3 - General questions
RESPONDENT 2 (immediately after respondent 1 in the field, if available)
1 - Verify some key variables for each HH member listed in the roster
Our team is having difficulty with the following:
A - Pulling names and occupations from the roster provided by respondent
1, to include them in respondent 2 questions. After exiting the roster
they can't figure out how to query it. (Switching the order of the modules
won't work because of the content.)
B - Total income check: we want to add up the personal incomes mentioned
for each individual and check that the household income mentioned is equal
or greater than the total of all personal incomes. Again the team can't
figure out how to query data from the roster after exiting it.
Can anyone provide insight about either of these, or examples?