As requested by @LN , I'm opening a new thread following this one: Access to ODK Collect from XML data from other Android applications - #9 by LN
The problem
It is using ODK to solve a classic issue of Listing applications (usually used by among others, DHS, MICS, etc surveys). Listing are usually used to built sampling database. It consists in a multiple levels data collection, but a very simple application.
a) Cluster/First level (spatial unit);
b) Building/Second level;
c) Household/Third level; (statistical unit)
d) Individuals/Fourth level (statistical unit)
And because the listing database will be used to randomly select household and individuals, it require to have unique sequential number for all statistical and spatial unit.
Explanations
How/when are concessions and households identified?
a) Concession is the french (some african countries) name for building. They are self identified in the field (so called apartment building in North America);
b) Household are defined as is in statistical/survey methodology;
Does a single person do all work related to a single concession? A single household? Are all households in one concession identified/visited sequentially?
With CSPro, not necessarily since any enumerator can sync data with another one's. Supervisor can also re-assign tasks to any enumerator etc. CSPro logic offer almost unlimited flexibility in data synchronization and sharing between teams, automatic multi server synchronization etc. However, I would stay only on scenarios that ODK can offer.
I'm trying to understand whether or not repeats are appropriate in this context.
In CSPro, I designed such apps as:
a) A case (questionnaire)for one cluster;
b) A roster (or matrix) for a building (or Concession) record;
c) A roster (or matrix) for household record;
Sometimes the number of building (or Concession) is know before the fieldwork because of recent mapping. But, the number of household in a specific building (or Concession) is only know during the Listing fieldwork.
For the sampling purpose, all the numbers (Concession (or Building), household and individuals must be unique. This is what I helped to solve with CSPro Logic and/or SQL https://forum.getodk.org/uploads/short-url/s62lpSjmpbywpoUAVU9evNimUx6.pdf
If you need more explanations, please let me know.
Thanks in advance for your incredible support!